Create an ASP.NET Core web app in Visual Studio Code
https://www.microsoft.com/net/core#windowscmd
安装包后续应该会更新
https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-create-web-app-using-vscode
D:\ChuckLu\Git\GitHub\ChuckLu>mkdir SampleWebApp
D:\ChuckLu\Git\GitHub\ChuckLu>cd SampleWebApp
D:\ChuckLu\Git\GitHub\ChuckLu\SampleWebApp>dotnet new mvc
Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
Telemetry
--------------
The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include command-line arguments. The data is collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
Configuring...
-------------------
A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once.
Decompressing 100% 4614 ms
Expanding 100% 6000 ms
Getting ready...
Content generation time: 428.5828 ms
The template "ASP.NET Core Web App" created successfully.
D:\ChuckLu\Git\GitHub\ChuckLu\SampleWebApp>dotnet restore
Restoring packages for D:\ChuckLu\Git\GitHub\ChuckLu\SampleWebApp\SampleWebApp.csproj...
Generating MSBuild file D:\ChuckLu\Git\GitHub\ChuckLu\SampleWebApp\obj\SampleWebApp.csproj.nuget.g.props.
Generating MSBuild file D:\ChuckLu\Git\GitHub\ChuckLu\SampleWebApp\obj\SampleWebApp.csproj.nuget.g.targets.
Writing lock file to disk. Path: D:\ChuckLu\Git\GitHub\ChuckLu\SampleWebApp\obj\project.assets.json
Restore completed in 1.65 sec for D:\ChuckLu\Git\GitHub\ChuckLu\SampleWebApp\SampleWebApp.csproj.
NuGet Config files used:
C:\Users\clu\AppData\Roaming\NuGet\NuGet.Config
Feeds used:
https://api.nuget.org/v3/index.json
D:\ChuckLu\Git\GitHub\ChuckLu\SampleWebApp>dotnet run
Hosting environment: Production
Content root path: D:\ChuckLu\Git\GitHub\ChuckLu\SampleWebApp
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
相关文章
- visual studio 2017 installer 安装包制作过程出现的问题---此安装程序需要.NET Framework 版本 3.5,请安装该版本,然后重新运行此安装程序,可以从Web获得.NET Framework 。要立即做此事吗?
- 使用 Visual Studio 部署 .NET Core 应用
- Visual Tracking with Fully Convolutional Networks
- C# .NET Visual Studio VS2008如何显示行号
- Asp.Net Web API 2第十六课——Parameter Binding in ASP.NET Web API(参数绑定)
- Asp.Net Web API 2第三课——.NET客户端调用Web API
- 视觉显著性检测(Visual saliency detection)相关概念
- 如果没有Visual Studio 2015,我们如何创建.NET Core项目 ?
- How to debug .NET Core RC2 app with Visual Studio Code on Windows?
- Atitit ..Net Framework sdk 3.0 3.5 4.04.5 4.6 4.7 .net core版本新特性 v2 s22 1. 新特性来源于 down ms 官方网站1
- Atitit ..Net Framework sdk 3.0 3.5 4.04.5 4.6 4.7 .net core版本新特性 v2 s22 1. 新特性来源于 down ms 官方网站1
- Visual Studio Code里使用jshint
- Visual Studio Code 保存代码时报Applying code action Organize Imports
- Visual Assist v10.9.2471.0 Crack
- 猿创征文|Python基础——Visual Studio版本——第六章 MySQL操作
- ASP.NET Core微服务(六)——【.Net Core操作redis】StackExchange.Redis
- Net Core 微服务 - 如何在docker容器里运行一个简单的.net core web api 服务
- 10分钟学会Visual Studio将自己创建的类库打包到NuGet进行引用(net,net core,C#)
- visual studio运行时库MT、MTd、MD、MDd 的区别
- 基于visual-hull算法的图像三维重建matlab仿真
- 如何在 Visual C++.NET 2003 下编译eMule
- Visual Studio Code创建 Vue 基础代模板