Here i will show you an example of ASP.Net MVC Hello World Application.
ASP.Net MVC Hello World tutorial:
Step 1: Open Visual Studio & Click on File - New Project
Step 2: In the New Project Dialog box under Visual Studio Installed templates - Select ASP.Net MVC Web Application & Name the project as HelloWorldMVC - You can create applications using Visual Basic or Visual C#. For now, Select Visual C# and Click on OK
Step 3: In the Next "Create unit Test project" dialog box Select - "No" for not creating a unit test project.
Step 4: Now you will find one demo module is added in Solution Explorer as shown in figure.
Step 5: Now Click on the Debug (Press F5) button to Run the project. Now you will find a demo site as shown in figure. [Note we have modified the text of About Us through About.aspx]. This site by default have two link which are Home & About and also it has Login and register page which you can modify according to your need.
No comments:
Post a Comment