Create Project
Let's make our next cross platform project a success with Bit.Boilerplate.
How it works
- Tell the assistant about your app, or pick the options below. Either way, the command stays ready to copy.
- Copy it and paste it into a terminal. If something needs installing with administrator rights, Windows asks once.
- The
bit newcommand installs what this machine is missing, creates the project, adds its first EF Core migration, trusts the folder, installs the VS Code extensions the project recommends and opens it in VS Code. - Use any AI assistant you like: the project comes fully configured for Claude Code, GitHub Copilot, Codex, Gemini CLI and Cursor.
The platforms you tick only decide what is set up on this machine now; every project has the web, Android, iOS, Windows and macOS apps. New to the bit CLI? Getting started shows how to install it with the .NET SDK.
Describe your project
Tell the assistant what you're building, in your own words. It fills in the options below and asks a question or two so the project fits better. You don't have to answer them: copy the command whenever you like, and go on with your day.
Adds --realProject, which keeps the project's containers running between runs so debugging starts fast, and switches to PostgreSQL, S3, Redis and SignalR (AI Chatbot) wherever you haven't picked something else.
Paste it into a terminal, then go on with your day. No bit CLI yet? Run dotnet tool install --global Bit.Cli --prerelease first, or put dnx Bit.Cli --prerelease -- in place of bit.
Name
bit new MyFirstProject
It is required to specify a name for your project.
Platforms to set up on this machine now
--platforms web
bit new installs and builds on this machine right now.
Every project has the web, Android, iOS, Windows and macOS apps.
The web app is always set up. Ticking any native app builds the whole solution, which needs several GB of extra build tools and makes the first build minutes longer. Add one any time later from the project folder, e.g.
bit setup --platforms android.
Open in
--ide code
bit new opens the project in VS Code, installs the extensions the project recommends (C# Dev Kit, Copilot, Claude Code and more), and trusts the folder,
so it opens without prompts. If VS Code is missing, it's installed for you.
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
Adds --github-repo. The bit new command installs the GitHub CLI if it's missing, and opens GitHub in your browser when you need to sign in.
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.
It runs those resources in containers, so bit new installs the Aspire CLI, and offers Docker, when they're missing.
API
--api Integrated

Module
--module None
Captcha
--captcha None
Push Notification (Native and Web Push)
--notification
Sample
--sample false
Sentry
--sentry false
--sentry to the bit new command allows you to capture errors, crashes, and analytics data
seamlessly across all supported platforms.
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 false
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.
Theme
--theme Fluent2