Introduction
Clean.Net is a powerful ASP.NET Core Web API project template built from the ground up using .NET Core 8.0. Designed to jumpstart backend development, it offers a ready-to-use foundation that eliminates the need for repetitive boilerplate coding. By packaging essential infrastructure and best practices into one clean, modular template, Clean.Net allows developers and teams to focus on building features—saving time and boosting productivity from day one.
Why is it built as an API? Clean.Net is architected as an API-first solution to serve as a unified backend for multiple front-end clients—whether it's iOS, Android, web, or desktop applications. This centralized approach ensures consistency in business logic and data, while simplifying updates and allowing new features to be added with minimal effort.
The template is built around principles of clarity, simplicity, and scalability. Its modular structure and extensible design make it easy to customize and adapt to different project requirements. With Clean.Net, you're not just starting faster—you're building on a modern, high-performance, and secure foundation that's made to grow with your application at ease.
Architecture, Patterns and Practices
- Clean Architecture
- Modular Design
- Microservices Design
- Domain Driven Design
- Repository Pattern
- Dependency Injection
- SOLID Principles
- Mediator
- Aspect Oriented Programming (AOP)
- Result Pattern
API Features
- OpenAPI/Swagger Documentation
- JWT Authentication
- Role-based Authorization
Data Management
- Sql Server Database
- Entity Framework Core
- Automated Database Schema Migration
- Redis/Memory Cache
Cross Cutting Concerns
- Validation
- Exception Handling
- Logging
- Caching
Pipelines
- Docker Deployment or Zip Deployment
- Automated Builds, Unit Tests and Deployments (CI/CD)
- Github Actions Workflow
Unit Test
- xUnit
- Moq
- Fluent Assertion
- AutoFixture