Welcome to the Modern .NET Templates repository! π Your one-stop destination for a collection of high-quality, ready-to-use templates for .NET projects. These templates are crafted to help you kickstart your projects with best practices, Clean Architecture principles, and pre-configured features.
Whether you're building APIs, web applications, or microservices, these templates save you time and effort by providing a solid foundation.
- Description: A comprehensive template for building robust and scalable APIs using Clean Architecture principles.
- Features:
- π Authentication with Identity Framework: Secure your APIs with pre-configured Identity Framework and EF Core integration.
- π Repository Pattern with EF Core: Simplify data operations with a reusable BaseRepository for CRUD actions.
- π Transaction Filter: Ensure atomic operations for POST, PUT, and DELETE APIs with built-in transaction management.
- β Model Validation with FluentValidation: Validate models effortlessly with pre-configured FluentValidation and custom validators.
- π Exception Middleware: Centralize error handling to keep your codebase clean and exception-free.
- π Automatic Database Migration: Auto-apply pending migrations in development mode for seamless updates.
- 𧩠Automapper for Object Mapping: Streamline object-to-object mapping to reduce redundancy in your code.
- π Standard Coding Practices: Adhere to best practices for clean, maintainable, and scalable code.
For more details, visit the template's README.
- Download the Modern .NET Templates extension from the Visual Studio Marketplace.
- Search for the desired template in the new project dialog.
- Follow the wizard to create your project.
I welcome contributions! π If you have ideas for new templates, improvements to existing ones, or found any issues, feel free to:
- π Open an issue.
- π Submit a pull request.
- Create a folder for your template under the repository root.
- Include the template files and a
README.md
explaining its usage. - Update this main
README.md
to list the new template.
All templates in this repository are licensed under the MIT License. See the LICENSE file for details.
Happy Coding! ππ»β¨