davidfowl / BedrockFramework

High performance, low level networking APIs for building custom servers and clients.
MIT License
1.05k stars 153 forks source link

Easily seeding user/roles for testing #155

Open yankdoodle opened 2 years ago

yankdoodle commented 2 years ago

Dear David, hope you are doing well, I was surfing your git, and I was interested in some of your standard practices for developers to make things easier, drop-down helpers, other stuff you use - as a template project.

Can you blog about or add: how to easily seeding asp net core identify projects in a local env. with users and roles, is there a NuGet to hook up and pump that in. I am always inheriting someone else support projects, items, and sometimes people switch up to guids for id, or change some basic stuff.

So, can you show us an easy/better way to seed and quickly get off the ground to local testing and debugging apps, to see that they are going, the onModelCreating is not a Easy sure fire way to add two users, Admin, and Member, maybe a static partial class I can run once and turn off...