This post was last edited by lzzsf on 2019-3-1 09:56
Preparation before development: You can install the Linux subsystem based on Windows 10 for development and debugging by yourself, because it is suitable for your own development, feel that it is not good, please install a virtual machine, Help-V or VM is fine, and it is relatively tall, and there are many versions to choose from.
The subsystem is Windows 10 and must be in developer mode, where: Settings--- Update and Security - Developer Options does not start developer mode. Then search for Linux in the app store, install the Ubuntu version of the Linux system, you can use $su -root user to log in for the first start, then set a password, confirm the password, if you don't like root, you can create a user by yourself, $useradd username, and then set a password, and you can use a new username.
Install Docker on Linux (don't know what Docker is,Click here), docker official reference documentationClick here.
Install docker support1 Update the package index for Ubuntu
2 Let the server update the repository using HTTPS
3 Add the docker key
4 Verification key
5 Set up officially supported repositories
6 Install docker
##先更新Ubuntu索引 $ sudo apt-get update ##安装社区版本 (docker ce), docker EE is the enterprise version $ sudo apt-get install docker-ce (If installing a fixed version, optionally install docker-ce=version number) 7 Check whether the installation is complete and enter $docker --version (as shown in the figure, the installation is complete)
Install the .NET core SDK Microsoft official website document, click here, this time to install Ubuntu version 18.04, query the Ubuntu version command $ lsb_release -a 1 Sign up for Microsoft authorization2 Installation. NET SDK
3 Detect the results and query the version
$ dotnet --version
At this point, .net core can be started on Linux, supporting all of themdotnet command(Old rules, read the document by yourself, remember by yourself, manual funny) |
The reason why many large manufacturers have abandoned net is largely because they cannot boast about the platform, net is only limited to deployment in IIS, and some people say that it is because of the poor C# syntax and low efficiency, I don't know where this confidence comes from. Large rocks (New Life TeamI said that if you want a high salary, you must learn more and contribute more to the community. Have time to continue filling in the pit deployed to docker (Study documentation)
|