Minimal Blazor app with Backend API
Features
Hosted Blazor WebAssembly app - on ASP.NET Core backend.
Frontend
- Blazor - MudBlazor UI
- Localization
- Color theme - Light and Dark mode
- Chat sample
- SignalR client - Generated with Source Generator
- JS interop with JSImport - Generated with Source Generator
- Todos sample
- Web API clients - Generated from Open API
Backend
- Minimal API endpoints
- Versioned API
- Open API with Swagger UI
- SignalR
- Entity Framework Core - Sqlite database
- Integration tests
Run
To run the app, execute this in the Server
directory:
dotnet run
or
dotnet watch
Debugging
The project has been set up to run in VS Code.
Attach using the defined launch configurations.
Debug Client (Frontend)
To debug the Client, start the Server project. Then, attach the debugger to the browser with the "Client Attach (WASM)" launch configuration
A debug instance of your selected browser (Chrome or Edge) will then launch.
Additional information
This project contains code from MudBlazor Docs site project - for handling color theme.