# generator-aspnetcore-angular-2
> Generate a Visual Studio/Code project for ASP.NET Core, Angular 2, and TypeScript 2 using Webpack

## Templates
1. Movie Review Starter Kit - Single Page App using new ASP.NET Core, Angular 2, TypeScript and tons of other things

## Features
* Visual Studio 2017 RC Version
* Visual Studio Code
* [ASP.NET Core](https://www.microsoft.com/net/core)
* Angular 2
* TypeScript 
* Webpack
* WEB API
* Bootstrap


## Installation

First, install [Yeoman](http://yeoman.io) and generator-aspnetcore-angular-2 using [npm](https://www.npmjs.com/) (I assume you have pre-installed [node.js](https://nodejs.org/)).

```bash
npm install -g yo
npm install -g generator-aspnetcore-angular-2
```

Then create one project folder say sample and then run below command:

```bash
yo aspnetcore-angular-2
```

## Command line

From the root folder, let's navigate to actual app folder as shown below:

### Template Navigation (say sample is test folder)
```
cd sample\src\sample
dotnet restore
dotnet run
```
## Result

What it looks like:

![Console](http://myview.rahulnivi.net/wp-content/uploads/2016/12/8th1.png)

What you get:

![Home](http://myview.rahulnivi.net/wp-content/uploads/2016/12/9th.png)

![About](http://myview.rahulnivi.net/wp-content/uploads/2016/12/10th.png)

## Learn more about the generator

You can learn more about this generator, its functionality and extensibilty at [Generator](http://myview.rahulnivi.net/asp-net-core-yeoman-generator/)  

## About the Author

Rahul Sahay is Microsoft MVP. He is seasoned professional. Learn more about me and my articles @ [My-Blog](http://myview.rahulnivi.net)

## Follow Me

You can follow me for latest updates on my twitter handle @ [Twitter](https://twitter.com/rahulsahay19)

## License

MIT [rahulsahay19](https://github.com/rahulsahay19/generator-aspnetcore-angular-2)
