Syncfusion Blazor conversion is a Visual Studio add-in that converts the existing Blazor application to the Syncfusion Blazor application.
The following steps help you to convert the Blazor application to the Syncfusion Blazor application via the Visual Studio 2019:
Before use the Syncfusion Blazor Project Conversion, check whether the Syncfusion Blazor Template Studio Extension installed or not in Visual Studio Extension Manager by clicking on the Extensions -> Manage Extensions -> Installed.
To open the Syncfusion Project Conversion Wizard, either follow one of the options below:
Option 1:
Choose Extensions -> Syncfusion -> Essential Studio for Blazor -> Convert Project… in the Visual Studio 2019 menu.
Option 2:
Right-click the application from the Solution Explorer and select the Syncfusion Blazor and choose the Convert to Syncfusion Blazor application…
The versions are loaded from the Syncfusion Blazor NuGet packages published in
NuGet.org
and it requires internet connectivity.
The selected version of the Syncfusion NuGet packages is added to the application dependencies.
Syncfusion Blazor NuGet packages | Application type |
---|---|
Syncfusion.Blazor |
Syncfusion Blazor Server App Syncfusion Blazor WebAssembly App Syncfusion Blazor WebAssembly App (ASPNET Core hosted) Syncfusion Blazor WebAssembly App (Progressive Web Application) Syncfusion Blazor WebAssembly App (ASPNET Core hosted and Progressive Web Application) |
Syncfusion.Blazor.PdfViewerServer.Windows |
Syncfusion Blazor Server App |
Syncfusion.Blazor.WordProcessor |
Syncfusion Blazor Server App Syncfusion Blazor WebAssembly App Syncfusion Blazor WebAssembly App (ASPNET Core hosted) Syncfusion Blazor WebAssembly App (Progressive Web Application) Syncfusion Blazor WebAssembly App (ASPNET Core hosted and Progressive Web Application) |
The NuGet packages added to the project file as follows.
Added the selected version of the Syncfusion CDN link to the host.cshtml or index.html file.
Application type | File location |
---|---|
Syncfusion Blazor Server App | {Project location}\Pages\_Host.cshtml |
Syncfusion Blazor WebAssembly App (ASPNET Core hosted) Syncfusion Blazor WebAssembly App (ASPNET Core hosted and Progressive Web Application) |
{Client Project location}\wwwroot\index.html |
Syncfusion Blazor WebAssembly App Syncfusion Blazor WebAssembly App (Progressive Web Application) |
{Project location}\wwwroot\index.html |