Book Image

ServiceStack 4 Cookbook

Book Image

ServiceStack 4 Cookbook

Overview of this book

Table of Contents (18 chapters)
ServiceStack 4 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Although ServiceStack is focused on enabling developers to write clean, maintainable web services, it also has a full server-side HTML-rendering solution using Razor templates. For application developers who want to write both backend services and their web application code in one single stack, ServiceStack's support for Razor makes this possible. The recipes in this section will cover scenarios where ServiceStack will be the framework for not only the service, but also the application development framework.

If you have had experience with Microsoft's MVC framework, chances are you've been writing views using the Razor syntax—ServiceStack offers the same functionality and adds a Markdown syntax as well. ServiceStack also has some tools to make it easy to wire up HTML forms and cleanly display error and validation information. We will also look at how we can write services to handle file uploads and streaming from different clients and create a login and registration page by displaying...