MVC Video :- Difference between viewdata,viewbag,tempdata and session.(MVC Interview questions)
.NET Interview Preparation videos
@dnfvideoAbout
Video tutorials of C#, Design Pattern, UML, C#, ASP.NET etc. from http://www.DotNetFunda.com
Latest Posts
Video Description
Buy full MVC 5 & MVC CORE course from here https://www.questpond.com/learn-mvc-5---mvc-core-step-by-step/cid19 For more such videos visit http://www.questpond.com For more such videos subscribe https://www.youtube.com/questpondvideos?sub_confirmation=1 See our other Step by Step video series below :- Learn C# Step by Step https://goo.gl/FNlqn3 Learn Design Pattern Step by Step:- https://goo.gl/eJdn0m Learn Angular tutorial step by step https://tinyurl.com/ycd9j895 Learn MVC Core step by step :- http://tinyurl.com/y9jt3wkv Learn Azure Step by Step :- https://tinyurl.com/y6fmrech Learn SharePoint Step by Step in 8 hours:- https://goo.gl/XQKHeP Python Tutorial for Beginners:- https://youtu.be/KjJ7WzEL-es Learn Data Science in 1 hour :- https://tinyurl.com/y5o7qbau Learn Power BI Step by Step:- https://tinyurl.com/y6thhkxw Learn MSBI Step by Step in 32 hours:- https://goo.gl/TTpFZN Learn SQL Server Step by Step http://tinyurl.com/ja4zmwu Learn Tableau step by step :- https://tinyurl.com/kh6ojyo In this MVC ( Model view controller) video we will try to understand what is the difference between viewdata,viewbag,tempdata and session.This is an interesting MVC interview question and below is a textual answer for the same. Temp data: - Helps to maintain data when you move from one controller to other controller or from one action to other action. In other words when you redirect, "tempdata" helps to maintain data between those redirects. It internally uses session variables. View data: - Helps to maintain data when you move from controller to view. View Bag: - It's a dynamic wrapper around view data. When you use "Viewbag" type casting is not required. Want to Learn MVC 5 in 2 days start from the below video :- https://goo.gl/1br5mb 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(15 minutes) 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). Visit us at http://www.questpond.com for more details We are also distributing a 100 page Ebook "ASP.NET MVC". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on [email protected] with the shared link and we will email you the PDF.
Boost Your MVC Skills Today
AI-recommended products based on this video

Dash Cam Front and Rear Camera – 4K+1080P Dual Dash Camera for Cars with 64GB SD Card, 5G/2.4GHz WiFi & App Control, Night Vision, Parking Mode, G-Sensor, Loop Recording, WDR, 170° Wide Angle

DELLFY Dash Cam, Dash Cam Front and Rear with App Control, 4K UHD Front Camera+2K Rear Cameras, Front 170°+Rear 160°, Night Vision, Dash Camera for Cars with 3.0" IPS Screen, 32GB Card











