MVC Training :- How to implement forms authentication in MVC (Model View Controller) applications ?

preview_player
Показать описание

See our other Step by Step video series below :-

In this video we will try to understand how to implement forms authentication in MVC (Model View Controller) applications. This is also one of those tricky MVC interview questions asked during interviews.

Want to Learn MVC 5 in 2 days start from the below video :-

The following syllabus has been covered in Learn MVC 5 in 2 days

Learn MVC 5 in 2 days
Lab 1 : - Simple Hello world(20 Minutes)
Lab 2 : - Explain MVC Routing(10 Minutes)?
Lab 3 : - Explain ViewData, ViewBag, TempData & Session Variables?(20 Minutes)
Lab 4 :- Explain Model and Strongly typed views (20 minutes)?
Lab 5 : - Explain Model Binders(10 minutes)?
Lab 6 :- Why MVC and MVC vs Webforms ? (30 minutes)
Lab 7 :- Explain TempData , Peek and Keep ? (10 Minutes)
Lab 8 : - Explain Data Annotations and HTML Helpers classes?(31 Minutes)
Lab 9 : - What is the need of ViewModel in MVC? (10 Minutes)
Lab 10 : - How can we use Entity Framework in MVC?(20 minutes)
Lab 11 : - How to implement viewmodel, partial view and webgrid?(45 minutes)
Lab 12 : - What is the difference between ActionResult and ViewResult in MVC?(10 minutes)
Lab 13 :- How to implement Ajax using Json and Jquery in MVC ? (60 Minutes)
Lab 14 : - What is the use of Async Controllers in MVC?(20 minutes)
Lab 15 :- How to deploy MVC Application on IIS ? (10 minutes)
Lab 16 :- How can we do Windows and Forms Authentication in MVC? (50 Minutes)
Lab 17 : - How can we use MVC areas for better modular development ? (10 Minutes)
Lab 18 :- How to implement MVC with Angular ? (60 minutes) ?
Lab 19 :- Can we Overload MVC Action methods ? (10 Minutes)
Lab 20 :- How to improve Reusability using Angular ? (20 Minutes) ?
Lab 21 :- What is the need of WebAPI in MVC ? (30 Minutes)
Lab 22 : - How to do exception handling in MVC? (30 Minutes)
Lab 23 :- How to do update and delete using MVC , WebAPI , EF and Angular? (30 Minutes)
Lab 24 : - How to use MVC Webgrid?(30 minutes)
Lab 25 :- How to implement Validation using Angular and MVC (30 minutes)?
Lab 26 :- What is SPA (Single page application)?
Lab 27 :- How to Organize MVC project and Understanding CORS issue ? (42 minutes)
Lab 28 :- Explain the importance of DisplayModes ? (10 minutes)
Lab 29 :- How to do unit testing with MVC projects (30 minutes)?
Lab 30 :- How to implement SPA using Angular Routing ?
Lab 31 :- How to create decoupled systems using MVC DI ?
Lab 32 :- How can we have multiple submit buttons in ASP.NET MVC ?
Lab 33 : - What is the importance of AntiForgery in MVC?
Lab 34 :- What is the importance of ValidateInput and AllowHTML in MVC?
Lab 35:- Bundling and Minification.
Lab 36 :- Layout pages in Razor
Lab 37: - What are ActionFilters in MVC?
Lab 38: - What is WebAPI (Theory)?
Lab 39: - How can we create and consume WEB API (Practical)?
Lab 40 :- MVC 6/ASP.NET Core Training-Part 1 (2 Hours).

Рекомендации по теме
Комментарии
Автор

Do not miss our Interview Question video series

dnfvideo
Автор

respected shiv prasad sir! you are the worlds number one .net trainer. itna easy way me samjhate he ki gadhe ko b samajh ajaye.

prateekbhardwaj
Автор

Thank you for the tutorial. It really helped me understand how to implement the Forms authentication.

MichaelASabo
Автор

Want to Learn MVC 5 in 2 days start from the below video :- 


The following syllabus has been covered in Learn MVC 5 in 2 days 

