All Projects → omid-ahmadpour → CleanArchitecture-Template

omid-ahmadpour / CleanArchitecture-Template

Licence: MIT license
This is a solution template for Clean Architecture and CQRS implementation with ASP.NET Core.

Programming Languages

C#
18002 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to CleanArchitecture-Template

Equinoxproject
Full ASP.NET Core 5 application with DDD, CQRS and Event Sourcing concepts
Stars: ✭ 5,120 (+8433.33%)
Mutual labels:  cqrs, clean-code, asp-net-core, mediatr, ef-core, fluentvalidation
Kodkod
https://github.com/alirizaadiyahsi/Nucleus Web API layered architecture startup template with ASP.NET Core 2.1, EF Core 2.1 and Vue Client
Stars: ✭ 45 (-25%)
Mutual labels:  serilog, jwt-token, asp-net-core, jwt-authentication
MonolithicArchitecture
This repository presents an approach on how to build an application using Monolithic architecture, ASP.NET Core, EntityFrameworkCore, Identity Server, CQRS, DDD
Stars: ✭ 18 (-70%)
Mutual labels:  cqrs, clean-architecture, cleanarchitecture
Modular Monolith With Ddd
Full Modular Monolith application with Domain-Driven Design approach.
Stars: ✭ 6,210 (+10250%)
Mutual labels:  cqrs, clean-code, clean-architecture
Dev Stuff
😎 Programming stuff for everyone. Collection of articles, videos about architecture, Domain Driven Design, microservices, testing etc.
Stars: ✭ 105 (+75%)
Mutual labels:  cqrs, clean-code, clean-architecture
MediatrTutorial
CQRS implementation in ASP.NET Core using MediatR in .NET 5
Stars: ✭ 88 (+46.67%)
Mutual labels:  cqrs, asp-net-core, mediatr
RCM
RCM is a simple CRM application designed for Auto Parts Store made with ASP.NET Core based on DDD, CQRS and SOLID Principles.
Stars: ✭ 29 (-51.67%)
Mutual labels:  cqrs, asp-net-core, mediatr
Sample Dotnet Core Cqrs Api
Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
Stars: ✭ 1,273 (+2021.67%)
Mutual labels:  cqrs, clean-code, clean-architecture
Go Book Store Api
Go Sample project to understand Mysql CRUD operation with best practises Includes logging, JWT, Swagger and Transactions
Stars: ✭ 18 (-70%)
Mutual labels:  jwt-token, swagger-ui, jwt-authentication
Aspnetcore Webapi Course
Professional REST API design with ASP.NET Core 3.1 WebAPI
Stars: ✭ 323 (+438.33%)
Mutual labels:  identity, swagger-ui, jwt-authentication
Cqrs Clean Eventual Consistency
CQRS, using Clean Architecture, multiple databases and Eventual Consistency
Stars: ✭ 247 (+311.67%)
Mutual labels:  cqrs, clean-architecture, asp-net-core
CleanArchitecture
Clean Architecture Solution for .NET 5
Stars: ✭ 18 (-70%)
Mutual labels:  cqrs, asp-net-core, mediatr
Clean Architecture Manga
🌀 Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks
Stars: ✭ 3,104 (+5073.33%)
Mutual labels:  clean-code, clean-architecture, cleanarchitecture
Cleanarchitecture.webapi
An implementation of Clean Architecture for ASP.NET Core 3.1 WebAPI. Built with loosely coupled architecture and clean-code practices in mind.
Stars: ✭ 615 (+925%)
Mutual labels:  clean-code, clean-architecture, asp-net-core
eShopOnWeb
Sample ASP.NET Core 6.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
Stars: ✭ 8,250 (+13650%)
Mutual labels:  clean-code, clean-architecture, asp-net-core
Event Sourcing Castanha
An Event Sourcing service template with DDD, TDD and SOLID. It has High Cohesion and Loose Coupling, it's a good start for your next Microservice application.
Stars: ✭ 68 (+13.33%)
Mutual labels:  cqrs, clean-code, clean-architecture
Dotnet New Caju
Learn Clean Architecture with .NET Core 3.0 🔥
Stars: ✭ 228 (+280%)
Mutual labels:  cqrs, clean-code, clean-architecture
MsCoreOne
MsCoreOne is a simple Ecommerce with using many technologies such as .NET 5, Entity Framework Core 5, React 16.13 with modern Clean Architecture, Domain-Driven Design, CQRS, SOLID, Identity Server 4, Blazor. It will focus on resolving the problems always see in the process to develop projects.
Stars: ✭ 77 (+28.33%)
Mutual labels:  swagger-ui, mediatr, fluentvalidation
fastapi-pydiator
Python clean architecture and usecase implementation with fastapi and pydiator-core
Stars: ✭ 58 (-3.33%)
Mutual labels:  clean-code, clean-architecture, mediatr
PracticeApp
A "must-have a look" project for newcomers in android.
Stars: ✭ 38 (-36.67%)
Mutual labels:  clean-code, cleanarchitecture

CleanArchitecture-Template

This is a solution template for Clean Architecture and CQRS implementation with ASP.NET Core

CleanArchitecture

Give a Star!

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

The easiest way to create your project

1. Open CMD

2. Run

  > dotnet new --install ASPNETCleanTemplate.nuspec::3.1.0

3. Create an empty folder for your solution and cd into it.

4. Run the following code and enter your project name instead of MyNewCleanTemplate

  > dotnet new ASPNETCleanTemplate -n MyNewCleanTemplate

For Database Migration:

First:

Set default project to Persistence

Second:

Run following code in Package Manager Console

> Update-Database -Context AppDbContext

HealthCheck

use the following url to open health check admin ui

https://Url:Port/healthchecks-ui

Technologies used:

  • 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)
  • AutoMapper
  • Docker

Software Development Best Practices and Design Principles used:

  • Clean Architecture
  • Clean Code
  • CQRS
  • Authentication and Authorization
  • Distributed caching
  • Solid Principles
  • Separate ReadOnly and Write DbContext
  • Separate ReadOnly and Write Repository
  • REST API Naming Conventions
  • Use multiple environments in ASP.NET Core (Development,Production,Staging,etc)
  • Modular Design
  • Custom Exceptions
  • Custom Exception Handling
  • PipelineBehavior for Validation and Performance tracking.

Read More

  1. https://virgool.io/@ahmadpooromid/%D9%85%D9%81%D9%87%D9%88%D9%85-%D9%88-%D9%BE%DB%8C%D8%A7%D8%AF%D9%87-%D8%B3%D8%A7%D8%B2%DB%8C-scalability-%D8%AF%D8%B1-cqrs-peixkgrbdgff
  2. https://medium.com/@omid-ahmadpour/clean-architecture-template-with-net-and-its-importance-e5b3b97a6e48
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].