Skip to main content

Posts

Showing posts with the label Engine

ASP.NET MVC 5 (Part 3)

In this tutorial, we will discuss the " View" and "Model" part from the MVC framework.  As we already knew, a model class does not depend on the controller and view classes. Model class represents the data of the application.  Public properties of model classes hold the data. All model classes reside in the Model folder. Let's see how to add a model class in MVC Project.  Model Let's add a model class in the project MVCProject which we have created in my previous article  ASP.NET MVC 5 (Part 1) .Right-click on the  Models  Folder and click  Add->Class. In the  Add New Item  dialogue, Enter the class name  "Student"  and click the Add button.    Add properties which will hold the student information. So, this is our model class. Let's discuss "View" part of the  MVC . View A view is a user interface. view display data from the m...