[RESOLVED]Implement Membership Concept in MVC 4 Empty Project


i want to implement asp.net membership concept (that is  implement in MVC 4 internet application Example) in my mvc 4 Empty Project

any one please guide me.

thanks in advance.

Hello Ananth.G Please check the following sample implementation of the Membership Provider on MSDN

It will help you understand how to implement and use the Membership system of ASP.NET.

If you want some more resources about managing your users and many more in your application you can check ASP.NET Identity http://www.asp.net/identity It’s the evolution of ASP.NET Membership system and it’s much
more complete. You can see their differences here


If you need any extra information and guidance do not hesitate to ask,


You can use Nuget to install the membership onto your empty project. Please take a look at this Nuget package


There are several different types of membership packages in Nuget. Please check this and install what is appropriate for your scenario

Top 20 NuGet packages for membership

Hello Prasanna sir

that security guard was working fine.

is it possible to use existing database for this package.

Note :

* That database already contains some tables.


is it possible to use existing database for this package

Please check the web.config for the database connection string and modify it accordingly.

ya sir its working.

actually previously I got error because my existing db have the table called Users

so conflict occur from new table and exist one. so only  I will get error.

now its fine I understood.

Thank u sir.

Thanks to all.

hi sir,

after installed SecurityGuard.MVC4

Areas Folder in Created inside Application.

suppose i enter into Dashboard Index,i got error like this

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Configuration.Provider.ProviderException: The Role Manager feature has not been enabled.

Please give me a solution.

Leave a Reply