A boilerplate used in Angular & ASP.NET Core solutions with a desire for separation of concerns.
This boilerplate demonstrates how to separate your ASP.NET Core backend and Angular frontend using @angular/cli
Storing the scripts inside ASP.NET Core Web App projects proves tricky when there is a need to share modules/components/services between multiple Angular applications, or the developer needs to transpile one or multiple Angular applications to different ASP.NET Core backends.
- Node 6.9.5 or higher, NPM 3 or higher
- Global @angular/cli installation
- Visual Studio 2017 with ASP.NET Core development dependencies
- Open the Backend.sln solution in Visual Studio 2017
- Open command line & navigate to .\apps\sample-app
- Execute "npm install" to install dependencies
- Execute "ng build" on the command line. Wait until build is finished.
- Ctrl + F5 in visual studio