Skip to content

crazyants/JwtAuthServer

 
 

Repository files navigation

JwtAuthServer

For add new migrations

cd .\src\DataAccess

dotnet ef migrations add [migrationName]

All commends for ef core:

https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dotnet

[Authorize] attribute workaround

http://benjamincollins.com/blog/practical-permission-based-authorization-in-asp-net-core/#fnref:bc603b5d0602b8e850f1470fb6f73205:2

For run seed data

-> Make sure database connection string in JwtDbContext is correct for db which you want to seed

-> Uncomment code in Program.cs located in DataAccess Project

-> Right click on DataAccess Project -> Debug -> Start new instance

-> If no errors data should be seeded

-> Recomment code in Program.cs located in DataAccess Project

Repository

Git repository: https://github.com/FingoPraktyki2016/JwtAuthServer/

Continious integration

Travis CI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 73.8%
  • PowerShell 23.5%
  • HTML 1.7%
  • Other 1.0%