From 7c823f7e80f205103d140a2bb1508840f82f84f5 Mon Sep 17 00:00:00 2001 From: "Athiswaran-SF3980 (Athiswaran-SF3980)" Date: Mon, 16 Jun 2025 08:41:18 +0530 Subject: [PATCH] 937492: Remove net6 and net7 reference in UG --- blazor/common/adding-script-references.md | 3 +- blazor/common/cdn-fallback.md | 30 ++----------------- blazor/common/content-security-policy.md | 5 +--- blazor/common/custom-resource-generator.md | 5 +--- .../common/data-binding/dapper-databinding.md | 2 +- blazor/common/right-to-left.md | 6 ++-- .../blazor-server-side-dotnet-cli.md | 2 +- .../blazor-webassembly-dotnet-cli.md | 2 +- 8 files changed, 11 insertions(+), 44 deletions(-) diff --git a/blazor/common/adding-script-references.md b/blazor/common/adding-script-references.md index 05af151861..2efa90be66 100644 --- a/blazor/common/adding-script-references.md +++ b/blazor/common/adding-script-references.md @@ -18,8 +18,7 @@ N> The javascript interop files needs to be added to support the features that c You can refer the Syncfusion® Blazor scripts through the CDN resources. * For **Blazor Web App**, reference scripts in `~/Components/App.razor` file. -* For **Blazor WASM App**, reference scripts in `~/wwwroot/index.html` file. -* For **Blazor Server App**, reference scripts in `~/Pages/_Layout.cshtml` file for `.NET 6` project and in `~/Pages/_Host.cshtml` file for `.NET 7` project. +* For **Blazor WASM Standalone App**, reference scripts in `~/wwwroot/index.html` file. Syncfusion® Blazor components are available in CDN for each version. Make sure that the version in the URLs matches the version of the Syncfusion® Blazor Package you are using . diff --git a/blazor/common/cdn-fallback.md b/blazor/common/cdn-fallback.md index a80dd2407e..3ba6311f3c 100644 --- a/blazor/common/cdn-fallback.md +++ b/blazor/common/cdn-fallback.md @@ -56,35 +56,9 @@ You can refer the theme stylesheet inside the `` of **~/Components/App.raz {% endhighlight %} {% endtabs %} -## Blazor Server App +## Blazor WebAssembly Standalone App -CDN links can be down by connection issues or some other problems. This will cause the site looks broken. Follow the below steps to resolve these issues in the Blazor application. - -If you are using CDN for style sheet references then you have to add style sheet fallback from [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets) by using the [link tag helper](https://learn.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/built-in/link-tag-helper?view=aspnetcore-7.0). Syncfusion® theme provides the `e-control` class. You can check the style from provided class by using link tag helper property. - -* **~/Pages/_Host.cshtml** file for **.NET 7**. -* **~/Pages/_Layout.cshtml** for **.NET 6**. - -{% tabs %} -{% highlight cshtml %} - - - ... - - - -{% endhighlight %} -{% endtabs %} - -N> Alternately, fallback links can be provided using [script fallback](#script-fallback) and [style sheet fallback](#style-sheet-fallback) in blazor server app. - -## Blazor WebAssembly App - -For Blazor WebAssembly app, refer the script and style sheet fallback from [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets) inside the Script tag like below. +For Blazor WebAssembly Standalone app, refer the script and style sheet fallback from [Static Web Assets](https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets) inside the Script tag like below. ### Script fallback diff --git a/blazor/common/content-security-policy.md b/blazor/common/content-security-policy.md index 15c765792b..ff2dfa1027 100644 --- a/blazor/common/content-security-policy.md +++ b/blazor/common/content-security-policy.md @@ -22,10 +22,7 @@ To use Syncfusion® blazor components with s These directives should be included in the `` tag of the application's webpage, typically -* For **Blazor Web App**, inside the `` of **~/Components/App.razor** file. -* For **Blazor Server application**, inside the `` of - * **~/Pages/_Host.cshtml** file for .NET 7. - * **~/Pages/_Layout.cshtml** for .NET 6. +* For .NET 8 and.NET 9 **Blazor Web App** using any render mode (Server, WebAssembly, or Auto), inside the `` of **~/Components/App.razor** file. * For **Blazor WebAssembly App**, inside the `` of **wwwroot/index.html** file. {% tabs %} diff --git a/blazor/common/custom-resource-generator.md b/blazor/common/custom-resource-generator.md index 1e49c19d2a..67831de575 100644 --- a/blazor/common/custom-resource-generator.md +++ b/blazor/common/custom-resource-generator.md @@ -47,11 +47,8 @@ N> When you download the resources of Material and Tailwind themes, either separ 1. Copy and paste the downloaded custom resources in the Blazor application `~/wwwroot` folder. 2. Now, manually add the custom interop script and styles in the Blazor App. - * For **Blazor Web App**, reference custom interop script in `~/Components/App.razor` file. + * For .NET 8 and.NET 9 **Blazor Web App** using any render mode (Server, WebAssembly, or Auto), reference custom interop script in `~/Components/App.razor` file. * For **Blazor WASM App**, reference custom interop script in `~/wwwroot/index.html` file. - * For **Blazor Server App**, reference custom interop script in - * `~/Pages/_Layout.cshtml` file for `.NET 6` project - * `~/Pages/_Host.cshtml` file for `.NET 7` project. ```html diff --git a/blazor/common/data-binding/dapper-databinding.md b/blazor/common/data-binding/dapper-databinding.md index 6c05126c7d..676def0f7a 100644 --- a/blazor/common/data-binding/dapper-databinding.md +++ b/blazor/common/data-binding/dapper-databinding.md @@ -220,7 +220,7 @@ builder.Services.AddSyncfusionBlazor(); Syncfusion® Blazor provides different themes. They are: -* Bootstrap4 +* Bootstrap5 * Material * Fabric * Bootstrap diff --git a/blazor/common/right-to-left.md b/blazor/common/right-to-left.md index 4ab40accd7..4d8e33503c 100644 --- a/blazor/common/right-to-left.md +++ b/blazor/common/right-to-left.md @@ -34,11 +34,11 @@ builder.Services.AddSyncfusionBlazor(options => { options.EnableRtl = true; }); ### Blazor Server App -* For `.NET 6 or .NET 7` Blazor Server App, set [EnableRtl](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.GlobalOptions.html#Syncfusion_Blazor_GlobalOptions_EnableRtl) property as `true` using `AddSyncfusionBlazor` service method in `~/Program.cs` file. +* For `.NET 8 or .NET 9` Blazor Web App, set [EnableRtl](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.GlobalOptions.html#Syncfusion_Blazor_GlobalOptions_EnableRtl) property as `true` using `AddSyncfusionBlazor` service method in `~/Program.cs` file. {% tabs %} -{% highlight c# tabtitle=".NET 6 & .NET 7 (~/Program.cs)" %} +{% highlight c# tabtitle=".NET 8 & .NET 9 (~/Program.cs)" %} using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; @@ -63,7 +63,7 @@ If you're using Blazor WebAssembly App, set [EnableRtl](https://help.syncfusion. {% tabs %} -{% highlight c# tabtitle=".NET 6 & .NET 7 (~/Program.cs)" %} +{% highlight c# tabtitle=".NET 8 & .NET 9 (~/Program.cs)" %} using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; diff --git a/blazor/getting-started/blazor-server-side-dotnet-cli.md b/blazor/getting-started/blazor-server-side-dotnet-cli.md index da1b3e3596..113b836c6a 100644 --- a/blazor/getting-started/blazor-server-side-dotnet-cli.md +++ b/blazor/getting-started/blazor-server-side-dotnet-cli.md @@ -38,7 +38,7 @@ cd BlazorApp This command creates new Blazor app project and places it in a new directory called `BlazorApp` inside your current location. See [Create Blazor app topic](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new) topics for more details. -N> If you have installed multiple SDK versions and need any specific framework version (net6.0/net7.0) project, then add `-f` flag along with `dotnet new blazorserver` comment. Refer [here](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new) for the available options. +N> If you have installed multiple SDK versions and need any specific framework version (net8.0/net9.0) project, then add `-f` flag along with `dotnet new blazorserver` comment. Refer [here](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new) for the available options. ## Install Syncfusion® Blazor Calendars and Themes NuGet in the App diff --git a/blazor/getting-started/blazor-webassembly-dotnet-cli.md b/blazor/getting-started/blazor-webassembly-dotnet-cli.md index bab99b058b..461662ec58 100644 --- a/blazor/getting-started/blazor-webassembly-dotnet-cli.md +++ b/blazor/getting-started/blazor-webassembly-dotnet-cli.md @@ -48,7 +48,7 @@ dotnet new blazorwasm -o BlazorApp -ho This command creates new Blazor WebAssembly app project and places it in a new directory called `BlazorApp` inside your current location. See [Create Blazor app topic](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new) topics for more details. -N> If you have installed multiple SDK versions and need any specific framework version (net6.0/net7.0) project, then add `-f` flag along with `dotnet new blazorwasm` comment. Refer [here](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new#blazorwasm) for the available options. +N> If you have installed multiple SDK versions and need any specific framework version (net8.0/net9.0) project, then add `-f` flag along with `dotnet new blazorwasm` comment. Refer [here](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new#blazorwasm) for the available options. ## Install Syncfusion® Blazor Calendars and Themes NuGet in the App