ProgrammerGuide.Net | Step by Step Programmer Guide

How To Enable Role Manager Feature In ASP.NET MVC? | ASP.NET MVC Interview Question

We can enable Role Manager feature in ASP.NET MVC by configuring in web.config file. Below is the configuration details on how to enable Role Manager in ASP.NET MVC.

        <roleManager enabled="true" />

If Role Manager not enabled, you will receive ProviderException : The Role Manager feature has not been enabled while Initializing the SimpleMembershipAttribute

Please click here for related products on Amazon!


Add comment

Want to Check Celebrities News?