Git Product home page Git Product logo

mozhgan-moqadam / cleanarchitecture-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omid-ahmadpour/cleanarchitecture-template

0.0 0.0 0.0 257 KB

This stands as a comprehensive solution template that embodies the principles of Clean Architecture, seamlessly integrated with the prowess of CQRS implementation, all within the ASP.NET Core framework.

License: MIT License

C# 99.35% Dockerfile 0.65%

cleanarchitecture-template's Introduction

CleanArchitecture-Template Plus

Welcome to the CleanArchitecture-Template repository, a powerful solution template that exemplifies the principles of Clean Architecture and incorporates the robustness of CQRS implementation using ASP.NET Core.

CleanArchitecture

Show Your Appreciation! ⭐

If you find value in this project, whether you're using it for learning or kickstarting your solution, a star is a wonderful way to express your support. Thank you in advance!

Prerequisites

  • Visual Studio 2022
  • .NET 7.0 Runtime

Effortless Project Creation

Here's the simplest way to get started with your project:

  1. Open your command-line interface.
  2. Execute the following command:
    dotnet new --install ASPNETCleanTemplate.nuspec::3.4.0
  3. Create an empty folder to house your solution and navigate into it.
  4. Run the subsequent command, replacing MyNewCleanTemplate with your desired project name:
    dotnet new aspnetcleantemplate -n MyNewCleanTemplate

Smooth Database Migration:

To handle database migration with finesse:

  1. Set the default project to Persistence.
  2. Open the Package Manager Console and run:
    Update-Database -Context AppDbContext

Monitor Health

For health check administration, utilize the following URL: https://Url:Port/healthchecks-ui

Technologies at Play:

  • ASP.NET Core
  • Entity Framework Core
  • MediatR
  • Swagger
  • Redis (for distributed caching)
  • Jwt Token Authentication
  • Custom Asp.Net Identity
  • Api Versioning
  • FluentValidation
  • PolyCache (for caching)
  • Serilog
  • Elasticsearch (for writing Logs)
  • Mapper
  • Docker
  • xUnit

Championing Best Practices and Design Principles:

  • Clean Architecture
  • Clean Code
  • CQRS
  • Authentication and Authorization
  • Distributed caching
  • SOLID Principles
  • Segregated ReadOnly and Write DbContext
  • Segregated ReadOnly and Write Repository
  • REST API Naming Conventions
  • Multi-environment Utilization in ASP.NET Core (Development, Production, Staging, etc.)
  • Modular Design
  • Custom Exceptions
  • Tailored Exception Handling
  • Unit Tests
  • Integration Tests
  • PipelineBehavior for Validation and Performance Tracking.

Further Reading

  1. The Significance of Clean Architecture Template with .NET
  2. Understanding and Implementing Scalability in CQRS
  3. Why We Need Clean Architecture?

Elevate your development journey with the CleanArchitecture-Template Plus!

cleanarchitecture-template's People

Contributors

omid-ahmadpour avatar mozhgan-moqadam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.