cleanshave

by spboyer

spboyer /cleanshave

ASP.NET Core (RC1) and Angular 2 SPA Template

128 Stars 139 Forks Last release: Not found 66 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

CleanShave

An Angular 2 application with ASP.NET 5

ss

Getting Started

The application is built on rc1 of ASP.NET 5, refer to http://docs.asp.net to install.

  1. Fork and clone the site

  2. Run

    npm install
  3. Run

    dnu restore
    to restore the .NET dependencies
  4. Open Terminal window and execute

    npm start
    . This command runs the
    gulp build
    task, then starts nodemon for
    dnx web
    . The
    nodemon
    process will watch for any changes to the C# code and/or JavaScript files (transpiled from
    tsc
    ) and restart then kestrel server.
  5. Open http://localhost:5000

Using Visual Studio 2015

To open in VS you need to open using the git connector.

screen shot 2015-11-21 at 8 46 44 am

Then open the

project.json
file. Be sure to have the ASPNET 5 file/project type selected.

screen shot 2015-11-21 at 8 47 23 am

a

Before Build
step to have the gulp tasks run and build/compile the typescript and angular 2 project portions if you are just going to F5.

*** note that there is bug in the VS tooling for restoring the @reactivex/rxjs npm package use the command line tool and

npm install
to get the npm packages restored

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.