Giter Site home page Giter Site logo

it810 / angular-aspnet-core-customersservice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danwahlin/angular-aspnet-core-customersservice

0.0 0.0 0.0 5.85 MB

Angular and ASP.NET Core RESTful Services

JavaScript 8.66% C# 37.95% TypeScript 32.94% CSS 2.45% HTML 17.91% Dockerfile 0.09%

angular-aspnet-core-customersservice's Introduction

Note

THIS PROJECT IS DEPRECATED and no longer maintained. A newer version of the project that uses the Angular CLI and the latest version of Angular can be found here:

https://github.com/DanWahlin/AngularCLI-ASPNET-Core-CustomersService

This project has been updated to use the latest version of Angular and RxJS but does not use the Angular CLI (it uses System.js to load modules). Key changes from the Pluralsight course include:

  • HttpClientModule now used instead of HttpModule (since it's deprecated after Angular 4.3+)
  • HttpClient now used instead of Http (since it's deprecated after Angular 4.3+)
  • RxJS chained operators such as map and catch have been changed to the new pipe() style of coding in the latest version of RxJS.

Angular, ASP.NET Core Customers Service Application

This project demonstrates how Angular and ASP.NET Core can be used together.

Software Requirements To Run Locally

Running the Application Locally on Windows

  1. Open the .sln file in Visual Studio

  2. Install Gulp: npm install gulp -g

  3. Run npm install to install app dependencies (make sure to run this in the folder where the package.json file lives)

  4. Run the following Gulp task to copy required Angular modules into the wwwroot folder:

    gulp copy:libs

  5. Build and run the application (F5)

  6. Browse to http://localhost:5000

Running the Application Locally on Mac

  1. Open the project folder in VS Code

  2. Install Gulp: npm install gulp -g

  3. Run npm install to install app dependencies (make sure to run this in the folder where the package.json file lives)

  4. Run the following Gulp task to copy required Angular modules into the wwwroot folder:

    gulp copy:libs

  5. Run npm run tsc:w to compile TypeScript to JavaScript locally (leave the window running). This is only needed when in "dev" mode.

  6. Open another command window and run the following:

    • Run dotnet restore

    • Run dotnet build

    • Run dotnet run

  7. Browse to http://localhost:8000

angular-aspnet-core-customersservice's People

Contributors

azureadvocatebit avatar danwahlin avatar dependabot[bot] 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.