8000 GitHub - ShadyNagy/Swagger: Implement Swagger with username and password.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ShadyNagy/Swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swagger

Source code for Implement Swagger with username and password.

Give a Star! ⭐

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

Animated Screenshots

Working with Swagger by Username and Password.

SwaggerLogin

Migration Scripts

Create migrations:

dotnet ef migrations add InitialModel --context appdbcontext -p ../ShadyNagy.Swagger.Infrastructure/ShadyNagy.Swagger.Infrastructure.csproj -s ShadyNagy.Swagger.Api.csproj -o Data/Migrations

dotnet ef migrations add InitialIdentityModel --context appidentitydbcontext -p ../ShadyNagy.Swagger.Infrastructure/ShadyNagy.Swagger.Infrastructure.csproj -s ShadyNagy.Swagger.Api.csproj -o Identity/Migrations

Apply migrations:

dotnet ef database update -c appdbcontext -p ../ShadyNagy.Swagger.Infrastructure/ShadyNagy.Swagger.Infrastructure.csproj -s ShadyNagy.Swagger.Api.csproj
dotnet ef database update -c appidentitydbcontext -p ../ShadyNagy.Swagger.Infrastructure/ShadyNagy.Swagger.Infrastructure.csproj -s ShadyNagy.Swagger.Api.csproj

Generate script:

dotnet ef migrations script --context appidentitydbcontext -p ../ShadyNagy.Swagger.Infrastructure/ShadyNagy.Swagger.Infrastructure.csproj -s ShadyNagy.Swagger.Api.csproj | out-file ./script.sql

Dependencies:

About

Implement Swagger with username and password.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0