Creating web service methods for the sample application

We can now revisit the Rent That Bike! application from the previous chapter and start implementing its required web services. The first thing to do is enable the project for ServiceStack integration as detailed at the beginning of this chapter. With this in place, we set the project start-up page to http://localhost:61803/metadata; the basic ServiceStack integration is completed.

ServiceStack project structure

Before we add any file, we should explore some project layout options. A typical ServiceStack implementation will include, as a minimum, service classes and request and response DTO classes. It is good practice to separate these into namespaces or even different assemblies for better ...

Get Learning AngularJS for .NET Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.