Configuring the ASP. NET core development environment on Mac

Source: Internet
Author: User
Tags install node

Install the. NET Core SDK

Https://www.microsoft.com/net/core#macos

Install vs Code

Https://code.visualstudio.com/Download

    1. With VS code, you need to install some necessary plugins, such as C # extention. You can manage your plugins by the bottom of the five large button options on the left.
    2. IDE has some shortcut keys, this Baidu or Bing can.
    3. Run debugging, fourth option on the left
    4. Git configuration, third option on the left

Installing Nodejs

It is recommended to use homebrew installation software, if any.

Brew Install node

Installing Yeoman

Yeoman is a great tool that can help you build a variety of project skeletons.

> npm install-g Yo Bower

Installing the ASP. NET Core Template

> NPM install-g generator-aspnet

Create an ASP. NET Core app

Reference: Https://docs.microsoft.com/en-us/aspnet/core/client-side/yeoman? #building-projects-with-yeoman

Build project and project files using the Yeoman Generator tool

Getting used to vs creating class or interface is not used to creating different project, class, interface with VS code.

With yeoman ASP. NET Generator we can generate the corresponding project and file on the command line.

Specific reference: Https://github.com/OmniSharp/generator-aspnet

When vs 2017 is available, it's probably better.

Complete example

Reference: Https://www.codeproject.com/Articles/1155738/NET-Core-On-Mac-Building-An-ASP-NET-Core-App-With

Configuring the ASP. NET core development environment on Mac

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.