ASP. NET core uses angular templates

Source: Internet
Author: User
Tags dotnet

As a programmer, of course, you should always learn. NET core is the new skill that Microsoft is developing, and of course it has to be a bit of a skill point on this talent tree. (For the first time, I don't know what to write ( ̄▽ ̄) ~*)

Recently because of the study of DDD, so write down this article.

If your vs supports. NET Core2.0, you can see the option to add a template in a new project

. NET Core 2.0 Sdk:https://www.microsoft.com/net/core#windowscmd

Restart VS2017 after installation to see the template options

If you do not have. NET Core2.0 installed, you can use the command action

Cmd/poweshell:dotnet new--install Microsoft.AspNetCore.SpaTemplates::*

Input:dotnet new to see that the angular template has been added

Then enter: mkdir angularweb Create a new empty project folder under the specified path

CD angularweb\

donet New Angular

Reference: https://jonhilton.net/2017/02/21/create-a-vs2017-angular-2-and-net-core-site-using-the-command-line/

Https://www.youtube.com/watch?v=9sxfV67zCDE

ASP. NET core uses angular templates

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.