This is a quick tip for those of you working on .NET web applications. In this article I will show you how to pre-populate an ASP.NET MVC web application with initial user accounts and roles. This is helpful in web apps that use their own membership database to store individual user accounts.
I learned this trick from an article I found on the internet years ago. I would love to give credit to the original author, but I don’t keep the link to the article.
Let’s get started.