The main application example for my book "Learning AngularJS for .NET Developers"
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs/images
src
.gitignore
LICENSE
README.md

README.md

rentthatbike

Overview

This is the main application example repository for my book "Learning AngularJS for .NET Developers" which available to order at www.packtpub.com/learning-angularjs-for-net-developers/book.
There is another repository containing examples covering the concepts of the book at github.com/popalexandruvasile/angularjs-dotnet-book.
There are two blog posts introducing this book:
Announcing my upcoming book "Learning AngularJS for .NET developers"
Free sample chapter "Testing and Debugging AngularJS Applications" from my recently launched book

You need to use Visual Studio 2013 to load the "src\RentThatBike.sln" file and run the project. The application was built sequentially and has three main sequences: building the client side part with AngularJS, building the web service services part with ServiceStack, and the putting it all together part with AngularJS, ASP.NET MVC and ServiceStack v3.

Examples index

The example index page for this repository can be found on the wiki.

The application for the first AngularJS section from the chapter2-example13 branch is hosted here: rentthatbike.azurewebsites.net.
The application for the master branch is hosted here: rentthatbike-dev.azurewebsites.net. At the moment it is not yet on par with the AngularJS application it only has the code covered in the book in the ServiceStack and ASP.NET MVC sections.

ServiceStack v4

You can find a version of the application targeting ServiceStack v4 in the ServiceStackv4 branch. I had to do some minor changes and used this blog post as a starter: http://camtucker.blogspot.ca/2014/01/updating-to-servicestack-v40.html?view=classic

Application screenshots

"Home" view

Home

"Bicycles" views

Index New Edit

"Customers" views:

Index New Edit

"Rentals" views:

Index New Edit