A reference app for building single page apps (SPA) with ASP.NET Web API 2 and AngularJS, developed by Marlabs
- ASP.NET Web API 2
- EF 6 Code First
- AutoMapper
- Autofac
- AngularJS
- Semantic UI
- Gulp.js
- Build the solution to install Nuget packages.(This will automatically restore Nuget packages. Please ensure you have Nuget version 2.7 or higher)
- The Project ResourceMetada.API is configured to run using IIS Express.
- Before starting the Client Application (ResourceMetadata.Web), please ensure that the API project is running in IIS or IIS express.
- Config.js file at source/ResourceMetadata/ResourceMetadata.Web/Scripts/config.js holds the api url used by the Client application. Update this file to change the api url appropriately.
- If you haven't installed Node.js, download and install it from http://nodejs.org/
- Navigate to the directory of ResourceMetadata.Web project source/ResourceMetadata/ResourceMetadata.Web/ in command prompt.
- Run command npm install
- Execute gulp tasks
- Run command gulp build.
- In order to clean the destination files created by build task, run gulp cleanbuild.
If you are already using the Application version 1.0.0, please drop the database ResourceMetadata from your SQL server before running the Application
- REST API with ASP.NET Web API 2.
- Server-Side security with ASP.NET Identity.
- Single Page Application(SPA) with AngularJS.
- AngularJS factory $resource for interacting with RESTful server-side data sources.
- AngularJS $http interceptors.
- AngularJS directives.
- Task automation with Gulp.js
- Code refactoring.
- Unit tests with Karma/Jasmine
- Leverage Browserify
- Performance optimizations and best prarctices for SPA.