Learn MVC 5 in 2 days
Lab 1 : - Simple Hello world(20 Minutes)
Lab 2 : - Explain MVC Routing(10 Minutes)?
Lab 3 : - Explain ViewData, ViewBag, TempData & Session Variables?(20 Minutes)
Lab 4 :- Explain Model and Strongly typed views (20 minutes)?
Lab 5 : - Explain Model Binders(10 minutes)?
Lab 6 :- Why MVC and MVC vs Webforms ? (30 minutes)
Lab 7 :- Explain TempData, Peek and Keep ? (10 Minutes)
Lab 8 : - Explain Data Annotations and HTML Helpers classes?(31 Minutes)
Lab 9 : - What is the need of ViewModel in MVC? (10 Minutes)
Lab 10 : - How can we use Entity Framework in MVC?(20 minutes)
Lab 11 : - How to implement viewmodel, partial view and webgrid?(45 minutes)
Lab 12 : - What is the difference between ActionResult and ViewResult in MVC?(10 minutes)
Lab 13 :- How to implement Ajax using Json and Jquery in MVC ? (60 Minutes)
Lab 14 : - What is the use of Async Controllers in MVC?(20 minutes)
Lab 15 :- How to deploy MVC Application on IIS ? (10 minutes)
Lab 16 :- How can we do Windows and Forms Authentication in MVC? (50 Minutes)
Lab 17 : - How can we use MVC areas for better modular development ? (10 Minutes)
Lab 18 :- How to implement MVC with Angular ? (60 minutes) ?
Lab 19 :- Can we Overload MVC Action methods ? (10 Minutes)
Lab 20 :- How to improve Reusability using Angular ? (20 Minutes) ?
Lab 21 :- What is the need of WebAPI in MVC ? (30 Minutes)
Lab 22 : - How to do exception handling in MVC? (30 Minutes)
Lab 23 :- How to do update and delete using MVC, WebAPI, EF and Angular? (30 Minutes)
Lab 24 : - How to use MVC Webgrid?(30 minutes)
Lab 25 :- How to implement Validation using Angular and MVC (30 minutes)?
Lab 26 :- What is SPA (Single page application)?
Lab 27 :- How to Organize MVC project and Understanding CORS issue ? (42 minutes)
Lab 28 :- Explain the importance of DisplayModes ? (10 minutes)
Lab 29 :- How to do unit testing with MVC projects (30 minutes)?
Lab 30 :- How to implement SPA using Angular Routing ?
Lab 31 :- How to create decoupled systems using MVC DI ?
Lab 32 :- How can we have multiple submit buttons in ASP.NET MVC ?
Lab 33 : - What is the importance of AntiForgery in MVC?
Lab 34 :- What is the importance of ValidateInput and AllowHTML in MVC?

dnfvideo
Автор

Thanx, , post me videos related WCf, WPF ..

vennkatrddyyannam
Автор

Hi sir. I got a question yesterday. In token based authentication we create a bearer token. In client side header we pass bearer token, then in webapi how it know the token is authorized token or not. In authorized filter how it know the token.

devasishbehara
Автор

... isn't that convention that Request.Form data should be accessed inside the controller action by its name rather then by its id as you have done at 9:39 . Shouldn't be html elements' ID referenced only for identification inside view by html or JS code ...

hovadopekelne
Автор

isnt working. For some reason I get a red underline, even though I have followed you step for step

tuxedious
Автор

Hello sir. I followed your videos for Authorization. However, I have a small issue here. I get redirect to LOGIN page which if credentials are not correct which is expected, and I get successfully login after providing correct credentials. But my problem is, when I go to another page after successful login, and when I hit Refresh it takes me to the Login page again. Why is it so? Could you please help?

daalwada
Автор

Thank you
Can you give the same example using database
please help me

Googlepaynnn
Автор

But back button is allowing to authorized pages...
What to do in this case

maheswarreddy.madithati
Автор

Any example for connecting the authentication with an active directory for domain authentication??

mohamedsaied
Автор

And [Authorize] actionfilter? Is not compatible

Heimaster
Автор

Can you give the same example using database

please help me

dasrajesh
Автор

Authorize about page is not working. It opens about page even directly without login

ushadeva
visit shbcf.ru