. net core foundation (I): install and create the first webapi


1、 . net introduction

. net is a general term of developer platform, which can be used to build many types of applications.

. net platform: C #, f #, Visual Basic

. net platform standard:. Net standard

. net platform implementation:


Each platform consists of the following components:


Asp.net core is a web application framework based on. Net core platform.


2、 Install the SDK and create a webapi using Visual Studio code

1. Download SDK and visual studio code from the official website and install them

2. Create from the command line

Dotnet new webapi – n project name



Open visual studio code through code



3. Other orders

(1) Compiler: dotnet build

(2) Run command: dotnet run