DEV Community

Cover image for Making it simple - Clean architecture - Crud Users & Authentication .Net 7.0 - My Nuget PearlCore .ADO.NET .UnitOfWork Mediator
Raphael
Raphael

Posted on

Making it simple - Clean architecture - Crud Users & Authentication .Net 7.0 - My Nuget PearlCore .ADO.NET .UnitOfWork Mediator

https://www.linkedin.com/in/raphael-mendes-br/

https://github.com/raphamendes123/net-core-clean-architecture

Wait - Go / Java Spring Boot / Python / Node.Js

********* API RestFull *********

Autentication ( UseCase - Password Crypto JWT ) Crud (PaginatedList)

Project : Infrastructure / Base / Security / Application / Domain / Repository / Service / Query (option)

PearlCore.Security (My Nuget - by Raphamendes123)
PearlCore.UnitOfWork (My Nuget - by Raphamendes123)
PearlCore.ADO.NET (My Nuget - by Raphamendes123)
PearlCore.FieldValidation (My Nuget - by Raphamendes123)
Mediator
Swagger Document
JwtBearer Authentication
SecretArgon2 - Cryptography Password
AutoMapper
Exception
DependencyInjection
FluentValidation - AbstractValidator (Exception standard)
DomainCore - UseCase (ex. ValidationCore) (Exception standard)
Policy (administrator / UserStandard)
CultureInfo
Cors

****************** Organization Project ******************

Image description

1) Application

Image description

2) Base

Image description

3) Domain

Image description

4) Infrastructure

Image description

5) Query

Image description

6) Repository

Image description

7) Security

Image description

8) Service

Image description

9) WebApi

Image description

****************** CODE MODEL - Create User ************************

1) Controller
Image description

Image description

2) Handler Expection - Unit Of Work | Command

Image description

3) Validation - DomainCore & FluentValidation

Image description

4) Service

Image description

Image description

5) Repository (My Nuget PearlCore.ADO.NET & PearlCore.UnitOfWork)

Image description

Image description

6) Query

Image description

7) Swagger

Image description

****************** WebApi - Program ************************

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Top comments (0)