Is forms authentication possible in mvc? If yes then explain in detail how?



Is forms authentication possible in mvc? If yes then explain in detail how?..

Answer / Anil Kumar Singh

Yes, Forms Authentication is possible in MVC. It's a built-in authentication system provided by ASP.NET MVC to handle user login and authorization. Here's a brief overview of its workflow:
1. Users submit their credentials (username and password) via an HTML form.
2. The form data is received by the Controller, which validates the credentials against the database or another secure storage solution.
3. If the credentials are valid, ASP.NET creates a security cookie containing encrypted user information such as identity and roles.
4. The cookie is sent to the client browser, allowing subsequent requests to be authenticated without needing to re-enter login details.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MVC Model View Controller Interview Questions

Mention what is the difference between temp data, view, and view bag?

1 Answers  


What is front controller?

1 Answers  


What is mvc technology?

1 Answers  


What does model do in mvc?

1 Answers  


Why viewstate is not used in mvc?

1 Answers  


Is angularjs mvvm or mvc 4?

1 Answers  


What is meant by mvc?

1 Answers  


what are the benefits of area in mvc?

1 Answers  


Why is mvc important?

1 Answers  


What is mvc in angularjs?

1 Answers  


What is difference between mvc and hmvc?

1 Answers  


What is the difference between asynchronous and synchronous actions? When would you use asynchronous actions?

1 Answers  


Categories