Skip to content

Easily seeding user/roles for testing #155

@yankdoodle

Description

@yankdoodle

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions