Part 3 - How to implement custom Forms Authentication in ASP.NET MVC4 application

Published : 03-Jul-2015   

In this post, I am going to implement custom Role Provider in Forms authentication in ASP.NET MVC4 application.There might be multiple types of users (Like Administrator, registered users, Agent users) in an application, who can perform different type of action based on the roles assigned to a user. For this authorization process ASP.NET offers a RoleProvider class. 



Part 2- How to implement custom Forms Authentication in ASP.NET MVC4 application

Published : 02-Jun-2015   

In this post, I am going to implement custom Membership Provider in Forms authentication in ASP.NET MVC4 application.In the previous part of this series, we have implemented very simple and easy forms authentication. Now we will see how we can implement our custom Membership Provider.


Part 1- How to implement custom Forms Authentication in ASP.NET MVC4 application

Published : 02-Jun-2015   

In this post, I am going to implement Custom Forms authentication in ASP.NET MVC4 application. I often find that developers feel uncomfortable setting up Forms Authentication in their web applications. In ASP.NET default membership provider, Information about users and their roles stored in the predefined table and its not customizable which makes it very complicated to take full control of the database and forms authentication mechanism. I have split the entire application split into following parts for making things more simple and understandable.