Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Base Layer of Web App that Uses .NET Core and Angular 2/4

Tags:

asp.net

yeoman

Hello I am am looking for instructions using yeoman app generator or a template of the minimal amount of code to create a web application that integrates both Entity Framework Core and Angular 2/4.

Preferably the answer provided would use the yeoman app generator. Also I do not mind installing any other necessary tools to achieve this objective.

like image 346
RyeGuy Avatar asked Mar 13 '17 02:03

RyeGuy


1 Answers

So far, I haven't find yeomen generator for all three packages - ASP.Net Core, Entity Framework Core and Angular.

However, there is an official generator template aspnetcore-spa for ASP.Net Core and Angular. Note: current generator is 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: It requires dotnet SDK version 1.0.0 or later. If you have old version, it'll prompt you to update your dotnet SDK first when you run yo aspnetcore-spa.

YouTube Video

ASP.NET Core for Angular, React, Knockout etc developers - Steve Sanderson

like image 91
Win Avatar answered Oct 18 '22 01:10

Win