Starter kit
The DotBlaze starter kit is a ready-to-customize ASP.NET Core application with Blade views, Tailwind CSS, and Alpine.js. It includes registration, login, password reset, email verification, a dashboard, profile settings, an admin users section, SQLite migrations, and tests.
Requirements
- .NET 10 SDK
- Node.js 22+ and npm
- Git
Create your application
Install the template from the starter kit and generate an app. The template renames the project, namespaces, solution, and tests to your app name.
git clone https://github.com/dotblaze/starter-kit.git
dotnet new install ./starter-kit
dotnet new dotblaze-blade -n MyApp
cd MyAppYou can also use GitHub's Use this template button, or work directly in the clone (the project name then stays StarterKit).
Configure the environment
cp .env.example .envCopy-Item .env.example .envRun it
dotnet run -- migrate
npm ci
npm run build
dotnet run --urls http://localhost:5000Open http://localhost:5000. The dashboard is at /dashboard. The default mailer is log, so verification and password reset links are written to the application log instead of being emailed.
Sample accounts
Seed demo users in the Development environment:
ASPNETCORE_ENVIRONMENT=Development dotnet run -- db:seed$env:ASPNETCORE_ENVIRONMENT = 'Development'
dotnet run -- db:seed| Password | Role | |
|---|---|---|
admin@example.com | password | Admin |
user@example.com | password | User |
WARNING
These accounts are for local demos only. Never seed them in production.
Run with Docker
No local .NET or Node.js? Use Docker Compose 2.24+:
docker compose up --build -d
docker compose logs -f app
docker compose downOptional: DotBlaze CLI
dotnet tool install --global DotBlaze.CliFrom the app directory you can then run dotblaze migrate, dotblaze db:check, and dotblaze serve. The dotnet run -- commands work without it.
Next steps
- Read the documentation to learn the framework.
- See the starter kit README for production publishing, tests, and Docker options.