In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "how to build a new project in ap.net core". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to build a new project in ap.net core".
ASP.NET Core-New Project
In this chapter, we will discuss how to create a new project in Visual Studio.
As long as you have installed the .net core tools for Visual Studio 2015, you can start building a new ASP.net core application by selecting: File → New Project from the menu
In the new project dialog box, you will see the following three different Web project templates
Template for ASP.NET Web Application − simple ASP.NET application.
ASP.NET Core Web Application (.NET Core) − this will launch your cross-platform project based on. Net core framework.
ASP.NET Core Web Application (.NET Framework) − this starts a new project for. Net framework running on windows systems.
Select Templates → Visual C # → Web in the left panel, and then select the ASP.NET Core Web Application (.NET Core) template in the middle panel. Also let's name the application FirstAppDemo and specify the location of the Asp.Net Core project, and then click OK.
In the above dialog box, you can select a specific template for the Asp.Net application from the available ASP.Net Core templates.
The ASP.NET Core templates template contains three different templates.
Among them, the Web Application template will help you develop files on your file system, which allows you to develop directly using MVC.
Here, we will use an empty template that will help us build it from scratch.
Let's select the empty template, close Host in the Cloud and click OK.
Visual Studio will now start the project for some time.
In the solution Explorer window, you will see all the files in this project.
Let's run this application, you can start by pressing Ctrl F5, or through the debug menu: after selecting the debug menu, select start execution (do not debug).
This application can only display Hello World!
This runs on localhost:57741.
In the window of the system tray, you can also see that IIS Express is running.
Here, you can see that the name of the website is FirstAppDemo.
At this point, I believe you have a deeper understanding of "how to build a new project in ap.net core". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.