Create Project
Let's make our next cross platform project a success with Bit.Boilerplate.
dotnet new bit-bp --name MyFirstProject
Name
--name MyFirstProject
It is required to specify a name for your project.
Server Database
--database Sqlite
Supported options include SqlServer, PostgreSQL, MySQL and Other.
For the default SQLite option, we'd recommend installing sqlite package for Visual Studio and Visual Studio Code.
Multi-tenancy
--multitenant
You can experience the Multi-tenancy feature instantly by logging into adminpanel.bitplatform.dev using [email protected] (Password: 123456). This gives you access to a demo tenant ("Store") where you can explore the Dashboard, Products, and Categories.
Alternatively, you can sign in using your regular Google/Gmail account to automatically create your own isolated tenant. Once inside your personal tenant, you will also gain access to advanced Identity Management features, including User and Role administration pages.
Note: The Global Tenant Administration page is exclusive to Global Administrators. To explore global management features, we recommend creating your project following this tutorial and running it locally. You can then log in using [email protected] (Password: 123456) to access full global admin privileges.
File Storage
--filesStorage Local
Local option stores files on local hard drive.
Pipeline
--pipeline GitHub
Redis
--redis false
bit Boilerplate handles most of your scalability requirements using Redis:
- Hybrid (In-memory + Redis) caching with FusionCache
- Background job processing for Hangfire
- SignalR backplane (Azure SignalR Service is also pre-configured)
- Distributed locking
- In-memory caching will be used instead of hybrid caching
- Background jobs will be persisted in the database (significantly slower)
Aspire
Aspire helps you publish your project not only on Azure, AWS, and Kubernetes, but also on a simple Linux VPS running a basic Docker Compose setup, automatically building the database, API projects, and more.
In the Bit Boilerplate, .NET Aspire automatically provisions Redis, a database, file storage (Azure Blob Storage or S3), a test SMTP server, Keycloak, and Dev Tunnels for you!
--aspire
Aspire helps you build, test, and deploy distributed applications with ease. Learn more at ASP.NET Core Aspire.
dotnet tool install -g Aspire.Cli
API
--api Integrated

Module
--module None
Captcha
--captcha None
Push Notification (Native and Web Push)
--notification
Sample
--sample false
Sentry
--sentry false
AppInsights
--appInsights false
SignalR
--signalR false
Note:
Disabling this feature will affect AI Chatbot features.
Offline Database
--offlineDb false
Warning: It is advisable to use this option only when necessary, as integrating Entity Framework Core can increase application size and potentially reduce startup performance.
Cloudflare
--cloudflare
bit Brouter
--brouter
It stays a drop-in replacement, so your existing @page routes, layouts and authorization keep working unchanged while you opt into the advanced features where you need them.
Visual Studio

