6 ways to return multiple models on a single view in MVC 5 | Advanced MVC 5 concepts

preview_player
Показать описание
MVC tutorial: In this video, you will learn how to use multiple models in a single view in MVC 5.4
This video will teach you 6 ways to use multiple models in a single view in MVC.
:: First, we will learn about ViewModels in MVC which is a common way to return multiple models on view. ViewModel in itself is a simple model class that has other models class as a property.
:: Then we will learn about Dynamic models in mvc. Dynamic model is a run time model that is resolved at run time. Dynamic model use ExpandoObject to create the model and assign property.
:: In a third way, we will learn how to return multiple models using tuples in MVC.
:: In a fourth way, we will use ViewBag to return multiple models in MVC
:: In a fifth way, we will use ViewData to return multiple models in MVC
:: Last and sixth way will be Return multiple models using partial views.

Timestamp:
# Objective of this video 00:28
# Demo start 01:46
# Return multiple models using ViewModels 03:54
# Return multiple models using Dynamic model (ExpandoObject) 13:39
# Return multiple models using Tuples 19:53
# Return multiple models using ViewBag 24:31
# Return multiple models using ViewData 26:43
# Return multiple models using PartialView 29:05

#6WaysToReturnMultipleModelsOnView #TopMVCInterviewQuestion #MultipleModelsOnASingleView

Follow us on
==========

Popular free courses from WebGentle
=========
Рекомендации по теме
Комментарии
Автор

Timestamp:
# Objective of this video 00:28
# Demo start 01:46
# Return multiple models using ViewModels 03:54
# Return multiple models using Dynamic model (ExpandoObject) 13:39
# Return multiple models using Tuples 19:53
# Return multiple models using ViewBag 24:31
# Return multiple models using ViewData 26:43
# Return multiple models using PartialView 29:05

#TopMVCInterviewQuestion #MultipleModelsOnASingleView




Do ✌️ Like and subscribe the channel. #KeepLearning

WebGentle
Автор

very very precious tutorial. This tutorial deserves much more views. i've learned many things here.

morsheddld
Автор

Very good. This is a MUST video to understand all the ways for passing data from models into a View. I've used most of them.

getsmartpaul
Автор

awesome tutorials, your are making everything very simple and effective Thanks Lot sir.

swapnilbawankar
Автор

very well described, I had been asked this question in an interview but i only knew about doing it with tuples.Though further he had asked disadvantages of using tuples!! if you can answer this, will really appreciate. Thanks

AshwaniKumar-ydun
Автор

These tutorials... they will kill me one day...

DJnoratos
Автор

So well explained with examples, your videos are so good

programmerguide.
Автор

Thank you so much. Please implement cascading checkbox list in mvc using jQuery ajax.

niteshkamde
Автор

Hey, nice tricks dude. I learned so much, thanks.

Vindasag
Автор

Thank you for a great video...very clear and great explanation with many different ways.

vinitasingh
Автор

Thanks a lot sir ji is video me jo topic btaye h uski bhut jrurat thi thanks

vinaydeveloper
Автор

Very nice...wonderful explaination..make video for Azure also..

vandnajaiswal
Автор

Great video man! Learned very practical stuff.

abdur
Автор

Sir ek request h aapse ki aap jo video bna rhe h woo bhut acha h bt sir pagination ke liye bhi video baniye sir

vinaydeveloper
Автор

Hello Sir
I like the way you explain about MVC
I just want to ask one question. I m creating online test project. In this project, i want to show one question with there option. Once we select the answer and click on Next Button . Then on that page next question with option display. Plz help me in this.

ankurprakash
Автор

What a awesome video... Thanx a ton..!!

silajitsaha
Автор

Very clarity explanation
But same u explain with help of database

maheshsuddula
Автор

very nice video .sir please on video for creating dynamic cotrols when controls are define in database like textbox, dropdown, label etc

manojyadav-rmzl
Автор

Its just a great video, but i have a question, this can work connecting to sql? this ways dont let me get back the data from the bd

misheru
Автор

Thank you... Sir Angular me kuch video banae please...

souravdas