Get Started - Blazor Server and WebAssembly
- 2 minutes to read
Our Blazor UI Component Suite is included in the following DevExpress Subscriptions: Universal, DXperience, and ASP.NET (refer to the subscription comparison matrix for details).
Use the DevExpress .NET Product Installer to install our Blazor UI components on a Windows machine. The subscription will also grant you access to Blazor project templates in the DevExpress Template Gallery and allow you to explore our product line features in the Demo Center.
Alternatively, you can use NuGet to install DevExpress Blazor UI components on any platform (Windows, Mac, Linux).
This section describes how you can create Blazor applications using project templates and configure your projects to incorporate DevExpress components.
Use Project Templates to Create an Application
You can use the following common templates to create Blazor applications:
DevExpress Template
The DevExpress Template creates a project that includes:
- References to the DevExpress Blazor NuGet package and DevExpress resources
- The DevExpress Blazing Berry theme
- Application layout based on the GridLayout component
- Sidebar navigation based on the Menu component
- The Grid component
Refer to the following topics for instructions:
- DevExpress Template (DevExpress Installation)
- DevExpress Template (NuGet Packages)
- DevExpress Template (.NET CLI)
Microsoft Templates
Refer to the following topics for instructions:
- Microsoft Templates (DevExpress Installation)
- Microsoft Templates (NuGet Packages)
- Microsoft Templates (.NET CLI)
Support Server-Side Rendering (SSR) in .NET 8 Applications
.NET 8 UI framework allows you to create applications that render content in Static render mode. In this mode, components are rendered on the server without a socket connection or WebAssembly files.
The default render mode for most DevExpress Blazor components is interactive. This mode is automatically enabled when you create a Blazor application with the DevExpress Template. For Microsoft templated applications, you need to enable interactivity.
Static render mode is now supported by the following DevExpress Blazor components:
- Grid and Pivot Grid (to display static data in a single page).
- Menu and TreeView (to display one level of hierarchy).
- Wait Indicator and Loading Panel (to indicate progress with streaming rendering).
- Form Layout (excluding tabs and collapsible groups).
- Grid Layout and Stack Layout.
Troubleshooting
If a Blazor application throws unexpected exceptions, refer to the following help topic: Troubleshooting.