Skip to content

Official template library for NetCrafter - clean, modular, and scalable .NET architectures ready to build modern APIs, gateways, and shared kernels.

License

Notifications You must be signed in to change notification settings

miguelbtcode/netcrafter-templates

Repository files navigation

NetCrafter Templates 🏗️

License: MIT .NET Documentation

Professional, enterprise-ready .NET architecture templates for modern application development

NetCrafter Templates provides a curated collection of battle-tested architectural patterns for .NET applications. Each template is designed with best practices, SOLID principles, and real-world scalability in mind.


✨ Features

  • 🎯 Production-Ready - Battle-tested patterns used in enterprise applications
  • 🏛️ Multiple Architectures - Choose the right pattern for your needs
  • 📦 Easy Installation - Simple dotnet CLI integration
  • 🧪 Test Coverage - Unit, Integration, and E2E tests included
  • 📚 Comprehensive Docs - Detailed documentation for each template
  • 🔄 Active Maintenance - Regular updates and improvements

🏗️ Available Templates

Template Description Best For
Clean Architecture Enterprise-grade layered architecture with DDD Large, complex domain-driven applications
Vertical Slice Feature-focused architecture with Carter CQRS-based microservices and APIs
Modular Monolith Modular architecture with domain events Scalable monoliths with clear boundaries
Onion Architecture Dependency-inversion concentric layers Domain-centric applications
Serverless Azure Functions-based architecture Event-driven, cloud-native solutions

🚀 Quick Start

Installation

# Install from NuGet (coming soon)
dotnet new install NetCrafter.Templates

# Or install from source
git clone https://github.com/yourusername/netcrafter-templates.git
cd netcrafter-templates

Usage

# Create a new project with Clean Architecture
dotnet new clean-arch -n MyAwesomeProject

# Create with Vertical Slice Architecture
dotnet new vertical-slice -n MyApiProject

# Create with Modular Monolith
dotnet new modular-monolith -n MyModularApp

# Create with Onion Architecture
dotnet new onion-arch -n MyDomainApp

# Create with Serverless Architecture
dotnet new serverless-arch -n MyFunctionsApp

📋 Prerequisites

  • .NET SDK 9.0 or higher
  • (Optional) Docker for containerization
  • (Optional) IDE: Visual Studio 2022, VS Code, or JetBrains Rider

📚 Documentation

Template-Specific Guides

Additional Resources


Changelog

See CHANGELOG.md for a detailed history of changes.


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🙏 Acknowledgments

  • Inspired by the .NET community's best practices
  • Built with ❤️ for developers who care about architecture

📧 Support


⬆ Back to Top

Made with ❤️ by the NetCrafter Team

About

Official template library for NetCrafter - clean, modular, and scalable .NET architectures ready to build modern APIs, gateways, and shared kernels.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published