Clean Architecture Template for .NET 7.0 WebAPI built with Multitenancy Support.
$ dotnet add package FullStackHero.WebAPI.Boilerplate
fullstackhero's .NET Web API Boilerplate is a starting point for your next .NET 7 Clean Architecture Project that incorporates the most essential packages and features your projects will ever need including out of the box Multi-Tenancy support. This project can save well over 200+ hours of development time for your team.
As the name suggests, this is an API / Server Boilerplate. You can find other Client Boilerplates that consume this API under
@fullstackherohandle.
- Find
Blazor WebAssembly Boilerplatehere - https://github.com/fullstackhero/blazor-wasm-boilerplate
The goal of this repository is to provide a complete and feature-rich starting point for any .NET Developer / Team to kick-start their next major project using .NET 7 Web API. This also serves the purpose of learning advanced concepts and implementations such as Multitenancy, CQRS, Onion Architecture, Clean Coding standards, Cloud Deployments with Terraform to AWS, Docker Concepts, CICD Pipelines & Workflows and so on.
Read Documentation related to this Boilerplate here - https://fullstackhero.net/dotnet-webapi-boilerplate/
Feel free to contribute to the Documentation Repository - https://github.com/fullstackhero/docs
To get started with this Boilerplate, here are the available options.
FSH CLI tool. Use this for release versions of the Boilerplate only.Make sure that your DEV enviroment is setup, Read the Development Environment Guide
Before creating your first fullstackhero solution, you should ensure that your local machine has:
After you have installed .NET, you will need to install the fsh console tool.
dotnet tool install --global FSH.CLI
fsh install
This isntall the FSH CLI tools and the associated Templates. You are now ready to create your first FSH project!
Here's how you would create a Solution using the FSH .NET WebAPI Boilerplate.
Simply navigate to a new directory (wherever you want to place your new solution), and open up Command Prompt at the opened directory.
Run the following command. Note that, in this demonstration, I am naming my new solution as FSH.Starter.
fsh api new FSH.Starter
OR
fsh api n FSH.Starter
This will create a new .NET 7 WEBAPI solution for you using the FSH Templates. For further steps and details, Read the Getting Started Guide
To update the tool & templates, run the following commands
dotnet tool update FSH.CLI --global
fsh update
You would probably need to take this approach if you want to keep your source code upto date with the latest changes. To get started based on this repository, you need to get a copy locally. You have three options: fork, clone, or download.
dotnet-webapi-boilerplate personal project by cloning the forked repository on your personal github.git remote add upstream https://github.com/{githubuseraccount}/dotnet-webapi-boilerplate and git remote set-url --push upstream DISABLEFor step by step instructions, follow this and this.
Overview - Read
Getting Started - Read
Development Environment - Learn about setting up the DEV environment
Participate in Discussions - QNA & General Discussions
Join our Discord - fullstackhero @ Discord
Submit your PR and join the elite list!
This project is licensed with the MIT license.
Has this Project helped you learn something New? or Helped you at work? Here are a few ways by which you can support.