Category Archives: MVC

Ways to pass information from a controller to a view in ASP.NET MVC

There are three ways to pass information from a controller to a view: As a dynamic type (using @model dynamic) As a strongly typed model object. Using the ViewBag See the sample list and three different actions for my HomeController: … Continue reading

Posted in MVC | Tagged , , | Leave a comment