Categories
Asp, Asp.net

Hello World Application In MVC

Hello World Application In MVC

In this post we will learn how to create a Hello World Application In MVC. Lets start with a hello world application:

1. Open Visual Studio.

2. Click on New Project or, File > New > Project.

3. Choose Asp.Net Web Application and click on ok.

3-10-2014 11-00-48 PM

4. New Window will open choose, MVC from here and click on OK.

3-10-2014 11-05-43 PM

5. Expand Your Controller Folder and change ViewBag.Message=”Hello World”; , and you are done.

3-10-2014 11-14-21 PM