Giter Site home page Giter Site logo

ahsansoftengineer / genericrepo-ddd-tdd Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 29.11 MB

[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

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

genericrepo-ddd-tdd's Introduction

Commands to work with EF Migration & Docker

.NET CLI Tools

  • This Tool is useful for Migrations
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

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

genericrepo-ddd-tdd's People

Contributors

ahsansoftengineer avatar

Stargazers

 avatar

Watchers

 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.