Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ahsansoftengineer/clean-arch-ddd-bubber

[Multi Layer, Onion Arch] (API, APP, Contracts, Domain, Infra) CQRS, Mapster, MediatoR, Global Error, Generic (Error, Validation, Repo, Controller, Mapping, Entities, Dtos), Core Identity, Aggregate, Aggregate Root, CommandHandler
https://github.com/ahsansoftengineer/clean-arch-ddd-bubber

aggregate aggregate-root authentication authorization command-handler cqrs-pattern domain-driven-design entity-framework-core generic-repository global-error-handling jwt-authentication layering mapster meditor multi-layer-architecture onion-architecture

Last synced: 3 days ago
JSON representation

[Multi Layer, Onion Arch] (API, APP, Contracts, Domain, Infra) CQRS, Mapster, MediatoR, Global Error, Generic (Error, Validation, Repo, Controller, Mapping, Entities, Dtos), Core Identity, Aggregate, Aggregate Root, CommandHandler

Awesome Lists containing this project

README

        

### Commands to work with EF Migration & Docker
#### .NET CLI Tools
- This Tool is useful for Migrations
```csharp
dotnet tool list --global
dotnet tool install --global dotnet-ef
Install-Package Microsoft.EntityFrameworkCore.Tools // Power Shell
dotnet ef migrations add InitialCreate -p Donation.Infrastructure -s Donation.Api
```

#### Docker
```csharp
docker pull mcr.microsoft.com/mssql/server:2022-latest
docker image ls
docker run -e 'HOMEBREW_NO_ENV_FILTERING=1' -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Asdf@1234' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2022-latest
docker container ls
docker ps
dotnet ef database update -p Donation.Infrastructure -s Donation.Api --connection "Server=localhost;Database=Donation;User Id=sa;Password=Asdf@1234;Encrypt=false"

dotnet clean
dotnet restore
dotnet build
dotnet run --project Donation.Api

````