Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (149).NET Core  (24)Angular  (42)ASP.NET  (48)ASP.NET Core  (56)ASP.NET MVC  (84)Azure  (28)Blazor  (68)DocIO  (18)Essential JS 2  (67)Essential Studio  (161)Flutter  (76)JavaScript  (139)Microsoft  (101)PDF  (54)React  (30)Succinctly series  (120)Syncfusion  (457)TypeScript  (30)Uno Platform  (2)UWP  (4)Vue  (26)Webinar  (16)Windows Forms  (54)WPF  (105)Xamarin  (116)XlsIO  (22)Other CategoriesBarcode  (4)BI  (29)Bold BI  (3)Build conference  (6)Business intelligence  (53)Button  (4)C#  (104)Chart  (43)Cloud  (9)Company  (445)Dashboard  (6)Data Science  (3)Data Validation  (3)DataGrid  (36)Development  (244)Doc  (7)DockingManager  (1)eBook  (91)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (16)Extensions  (9)File Manager  (3)Gantt  (7)Gauge  (5)Git  (3)Grid  (25)HTML  (9)Installer  (2)Knockout  (2)LINQPad  (1)Linux  (1)M-Commerce  (1)Metro Studio  (11)Mobile  (176)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (18)Performance  (2)PHP  (1)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (5)Road Map  (9)Scheduler  (18)SfDataGrid  (8)Silverlight  (21)Sneak Peek  (14)Solution Services  (2)Spreadsheet  (3)SQL  (5)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (9)Tips and Tricks  (39)UI  (97)Uncategorized  (68)Unix  (2)User interface  (64)Visual State Manager  (1)Visual Studio  (15)Visual Studio Code  (8)Web  (150)What's new  (95)Windows 8  (19)Windows App  (1)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Share on twitter
Share on facebook
Share on linkedin
Introducing a UI for the Syncfusion Blazor Project Template for Visual Studio Code

Introducing a UI for the Syncfusion Blazor Project Template for Visual Studio Code

Blazor is a next-generation platform for developing single-page applications (SPA) by building client-side web apps using .NET. It supports writing C# code instead of using JavaScript for client-side web applications. Syncfusion has already provided a Blazor extension in Visual Studio Code for:

  • Creating Syncfusion Blazor applications.
  • Converting Blazor applications to Syncfusion Blazor applications.
  • Migrating Syncfusion Blazor applications from one version to another.

Now, Syncfusion is offering a UI for the Blazor Template Studio. User experience for our products is one of our top priorities because the UI is what people actually use. A good UI increases product usability and reduces developer time to create applications. This user interface for the Template Studio will make it faster for users to get started on their Syncfusion Blazor projects.

In the Syncfusion Blazor Template Studio UI, users can more easily select a project name, location, project type, .NET Core version, and theme to enhance their users’ experience, making it a useful tool for developers.

In this blog, I am going to explain how to create a Syncfusion Blazor application using Blazor Template Studio with the new user interface in Visual Studio Code. Are you ready to experience how easy it is to create an application now?

Prerequisites

The prerequisites for creating a Blazor application are:

Installing the Syncfusion Blazor extension

The Syncfusion Blazor extension for Visual Studio Code is available from the Syncfusion Blazor setup in the Syncfusion Essential Studio 2020 Volume 3 release. The extension is also available in the Visual Studio Marketplace.

Installing from Visual Studio Marketplace

To install the Syncfusion Blazor extension from the Visual Studio Marketplace, follow these steps:

  1. Open Visual Studio Code.
  2. Open the Command Palette by navigating to View > Command Palette.
  3. Search for Install Extensions in the Command Palette and expand Install Extensions when it appears.
  4. Search for Syncfusion Blazor in the search box to locate the Syncfusion Blazor extension package.
  5. Install the Syncfusion Blazor extension by clicking Install.

Installing from a VSIX package

To install the Syncfusion Blazor extension from a VSIX package, follow these steps:

  1. Open Visual Studio Code.
  2. Open the Command Palette by navigating to View > Command Palette.
  3. Search for Install, and then click Install from VSIX in the Command Palette.
  4. Select Syncfusion Blazor Extension from the Browse options. The extension will be installed.

Creating a Syncfusion Blazor application

The Syncfusion Blazor extension helps developers create Blazor applications with Syncfusion components, saving them significant time. The following steps create a Syncfusion Blazor application:

  1. Open Visual Studio Code.
  2. Open the Command Palette by navigating to View > Command Palette.
    Open the Command Palette by navigating to View > Command Palette
  3. Select the Syncfusion Blazor Template Studio:Launch option by searching for Syncfusion Blazor.
    Select the Syncfusion Blazor Template Studio:Launch option by searching for Syncfusion Blazor
  4. Now the Syncfusion Blazor Template Studio wizard will open. This UI design looks user-friendly and attractive. You can provide project-related details without any guidance or confusion via this Blazor Template Studio UI design. It helps all types of users easily choose application requirements. First, provide the project name and location in which to store the application.
    Provide the project name and location in which you want to store the application.
  5. Select the Blazor application type you need:1. Syncfusion Blazor Server App.
    2. Syncfusion Blazor WebAssembly App.

    Note: In the Syncfusion Blazor WebAssembly App project type, we can choose ASP.NET Core-hosted, Progressive Web Application, or both.

    Select the Blazor application type you need

  6. In the Configuration tab, choose the .NET Core version and themes, and then click Create.
    In the Configuration tab, choose the .NET Core version and themes, and then click Create
  7. Once the project is created, you can open it by clicking Open Project.
    Once the project is created, you can open it by clicking Open Project

And that’s it. The Blazor application has been created with the required Syncfusion NuGet package and the CDN links of the Syncfusion components for the project.
Explorer window showing created Blazor project

Now, you can develop your application with Syncfusion components. When creating a Syncfusion Blazor application, snippets for the Calendar, Data Grid, and Button components are added. You can run these Syncfusion Blazor components without any changes in the source.

Refer to this documentation to render the code and run the application.

Debugging the application

The Debug and Release modes are configured while the project is created. So, you do not need to configure them manually. When debugging the Syncfusion Blazor application, it will restore the NuGet packages, compile the application, and run it in the default browser.

By default, the Blazor application runs in Debug mode. It can be changed to Release mode in the Debug tab (Ctrl+Shift+D).
Types of modes available to run a Blazor application

Conclusion

I hope this blog helps you understand and use the Syncfusion Blazor extension with the new user interface design in Visual Code to its full potential. This will help you create attractive web applications in less time.

Syncfusion provides more than 65 high-performance, lightweight, modular, and responsive Blazor UI controls such as Data GridCharts, and Scheduler to ease the work of developers.

Tags:

Share this post:

Share on twitter
Share on facebook
Share on linkedin

Leave a comment

Popular Now

Be the first to get updates

Subscribe RSS feed
Scroll To Top