Explain user authentication and authorizeattribute in mvc?
Answer / Deepesh
{"user authentication": "A mechanism that allows a system to verify the identity of a user, typically before granting access to resources or services. In MVC (Model-View-Controller) architecture, it is usually implemented through middleware such as ASP.NET Identity.","authorizeattribute": "An attribute in ASP.NET MVC that can be used to restrict access to actions or controllers based on roles, users, or other conditions. The AuthorizeAttribute can be applied to a class (for all methods) or a method (for specific methods)."
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between view and partial view?
Why filters are used in mvc?
Explain the possible ways to prevent xss attacks on mvc application?
What is the difference between partial view and layout in mvc?
What is routing in mvc interview questions?
What does mvc mean?
What is orm in mvc?
What is mvc in programming?
How the Routes in webform application and an MVC application differ?
Explain mvc (model-view-controller)?
What is difference between MVC and MVP ?
What is razor view engine in mvc?