Giter VIP home page Giter VIP logo

di2017-aspnet-core-angular's Introduction

Angular Applications with ASP.NET Core

Session Samples and Slides for ASP NET Intersection 2017

These materials cover both Part 1 and Part 2 of the sessions given at Dev Intersection 2017:

  • Angular Applications with ASP.NET Core: Part 1 - Getting Started

  • Angular Applications with ASP.NET CORE: Part 2 - Putting it all together

This repo contains the source code to the Todo sample application that we built in Part 1 as well as the combined slide deck for both sessions.

Please note that the linked slide deck includes many more slides than were shown during the two sessions. The slides in the combined PPTX provide a more complete story that's meant to be free standing. The actual slides used in the sessions are also available in the /Documents folder.

Setting up the Todo Application

In development the client side and server applications are run using separate Web Servers:

  • WebPack Dev Server + Live Reload for Angular (port 4200)
  • Kestrel Web Server for ASP.NET Core (port 5000)

Client Side Application

To run the client side application:

  • Install the latest version of the Angular CLI
  • npm install @angular/cli -g

Next restore and start the Dev Server:

  • cd into TodoSample/src/todo
  • npm install to restore packages
  • ng serve to start the dev server
  • navigate to http://localhost:4200/

Server side Application

Make sure the .NET SDK installed:

Next restore the application and run it:

Note the final .NET application has the client side application installed in the wwwroot folder so you should also be able to run the entire sample (without dev features) from http://localhost:5000/.

di2017-aspnet-core-angular's People

Contributors

rickstrahl avatar

Watchers

James Cloos avatar  avatar  avatar

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.