Demystifying ASP.NET Core Blazor — Core Concepts and Its Future
October 08, 2019
4 min
Using Blazor, you can build two types of apps. Server-side Blazor runs on the server via SignalR. Client-side Blazor runs client-side on WebAssembly. This post demonstrates the client-side blazor app.
dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview5–19227–01
Install Blazor Extension
If you are using visual studio preview, you can skip this step as preview SDKs are picked by default. I am using VS 2019 Pro, so I need to tell my VS to use the preview SDKs. Open Tools > Options in the menu bar. Open the Projects and Solutions node. Open the .NET Core tab. Check the box for Use previews of the .NET Core SDK. Select OK. 4. Create a new project ASP.NET Core Web project in VS
Press F5 to run the app.
All done
To understand what exactly Blazor is and how it works, follow my post below.
Legal Stuff