How to start to create MVC project with Visual Studio 2013(C# .NET MVC)
Step by step
Create Project
1. Click menu File and New Project.
2. Select Web and Visual Studio 2012 and select "ASP.NET MVC 4 Web Application".
3. Type Name of a project and click OK.
4. Select Empty template and Razor. Next click OK.
Create Controller
1. Click right at folder Controller and Add and Controller.
2. Shoot the name of the controller.
3. Click Add
1. Click right at folder View and add a subfolder.
2. Shoot name for this subfolder.
3. Click right at subfolder and select Add and View
4. Shoot name for this view and click Add
5. Type something in body tag and run project
ไม่มีความคิดเห็น:
แสดงความคิดเห็น