Asp.Net Identity Management Dashboard

I have been looking for some application that will provide easy administration of users and roles created using Asp.Net Identity in MVC applications. Recently with release of Asp.Net Identity V2.0 MS released a beta implementation of MVC project that implements some key features of identity management. So I decided to take that as a starting point and put together an Identity Management Dashboard that served the purpose of some basic management of user accounts.

Download Source

I have published this MVC project as NuGet package. You can download it from following location.

Asp.Net Identity Management Dashboard

Getting project to work

Here are some of the things that you will need to get this project working for you.

  • The uploaded project uses .Net4.5.1, so you will need to make sure you have latest and greatest. And preferably Visual Studio 2013
  • Update connection string in the project to point to database that holds Asp.Net Identity tables for your application
  • I have removed all assemblies from the project. So you will have to update NuGet packages along with .Net assembly references for the project. Otherwise you will get compile and run time errors.
  • Make sure that you have an account with Admin role in your database. If you name that role differently then make sure that you make the change in the source code to use that name in Authorize attribute.

        [Authorize(Roles = "Admin")]
        public class UsersAdminController : BaseAuhenticatedController
        { ..... }
    

    If you don't update the code to reflect correct role name, you will be prompted for login unless you login with an account that has the role.

Examples

Here are some screen shots that show you what all is currently available in this dashboard

Enhancements

Current implementation is based on MS sample. I have made some bug fixes and enhancements to it. As I develop it further, I will keep updating NuGet package.

comments powered by Disqus

Blog Tags