ViewBag and View Data in ASP.NET MVC

preview_player
Показать описание
In this screencast I discuss the ViewBag and ViewData properties in ASP.NET MVC. We look at how they can be used to pass data (both simple and complex) from controller action methods down to razor views.

You can download the code created in this video here:

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

Thanks. Interesting idea. Are you thinking via AJAX or something like that?

mikeckennedy
Автор

Really like your videos. Can I convince you to make a video where you get a partial view from your cshtml while running the application? Like say searching for a city name while writing the zipcode in.

TheMichaelTot
Автор

Thats the idea. Or if you got an alternative way that whould be great. ^^

TheMichaelTot