<> One : Open command line

Run it :
dotnet new --list

Create project from template
dotnet new console -n helloword

So take a look dotnet core Solutions created helloword.csproj
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework> </PropertyGroup> </Project>
Revised as
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework> <RuntimeIdentifier>win10-x64</
RuntimeIdentifier> </PropertyGroup> </Project>
Execute command generation exe file
dotnet build
Start program execution command
dotnet run
Transform the console program into web implement
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework> <RuntimeIdentifier>win10-x64</
RuntimeIdentifier> </PropertyGroup> <ItemGroup> <FrameworkReference Include=
"Microsoft.AspNetCore.App"/> </ItemGroup> </Project>
Modify console program
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft
.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions
.Hosting; using System; namespace helloword { class Program { static void Main(
string[] args) { WebHost.CreateDefaultBuilder().UseKestrel().Configure(app =>
app.Run( context => context.Response.WriteAsync("hello word!") )).Build().Run();
} } }
Continue to start the program

And that's it web start-up

Technology
©2020 ioDraw All rights reserved
Interview questions : Handwritten list ( Include reverse linked list )C Notes on language learning —— Pointer : Pointer and one dimensional array error: (-215:Assertion failed) Solution layui.table Examples of dynamically getting header and list data python Simple record of network programming After the outbreak Which programming has a bright future Java Summary of basic learning (162)—— How to ensure thread safety ?vue el-input Do not enter special characters Only numbers can be entered Regular verification MYSQL database DML Common commands python in list and str Mutual conversion