Skip to content

Commit 4b8bfb2

Browse files
983104: Updated
1 parent 62352a5 commit 4b8bfb2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

blazor/file-upload/chunk-upload.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ To modify chunk upload behavior, the following options can be used.
196196

197197
The following sample sets the chunk upload delay to 3000 milliseconds and the retry count to 5. The failure event triggers because an incorrect saveUrl is used.
198198

199-
`SaveUrl` and `RemoveUrl` actions are explained in this [link](./chunk-upload/#save-and-remove-action-for-blazor-aspnet-core-hosted-application).
200-
201199
```cshtml
202200
@using Syncfusion.Blazor.Inputs
203201
@@ -213,8 +211,6 @@ Chunk upload allows resuming an interrupted upload after a network failure or a
213211

214212
N> The pause and resume features are available only when chunk upload is enabled.
215213

216-
`SaveUrl` and `RemoveUrl` actions are explained in this [link](./chunk-upload/#save-and-remove-action-for-blazor-aspnet-core-hosted-application).
217-
218214
```cshtml
219215
@using Syncfusion.Blazor.Inputs
220216

blazor/file-upload/http-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The File Upload component supports configuring a custom HTTP pipeline for its ne
1414
The following example illustrates how to configure the File Upload component to use a specific HttpClient instance for SaveUrl and RemoveUrl requests in a Blazor application. This approach applies to Blazor Server and Blazor Web App (Server/Auto). In Blazor WebAssembly, an HttpClient is available by default; register headers either via DI (for a scoped client) or on a per-request basis.
1515

1616
N> - Ensure the API configured in SaveUrl/RemoveUrl permits cross-origin requests if it runs on a different domain (CORS).
17-
- Prefer standard Authorization headers (for example, Bearer tokens) and avoid hardcoding secrets.
17+
- Prefer standard Authorization headers (for example, Bearer tokens) and avoid hard coding secrets.
1818
- Consider IHttpClientFactory or named clients for production scenarios to manage handlers, retries, and resilience.
1919
- To append additional form data for each file (for example, metadata), use Uploader events such as Uploading/BeforeUpload; headers should be used for auth and routing concerns.
2020
- Handle failures using Uploader events (for example, OnFailure/Success) to surface authorization or validation errors returned by the API.

0 commit comments

Comments
 (0)