Cross platform series summary :http://www.cnblogs.com/dunitian/p/4822808.html#linux
<http://www.cnblogs.com/dunitian/p/4822808.html#linux>

VSCode install :http://www.cnblogs.com/dunitian/p/6661644.html
<http://www.cnblogs.com/dunitian/p/6661644.html>

Sogou Pinyin installation :http://www.cnblogs.com/dunitian/p/6662374.html
<http://www.cnblogs.com/dunitian/p/6662374.html>

Go directly to the appendix :https://www.cnblogs.com/dunitian/p/6745562.html#netcore2.1
<https://www.cnblogs.com/dunitian/p/6745562.html#netcore2.1>

Official reference link :

Download offline : https://www.microsoft.com/net/download/linux
<https://www.microsoft.com/net/download/linux>

.NET Core command https://docs.microsoft.com/zh-cn/dotnet/articles/core/tools/index
<https://www.cnblogs.com/dunitian/p/%20https://docs.microsoft.com/zh-cn/dotnet/articles/core/tools/index>

1. Set up source and update https://www.microsoft.com/net/core#linuxubuntu
<https://www.microsoft.com/net/core#linuxubuntu>



2. install SDK



sudo sh -c 'echo "deb [arch=amd64]
https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" >
/etc/apt/sources.list.d/dotnetdev.list'

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893

sudo apt-get update

1. Create a console program  dotnet new console -o xxx



2. use VSCode open



3.Ctrl+` Open terminal



4. First open CS The file will load some packages for debugging



5. Load dependency package dotnet restore, Run program  dotnet run



6. Automatically created profile



7. Run console



8.ok 了 ,vscode Probably not VS Hi, Pipi , But it's really much better than other editors , Get used to it



9. establish MVC project  dotnet new mvc -o MyMVC



10. Load dependency package dotnet restore  function dotnet run



11. Browser opens the address ~ Operation effect



appendix : <>

install NetCore development environment :

Ctrl+Alt+T, Call out terminal , Input line by line
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor >
microsoft.asc.gpg sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ wget -q
https://packages.microsoft.com/config/ubuntu/18.04/prod.list sudo mv prod.list
/etc/apt/sources.list.d/microsoft-prod.list sudo apt-get install apt-transport-
httpssudo apt-get update
# If you just want to run netcore, Then install the operating environment :sudo apt-get install dotnet-runtime-2.1
sudo apt-get install dotnet-sdk-2.1  
  Reference picture :

 

I pc Running environment is installed



Installation and development environment :https://www.microsoft.com/net/learn/get-started/linux/ubuntu18-04
<https://www.microsoft.com/net/learn/get-started/linux/ubuntu18-04>

Installation and operation environment :
https://www.microsoft.com/net/download/linux-package-manager/ubuntu18-04/runtime-2.0.7

<https://www.microsoft.com/net/download/linux-package-manager/ubuntu18-04/runtime-2.0.7>