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
Sqlite
--database Sqlite
The API project requires an Entity Framework Core DbContext for tables such as ASP.NET Core Identity.
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.
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.
File Storage
Local
--filesStorage Local
The API project includes an Attachment Controller responsible for handling user images,
including resizing and saving them in the WebP format using FluentStorage
Local option stores files on local hard drive.
Local option stores files on local hard drive.
API
Integrated
--api Integrated
Easily debug and deploy Server.Web projects that serves restful API services, SSR, Blazor Server, Blazor Auto and pre-rendering.
Pipeline
GitHub
--pipeline GitHub
Ensure a rapid and reliable deployment by utilizing a pipeline.
By selecting GitHub, CI/ CD pipelines will be set up using Github Actions.
Module
None
--module None
Captcha
None
--captcha None
By setting this parameter to None, CAPTCHA won't be added to the project.
Push Notification (Native and Web Push)
--notification false
Sample
--sample false
Windows
--windows
Sentry
--sentry false
AppInsights
--appInsights false
SignalR
--signalR false
Note:
This setting does not affect the enabling or disabling of Blazor Server.
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.
Visual Studio
Note: In second window of create new project modal, make sure to check Place solution and project in the same directory checkbox.