Git Product home page Git Product logo

jakjothi / aspnetcore-angular-webpack-startertemplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stanleychen/aspnet-core-angular2-webpack-startertemplate

0.0 2.0 0.0 9.85 MB

A Starter Template for beginning with ASP.NET Core WebAPI, Angular and Webpack

Home Page: http://offering.solutions/blog/articles/2016/08/27/how-to-set-up-angular-2-and-webpack-in-visual-studio-with-asp-net-core/

C# 16.36% HTML 33.94% TypeScript 28.82% CSS 0.46% JavaScript 20.42%

aspnetcore-angular-webpack-startertemplate's Introduction

Angular // Webpack // ASP.NET CORE WebAPI Starter Template

This is a starter template for developing Angular with ASP.NET Core WebAPI Applications using webpack for bundling. It has the webpack dev server included as well as css styles in webpack, hashes for your files, automatic injection into the index.html etc.

NPM Taskrunner

Make sure you have the npm Taskrunner installed

NPM Task Runner

This template is an Angular application with an http-service getting values from an ASP.NET CORE WebAPI.

Blogpost

How to set up Angular and Webpack in Visual Studio with ASP.NET Core

Start

alt text

Start by typing

npm start

at the level of the "package.json" file and browse to

localhost:5000

Option 2 (Frontend and backend running)

Now you can just press "play" inside Visual Studio to get started.

If you change the *.ts-files you need to run the tsc command manually.

Option 4 (frontend and backend running)

You can type npm run build:dist and browse to localhost:5000 to see the page. This will trigger an webpack build and an dotnet run. Changes will not automatically appear in the browser.

alt text

aspnetcore-angular-webpack-startertemplate's People

Contributors

fabiangosebrink avatar

Watchers

 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.