Skip to content

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, and pre-configured features.

License

Notifications You must be signed in to change notification settings

hembhagat99/Modern-NET-Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

πŸš€ Modern .NET Templates

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.

πŸ“¦ Available Templates

1️⃣ Clean .NET API Template

  • 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.

πŸ› οΈ How to Use

  1. Download the Modern .NET Templates extension from the Visual Studio Marketplace.
  2. Search for the desired template in the new project dialog.
  3. 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:

  • πŸ“ Open an issue.
  • πŸ”„ Submit a pull request.

πŸ’‘ Adding a New Template

  1. Create a folder for your template under the repository root.
  2. Include the template files and a README.md explaining its usage.
  3. Update this main README.md to list the new template.

πŸ“œ License

All templates in this repository are licensed under the MIT License. See the LICENSE file for details.

Happy Coding! πŸš€πŸ’»βœ¨

About

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, and pre-configured features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages