DEV Community

Discussion on: Authentication with JSON Web Tokens in .NET Core 3.1

Collapse
 
kjrjessop profile image
Kyle

Hey Patrick, thanks for taking the time to make this awesome series, its one of the best I've found to date! The next sections can't come quick enough!

Any chance you could cover seeding data to a DB so that we can seed the setup data each time a new instance of the application is run? ie. the data like rpg classes which we wouldn't want to recreate each time, but rather just seed the standard 5 or 6 classes that one can choose?

Another idea might be to cover role based calls so that if I am an "admin" user, a call might return different/more data than if I was a "standard" user?

Thanks again and keep the content coming!

PS. In your video series maybe you could also include setup on a Mac? SQL is not available for Mac users so I wasn't able to easily connect to a local DB. It took a little research but I eventually got my SQL DB up and running on a docker image.

Collapse
 
_patrickgod profile image
Patrick God

Hi,

Thank you very much! :)

These are good ideas. I will remember them and probably add them as "bonus" chapters - at least regarding seeding the database and role based authentication.

I'm afraid I don't have a Mac. But maybe I'll add a chapter with SQLite. You can use SQLite on MacOS, hence you wouldn't have to use SQL Server with Docker. The code should stay the same, just the connection string would be different, I guess.

Let me think about this. ;)

Take care,
Patrick