Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-aspnetcore-angular2

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-aspnetcore-angular2

Generate a Visual Studio/Code project for ASP.NET Core, Angular 2, and TypeScript

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

generator-aspnetcore-angular2

Generate a Visual Studio/Code project for ASP.NET Core, Angular 2, and TypeScript 2 using Webpack

Two templates

  1. Basic - nothing fancy, same as previous versions (doesn't use webpack)
  2. Advanced - Angular Universal, webpack, Karma, Protractor, TS2, HMR

Features

  • Visual Studio 2015 Update 3
  • Visual Studio Code
  • ASP.NET Core 1.0.1
  • Angular 2.1.0
  • Angular Universal
  • Lazy routes
  • TypeScript 2
  • Webpack
  • Karma
  • Protractor
  • Bootstrap/Material Design Lite
  • Swagger via Swashbuckle (Ahoy)

Installation

First, install Yeoman and generator-aspnetcore-angular2 using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-aspnetcore-angular2

Then generate your new project:

yo aspnetcore-angular2

Command line

From the root folder, type the following commands:

Basic template

cd src/webapp
tsc
dotnet restore
dotnet run

Advanced template

cd src/webapp
dotnet restore
npm run build:vendor
set ASPNETCORE_ENVIRONMENT=Development
npm start

Other commands:

npm run lint
npm run test
npm run e2e             (while running the app)
npm clean:dist          (cleanup dist directory)

Result

What it looks like:

Console

What you get:

Home

About

Getting To Know Yeoman

Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced. Feel free to learn more about him.

License

MIT <3 sgbj

Keywords

FAQs

Package last updated on 19 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc