The solution consists of nine projects:
BlazorWebAssembly
project. It builds the WASM compliant code to deploy to the browser.AspNetCore
Web project, configured to support the Blazor Server Hub, and contains the launch file for the Blazor Server SPA.AspNetCore
Web project configured to provide server side files for the WASM SPA, the launch file for the Blazor Server SPA, and any API controllers.The solution can be run with either Web projct as the startup project:
All the primary application code is split into three domains. These are:
Blazr.Template.Data
- Data access code. The only application dependency is to the Blazr.Template.Core
.Blazr.Template.Core
- Application and Business Logic code. Core code has no dependencies on other application domain code.Blazr.Template.UI
- UI code, principally components and supporting classes . UI code only depends on Blazr.Template.Core
. There is no dependencies on Blazr.Template.Data
.