blazor

Check if Blazor app is WebAssembly or Server?


Started a project via cmd so not sure if it is a WebAssembly App or Server side app.

Anybody know how to check this in an easy way in Visual Studio/cmd?


Solution

  • You can open the .csproj file and look at the first line. Blazor Server App project is using Sdk="Microsoft.NET.Sdk.Web" but Blazor WebAssembly App is using Sdk="Microsoft.NET.Sdk.BlazorWebAssembly".