In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces asp.net core how to build a new project, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
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.
Thank you for reading this article carefully. I hope the article "how to build a New Project in asp.net core" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you 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.