Code Monkey home page Code Monkey logo

boilerplate-separated-aspnet-core-angular's Introduction

Separated ASP.NET Core & Angular SPA boilerplate

A boilerplate used in Angular & ASP.NET Core solutions with a desire for separation of concerns.

What is it about

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.

Pre-requisites

  1. Node 6.9.5 or higher, NPM 3 or higher
  2. Global @angular/cli installation
  3. Visual Studio 2017 with ASP.NET Core development dependencies

Quick start

  1. Open the Backend.sln solution in Visual Studio 2017
  2. Open command line & navigate to .\apps\sample-app
  3. Execute "npm install" to install dependencies
  4. Execute "ng build" on the command line. Wait until build is finished.
  5. Ctrl + F5 in visual studio

boilerplate-separated-aspnet-core-angular's People

Contributors

jolmari avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

boilerplate-separated-aspnet-core-angular's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.