/ASP.NET-Core-CleanArchitecture-CQRS-Identity

A .NET 8.0 project implementing Clean Architecture, CQRS pattern, and Identity for role and user management. Uses SQL Server, Dapper, Entity Framework, AutoMapper, MediatR, and JWT for authentication and authorization in an ASP.NET Core Web API

Primary LanguageC#

ASP.NET Core Clean Architecture with CQRS and Identity

This project is a .NET 8.0 implementation of Clean Architecture, CQRS pattern, and Identity for role and user management. It utilizes SQL Server, Dapper, Entity Framework, AutoMapper, MediatR, and JWT for authentication and authorization in an ASP.NET Core Web API.

Technologies Used

  • ASP.NET Core 8.0
  • C#
  • Clean Architecture
  • CQRS Pattern
  • Identity (Role and User Management)
  • SQL Server
  • Dapper
  • Entity Framework
  • AutoMapper
  • MediatR
  • JWT Authentication and Authorization

How to Run the Project

  1. Clone the repository.
  2. Open the solution in Visual Studio 2022.
  3. Configure your SQL Server connection in the appsettings.json file.
  4. Run the database migrations to create the necessary tables.
  5. Build and run the ASP.NET Core Web API.

Project Structure

  • src: Contains the source code for the ASP.NET Core Web API.
  • tests: Contains unit tests for the project.

Additional Notes

  • Make sure to secure sensitive information such as connection strings and secret keys.
  • Customize the project according to your specific requirements.

Feel free to contribute, report issues, or provide feedback!