![Hands-On Full:Stack Web Development with ASP.NET Core](https://wfqqreader-1252317822.image.myqcloud.com/cover/264/36699264/b_36699264.jpg)
上QQ阅读APP看书,第一时间看更新
Creating an ASP.NET Core application
Every ASP.NET Core application starts with creating a new project. This new project can start empty or with a predefined template.
We will start by creating an empty project. To do so, follow these steps:
- Open Visual Studio and go to File | New | Project..., as shown in the following screenshot:
![](https://epubservercos.yuewen.com/BBCF69/19470386501528506/epubprivate/OEBPS/Images/90bf5ac9-aa36-4e72-b626-ef9cbf79638a.png?sign=1738879378-fgiN3E0cVOKnWhrByqEaazyuco3Z4Igw-0-4b56a2740a5defe04769865497f72ac6)
- In the New Project dialog, navigate through the list on the left to Visual C# | Web, then choose ASP.NET Core Web Application, fill in the application name as GiveNTake, choose your desired location, and click OK:
![](https://epubservercos.yuewen.com/BBCF69/19470386501528506/epubprivate/OEBPS/Images/936b9142-8b47-437b-9e95-33406dc5c585.png?sign=1738879378-oTLbv5vER8y6fQVbo1BAZEyvwcp0PShS-0-463b15f28b2a3591579c17828170dc7e)
- The New ASP.NET Core Web Application- GiveNTake dialog opens. Choose Empty from the list and click OK to create the project. Make sure that you choose ASP.NET Core 2.0 from the version list:
- After a few moments, your web application will be ready, and should look something like the following:
Creating a new empty ASP.NET Core project via the .NET CLI utility is done via the dotnet new web command.