Sunday 27 November 2016

MVC Part 3

How to Create MVC Application


Basic Steps

Start Visual Studio and Select File --> New Project  (shown in screenshot)

New Project Window


Visual C# --> Web --> ASP.NET MVC (Version) Web Application --> Enter Our Project Name --> Press OK Button(shown in screenshot)

Select Template Window For Application 

Select Internet Application --> Press OK Button(shown in screenshot).

Creating Project Application Window progress window
By this, Visual Studio will create our MVC project like this (shown in screenshot):
Project Window
Now run the application. This will give you the following output in the browser. This output is rendered based on the content in our View file. The application first calls the Controller which in turn calls this View and gives the output.


No comments:

Post a Comment