Create first ASP.NET MVC web application
In this tutorial, we will learn how to create our first an ASP.NET MVC web application. This tutorial will assume you have a little or no knowledge of ASP.NET MVC hence it will try to explain in detail the processes involved in creating an ASP.NET MVC Application
- Visual Studio(2017 and above) installed on your Local Machine which can be downloaded here https://visualstudio.microsoft.com/downloads
Creating our project
To create our project, we open the Visual Studio, and then follow the guide ("File >
New > Project > Visual C# Web > ASP.NET Web Application")..
Enter your desired application name and then, select "MVC" template and it will scaffold and MVC template for your project.
Remenber to change the Authentication to Individual User Account using the Change Authentication button as shown in the snapshot above.
After a successful creation of the application(ActivityTab) in our case, explore the project folder in the Solution Explorer. The project files should look as the project files as shown in the snapshot below:
Now, press F5 to run the project in debug mode or Ctrl + F5 to run the project without debugging. It will open home page in the browser as shown below.
Congratulations, you have created your first MVC web application. In the upcoming tutorials, we will explore in details, the features and functionalities that ASP.NET MVC provides for us.
- New Content published on w3resource :
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework