Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET
 

Seed Users and Roles Data in ASP.NET Core Identity

 
Author: dotnetbips.com
Category: Microsoft.NET
Comments (0)

ASP.NET Core identity allows you to implement authentication and authorization for your web applications. While working with ASP.NET Core Identity at times you need to create default user accounts and roles in the system. In ASP.NET MVC you could have easily done this in Global.asax and Application_Start event handler. In ASP.NET Core the process is bit different since the application startup process is different. To that end this article explains a way to seed such user and roles data in your applications.

Read More...




Sponsored Links




Read Next: Tip: Pass Comma Separated Values as a Parameter to an SQL Stored Procedure



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�
 
 Subscribe