Introduction
In this article we will learn how to create our First Asp.Net MVC Application using Model class, View and Controller. We will learn the individual components and display a message on screen using MVC. Let's start the step by step proccess to create our application.
Step 1
Download the latest Visual Studio version or Use Visual Studio 2013 or above. ( I am Using Visual Studio 2017)
Step 2
Open Visual Studio 2017 and click on File Menu ->New ->Project

Step 3
In the left side template expand Visual C# and select Web -> ASP.NET Web Application. Enter the name of your a pplication. (I used FirstMvcApplication) and if you want to change project location then click on browse and set location.

Step 4
Select MVC and Check checkbox MVC for adding folder and core reference. (Note-:on Right side Authentication-No Authentication)
Click on OK

Step 5
When you click ok, Visual Studio automatically creates the MVC Application. On the right side you will see the following folders:
App_Data : Used for Database File Stored
App_Start
Content: Where we store css files and any other client file.
Controller: Provides action
Fonts: Required for Text or any other action
Models: Domain classes are here
Views: In the View name after controller, it is used for displaying view to the user.
Firstly we working onModel: Right Click on Model Folder -> Add -> class -> Name it Game









Join the conversation! Your thoughts help the community grow.