filmov
tv
6 ways to return multiple models on a single view in MVC 5 | Advanced MVC 5 concepts
![preview_player](https://i.ytimg.com/vi/ITWZmUYnQ-s/maxresdefault.jpg)
Показать описание
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
=========
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
=========
Комментарии