jhipster-dotnetcore
jhipster-dotnetcore copied to clipboard
IdentityStartup Refactoring
Load users and roles seed data from csv or json file instead of hard-coding the data. See IdentityStartup.cs
the class is here https://github.com/jhipster/jhipster-dotnetcore/blob/main/generators/server/templates/dotnetcore/src/Project/Configuration/IdentityStartup.cs.ejs
@nicolas63 where are we planning to store the csv or json file in code? I have made the code changes to read from a csv file instead of hardcoding the data in code.
Yes we can generate this file to replace our harded code
For generating we will have to again use the hardcoded values of user. I was thinking of keeping the csv file manually with all the user data and then just read it from there. You can also assign this to me.
@nicolas63 Please provide your review on the #1184 whenever you get time.