Basic web application using .NET Core and Angular 2/4

Hello, I am looking for instructions using the yoman application generator or the minimum code template to create a web application that integrates both the Entity Framework Core and Angular 2/4.

It is preferable that the provided answer use the yoman application generator. Also, I do not mind installing any other necessary tools to achieve this goal.

+6
source share
1 answer

So far, I have not found a Yeomen generator for all three packages - ASP.Net Core, Entity Framework Core, and Angular.

However, for ASP.Net Core and Angular, there is an official aspnetcore-spa generator template. Note: the current generator has been updated to Angular 4, although it said 2.

  • npm install -g yo generator-aspnetcore-spa
  • cd some-empty-directory
  • yo aspnetcore-spa

enter image description here

NOTE This requires the dotnet SDK version 1.0.0 or later . If you have an old version, it will prompt you to upgrade your dotnet SDK first when you run yo aspnetcore-spa .

YouTube video

ASP.NET Core for Angular, React, Knockout, and More - Steve Sanderson

+4
source

Source: https://habr.com/ru/post/1015697/


All Articles