Thursday, July 3, 2014

Create your first MVC3 application

Create your first MVC3 application

In this article I am sharing my thoughts on to create very basic MVC application and terminology being used.

MVC

Here we go:

Open your visual studio, click on New Project and select ASP.NET MVC3 Web Application:

clip_image002[8]

 

Specify the name of your first application like your desire and click ok.

New window will appear ,from that window I picked up internet application whilst many options are there .Another intersting fact that there is a dropdown named as View Engine I seleccted Razor which is more specific to MVC 3 and MVC 4 and keep a checkbox “create a new unit test” unchecked.

 

clip_image004[5]

Click on ok button .

The given below depict screen is default one comes after clicking on OK button.Hvaing multiple folder’s.

clip_image006[6]

Let’s go into more detail for this.I tried to associate MVC new terms with traditional webforms application.

clip_image008[6]

clip_image010[6]

clip_image012[6]

This is what I tried to shared with you,Will come up with more articles on MVC soon.

Press F5 and you will see the very basic output of application.

clip_image014[6]

Its very simple ,you need to create a simple asp.net application and

To know more about MVC kindly go through with the links given below:

 

Kindly let me know if having any query.

Chees .Net Smile

Sachin Kalia

0 comments :

Post a Comment