Upgrade Application To Latest Version in Blazor DataGrid Component
15 Dec 20221 minute to read
Step 1: Update the latest Syncfusion Blazor NuGet from NuGet package manager in your application.
Compatible .NET version
Syncfusion Blazor components in the latest version '{:nuget-version:}'
are compatible with the latest version of .NET Core 3.1. So, we suggest you to upgrade the .NET Core 3.1 SDK in your machine before upgrading to the latest version.
Client resource file references
Ensure our CSS files have been properly configured in your application.
-
If you use the Blazor server app, add the following style file references in ~/Pages/_Host.cshtml.
-
If you use the Blazor WebAssembly app, add the following style file references in ~/wwwroot/index.html.
<link href="_content/Syncfusion.Blazor/styles/bootstrap4.css" rel="stylesheet" />
NOTE
For production purpose and minimal requirement, Syncfusion provides an option to generate scripts and styles of selective control by using the Custom Resource Generator (CRG) web tool. Refer to this link for more details on CRG.
Breaking changes
Some changes have been modified in our Blazor samples for each release. So, we suggest you to ensure the breaking changes. Refer to this release notes for our Blazor components.
Cache problem
Before restoring the NuGet packages, clean the old version Syncfusion.Blazor NuGet package.
The following steps explain how to clean the cache:
-
Delete/clear the package Syncfusion.Blazor from the installed location
{System-driver}/Users/{user-name}/.nuget/packages/syncfusion.blazor
. In Windows, the installed location of Syncfusion.Blazor package can be found using%userprofile%/.nuget/packages/syncfusion.blazor
. -
Update the latest version of Syncfusion.Blazor NuGet package.