Sunday, 22 June 2014

2 :- Intro .Net MVC4 using Visual Stdio 2012

Get Started

Start Visual Studio Express 2012. Select New Project from theStart page.New Project from the Start page, you can use the menu and select File > New Project.


Creating Your First Application
You can create applications using either Visual Basic or Visual C# as the programming language. Select Visual C# on the left and then select ASP.NET MVC 4 Web Application. Name your project "Student" and the click OK



In the New ASP.NET MVC 4 Project dialog box, select Internet Application. Leave Razor as the default view engine.




Click OK. Visual Studio used a default template for the ASP.NET MVC project you just created, so you have a working application right now without doing anything! This is a simple "Hello World!" project, and it's a good place to start your application.


From the Debug menu, select Start Debugging


 Browser display output Look like bellow:



this default template gives you  Home, Contact and About pages..


Best of luck..

No comments:

Post a Comment