Wednesday, 27 February 2013

How we can create view in razor syntax

Hi All,

This is my second blog on MVC in asp.net , we are going to learn how i can create view in MVC razor syntax.

If you want to learn how to create mode in MVC  click here


Step 1: Open Microsoft visual studio as show in below images.


Step 2: Create New project from file menu as show in below image.


Step 3: Give project name and project location and click on OK.Open one popup window select empty template and select view engine razor. Open you project as show in below image.Automatic created folder structure.


Step 4: After creating project right click on view folder and add new item as show in below images.


Your view is created you can put on some date and call where you want to call this view.



Enjoy MVC





No comments:

Post a Comment