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 |
Mention what is the difference between temp data, view, and view bag?
What is front controller?
What is mvc technology?
What does model do in mvc?
Why viewstate is not used in mvc?
Is angularjs mvvm or mvc 4?
What is meant by mvc?
what are the benefits of area in mvc?
Why is mvc important?
What is mvc in angularjs?
What is difference between mvc and hmvc?
What is the difference between asynchronous and synchronous actions? When would you use asynchronous actions?