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

让人想犯罪 __ 提交于 2019-12-10 14:01:57

问题


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.


回答1:


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

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



来源:https://stackoverflow.com/questions/42755777/base-layer-of-web-app-that-uses-net-core-and-angular-2-4

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!