Skip to content
Thanh Nguyen edited this page May 4, 2025 · 15 revisions

Blazor Admin Template (BAT) is a .NET solution template designed to help developers quickly create an Admin Control Panel application with Blazor.

Table of Contents

Features

  • .NET solution template, including:
    • A RESTful API project, which can function independently to build an API server.
    • Blazor Server and Blazor WebAssembly (WASM) projects configured with interactive auto-rendering mode.
    • Shared projects for common code and resources.
  • UI components and layouts based on CoreUI Free Bootstrap Admin Template.
  • JWT-based authentication and authorization, integrated with ASP.NET Core Identity.
  • Authentication using external providers:
    • Apple
    • Facebook
    • GitHub
    • Google
    • LinkedIn
    • Microsoft
    • Twitter/X
  • Sample database access implementation using Entity Framework.
  • Sample Dockerfiles for building Docker images for Linux and Windows environments.
  • Other sample files: README, LICENSE, RELEASE-NOTES and .gitignore.
  • GitHub Actions workflows:
    • dependabot.yaml, automerge-dependabot.yaml: Automatically update dependencies and merge PRs from Dependabot.
    • ci.yaml: Automate builds, tests, and code coverage reporting.
    • release.yaml: Automatically create new releases.
    • codeql.yaml: Perform automated CodeQL security analysis.

Quick Start

Install (or update) the package from NuGet to make the template available:

$ dotnet new install Ddth.Templates.Blazor

After installation, create a new solution using the template:

$ dotnet new bat -n MyApp

The above command will create a new solution named MyApp in the current directory.

Clone this wiki locally