This template is available in the Visual Studio Marketplace. Also make sure to check out the sample RealWorld app.
After installing the VSIX you will see the template available under Visual C#:
To get familiar with the Maybe and Either monads you can take a look at the introductory Option article, real life examples of Either in C# and the template introductory article.
- AutoMapper
- EntityFramework Core with SQL Server and ASP.NET Identity
- JWT authentication/authorization
- File logging with Serilog
- Stylecop
- Neat folder structure
├───src
│ ├───configuration
│ └───server
│ ├───MyProject.Api
│ ├───MyProject.Business
│ ├───MyProject.Core
│ ├───MyProject.Data
│ └───MyProject.Data.EntityFramework
└───tests
└───MyProject.Business.Tests
- Swagger UI + Fully Documented Controllers
- Global Model Errors Handler
- Global Environment-Dependent Exception Handler
Development
Production
- Neatly organized solution structure
- Thin Controllers
- Robust service layer using the Either monad.
- Safe query string parameter model binding using the Option monad.
- xUnit
- Autofixture
- Moq
- Shouldly
- Arrange Act Assert Pattern