Remove unnecessary information (#34039)

Fixes #34038
pull/34040/head
Luke Latham 2024-11-06 09:57:19 -05:00 committed by GitHub
parent ccb597e135
commit 62925c6dce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 16 deletions

View File

@ -16,22 +16,6 @@ This article explains how to download files in Blazor apps.
## File downloads
Files can be downloaded from the app's own static assets or from any other location:
:::moniker range=">= aspnetcore-9.0"
* ASP.NET Core apps use Map Static Assets routing endpoint conventions or Static File Middleware to serve files to clients of server-side apps. For more information, see <xref:blazor/fundamentals/static-files>.
* The guidance in this article also applies to other types of file servers that don't use .NET, such as Content Delivery Networks (CDNs).
:::moniker-end
:::moniker range="< aspnetcore-9.0"
* ASP.NET Core apps use [Static File Middleware](xref:blazor/fundamentals/static-files) to serve files to clients of server-side apps.
* The guidance in this article also applies to other types of file servers that don't use .NET, such as Content Delivery Networks (CDNs).
:::moniker-end
This article covers approaches for the following scenarios, where a file shouldn't be opened by a browser but downloaded and saved on the client:
* [Stream file content to a raw binary data buffer on the client](#download-from-a-stream): Typically, this approach is used for relatively small files (\< 250 MB).
@ -265,6 +249,7 @@ For more information on CORS with ASP.NET Core apps and other Microsoft products
## Additional resources
* <xref:blazor/fundamentals/static-files>
* <xref:blazor/js-interop/index>
* <xref:blazor/js-interop/javascript-location>
* <xref:blazor/js-interop/ssr>