From d5a1b694fa2f403fc5d20907032c63f493390c7b Mon Sep 17 00:00:00 2001 From: Srisabari Venkatesan Date: Thu, 21 May 2026 13:23:20 +0530 Subject: [PATCH 1/4] 1027606: Updated the notes for open and save. --- Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md b/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md index 7b6b329af3..791bcbbe24 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md @@ -25,6 +25,8 @@ To open an Excel document using the interface, select the **File > Open** option ### Open an Excel file from a local path To load Excel files programmatically, they can be converted into byte arrays. This approach is particularly effective when files are retrieved from a backend service. +N> Due to WebAssembly (WASM) browser restrictions, `File.ReadAllBytes` is not supported in client-side Blazor applications. In such cases, use Base64-encoded Excel files, which are decoded at runtime to load data without direct file system access. + {% tabs %} {% highlight razor tabtitle="Index.razor" %} From 599250328a94430aa5874c262be06dd6ea506f7c Mon Sep 17 00:00:00 2001 From: Srisabari Venkatesan Date: Thu, 21 May 2026 13:32:18 +0530 Subject: [PATCH 2/4] 1027606: Updated the open and save --- Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md b/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md index 791bcbbe24..42f444064e 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md @@ -25,7 +25,7 @@ To open an Excel document using the interface, select the **File > Open** option ### Open an Excel file from a local path To load Excel files programmatically, they can be converted into byte arrays. This approach is particularly effective when files are retrieved from a backend service. -N> Due to WebAssembly (WASM) browser restrictions, `File.ReadAllBytes` is not supported in client-side Blazor applications. In such cases, use Base64-encoded Excel files, which are decoded at runtime to load data without direct file system access. +N> Due to WebAssembly (WASM) browser restrictions, `File.ReadAllBytes` is not supported in client-side Blazor applications. In such cases, use [Base64-encoded Excel files](#open-an-excel-file-from-a-base64-string), which are decoded at runtime to load data without direct file system access. {% tabs %} {% highlight razor tabtitle="Index.razor" %} From 1e1efb855944836bb84c6db872f4cb2a6c94e254 Mon Sep 17 00:00:00 2001 From: Srisabari Venkatesan Date: Thu, 21 May 2026 15:53:15 +0530 Subject: [PATCH 3/4] 1027606: Updated the open and save --- Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md b/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md index 42f444064e..75b8f70d4f 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md @@ -25,7 +25,7 @@ To open an Excel document using the interface, select the **File > Open** option ### Open an Excel file from a local path To load Excel files programmatically, they can be converted into byte arrays. This approach is particularly effective when files are retrieved from a backend service. -N> Due to WebAssembly (WASM) browser restrictions, `File.ReadAllBytes` is not supported in client-side Blazor applications. In such cases, use [Base64-encoded Excel files](#open-an-excel-file-from-a-base64-string), which are decoded at runtime to load data without direct file system access. +N> For Blazor WASM, `File.ReadAllBytes` is not supported due to browser security restrictions. Instead, use [Base64-encoded Excel files](#open-an-excel-file-from-a-base64-string). {% tabs %} {% highlight razor tabtitle="Index.razor" %} From 002305fe64c7d1baac5e82040ee9924214eaf37f Mon Sep 17 00:00:00 2001 From: Srisabari Venkatesan Date: Thu, 21 May 2026 16:02:14 +0530 Subject: [PATCH 4/4] 1027606: Updated the open and save --- Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md b/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md index 75b8f70d4f..f6f6d1fc9b 100644 --- a/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md +++ b/Document-Processing/Excel/Spreadsheet/Blazor/open-and-save.md @@ -25,7 +25,7 @@ To open an Excel document using the interface, select the **File > Open** option ### Open an Excel file from a local path To load Excel files programmatically, they can be converted into byte arrays. This approach is particularly effective when files are retrieved from a backend service. -N> For Blazor WASM, `File.ReadAllBytes` is not supported due to browser security restrictions. Instead, use [Base64-encoded Excel files](#open-an-excel-file-from-a-base64-string). +N> In Blazor WebAssembly, File.ReadAllBytes is not supported due to browser security limitations. To work with Excel files, use a [Base64-encoded Excel files](#open-an-excel-file-from-a-base64-string) instead. {% tabs %} {% highlight razor tabtitle="Index.razor" %}