MVC Model

The model represents the data, and does nothing else. The model does NOT depend on the controller or the view.

Questions

Related Tags:
C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, ASP.NET MVC The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly. Learn More, MVC View View is a user interface. View displays data from the model to the user and also enables them to modify the data. ASP.NET MVC views are stored in Views folder. Learn More, MVC Model The model represents the data, and does nothing else. The model does NOT depend on the controller or the view. Learn More,

Question:send multiple models or parameters from controller to view?

Description:if I need to send multiple models and some parameters to my view what will be the best approach ? one way I know is to use viewbag variable but someone told me that its not a very good approach because it does not provide the intellisense. So a bit confused which approach can fulfil the requirement

View Details

Posted by: Jhon Anthony | Posted on: Oct 12, 2018


1