官术网_书友最值得收藏!

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:

  1. Open Visual Studio and go to File | New | Project..., as shown in the following screenshot:
  1. 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:
  1. 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:

  1. 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.
主站蜘蛛池模板: 泸水县| 乌恰县| 乃东县| 镶黄旗| 汝州市| 都昌县| 漾濞| 宜阳县| 承德县| 武山县| 南城县| 文安县| 澄江县| 灯塔市| 囊谦县| 长泰县| 宁南县| 威宁| 东宁县| 滨州市| 金沙县| 无极县| 清苑县| 铁力市| 连云港市| 烟台市| 广水市| 扶沟县| 永顺县| 武隆县| 天等县| 周至县| 长治县| 博乐市| 佳木斯市| 旌德县| 梁平县| 西平县| 广宗县| 伽师县| 兴宁市|