Starting with a new technology on a new project makes things much more straightforward. However, more often than not, you might find yourself trying to leverage the advantages of new technologies and frameworks for an existing system that has to be maintained well into the future. In this recipe, we will work through the process of starting with an existing database and exposing that data through services using ServiceStack. We will be working with the constraint that the existing data structure cannot be altered by the application to simulate a real-world situation of using an existing production database.
To get started, you'll need a new project either created using a template from the ServiceStackVS extension or by following the Creating a ServiceStack solution with Visual Studio and NuGet section in Appendix A, Getting Started. This recipe will also require that an installation of MS SQL Server is installed...