🚀 Modern .NET Templates
Welcome to the Modern .NET Templates extension! 🎉 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.
📦 Available Templates
1️⃣ Clean .NET API Template
A comprehensive template for building robust and scalable APIs using Clean Architecture principles.
- 🔐 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.
- 📝 Pre-configured Serilog: Log messages to file and console effortlessly with Serilog integration for easy debugging and monitoring.
- 📏 Standard Coding Practices: Adhere to best practices for clean, maintainable, and scalable code.
For more details, visit the template's README.

🛠️ How to Use
- 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.
🤝 Contributing
I welcome contributions! 💙 If you have ideas for new templates, improvements to existing ones, or found any issues, feel free to visit the extension repo and:
- 📝 Open an issue.
- 🔄 Submit a pull request.
📜 License
All templates in this repository are licensed under the MIT License. See the LICENSE file for details.
Happy Coding! 🚀💻✨