Build a. NET Core environment in Ubuntu and A. netcore environment in ubuntu

Source: Internet
Author: User

Build a. NET Core environment in Ubuntu and A. netcore environment in ubuntu
Ubuntu16.04 configure the. net core EnvironmentUbuntu 16.04 desktop: http://www.ubuntu.com/?topic this time is to use vmwareto install the system. Ps: After the system is installed, the default resolution is 800*600, which is a little small. It is very embarrassing to adjust the resolution through the interface. The confirmation button is hidden and cannot be determined. It can only be adjusted through Terminal commands: xrandroid-s 15 is about big enough. The following configuration environment references: https://www.microsoft.com/net/core#ubuntu1. Configure dotnet apt-get feedCommand: sudo sh-c 'echo "deb [arch = amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ xenial main">/etc/apt/sources. list. d/dotnetdev. list 'sudo apt-key adv -- keyserver apt-mo.trafficmanager.net -- recv-keys unzip a0893sudo apt-get update2. Install. NET Core SDKSudo apt-get install dotnet-dev-1.0.0-preview2-003121
3. initialize the program

 
Two files are generated under the newly created hwapp folder. Program. cs is the Program file, and Project. json is the configuration file.
 
4. Run

 
The environment is successfully set up and run!

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.