- ASP.NET Core
- Entity Framework Core
- Angular 2 RC5
- Webpack
- SASS support
- Best practices in file and application organization for Angular 2.
- Testing Angular 2 code with Jasmine and Karma.
- End-to-end Angular 2 code using Protractor.
- Coverage with Istanbul and Karma.
- Type manager with Typings
- HMR (Hot Module Replacement) with Webpack
- Typedoc for typescript documentation
- Server and client watches
- Login and Registration functionality using Asp.Net Identity
- Various social login support, Follow this wiki page to see how it will work.
- Lazy loading of all routes, child routes (About page example) with basic animation example (On about page).
- Angular 2 dynamic forms for reusability and to keep html code DRY.
- Serilog with Seq support to manage structured logging.
- Swagger as Api explorer (Visit url http://localhost:5000/swagger/ui after running the application)
- .Net core sdk
- Either VSCode with C# extension OR Visual studio 2015 update 3 with .Net Core tooling
- Nodejs
1. Clone the repo
git clone https://github.com/asadsahi/AspNetCoreSpa
2. Change directory to our repo
cd AspNetCoreSpa
3. dotnet restore
4. Install global dependencies
npm install webpack protractor typings rimraf -g
5. npm install
6. typings install
7. Create webpack vendor manifest file for fast webpack rebuils
webpack --config config/webpack.config.vendor.js
8. Set appropriate environment
set ASPNETCORE_ENVIRONMENT=Development
9. Run the app
dotnet run (for single run) OR dotnet watch (in watch mode)
10. Browse using http://localhost:5000 or http://localhost:5001
npm run test
npm run watch:test
npm run docs
# this will create documentation in doc folder at the root location (open index.html file)
# make sure you have your server running in another terminal (i.e run "dotnet run" command)
npm run e2e
npm run webdriver:update
npm run webdriver:start
npm run webdriver:start
# in another terminal
npm run e2e:live