My Account Log in

2 options

ServiceStack 4 Cookbook : over 70 recipes to create web services, build message-based apps, and work with object-relational mapping / Kyle Hodgson, Darren Reid.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central College Complete Available online

View online
Format:
Book
Author/Creator:
Hodgson, Kyle, author.
Reid, Darren, author.
Language:
English
Subjects (All):
Web services--Design.
Web services.
Physical Description:
1 online resource (444 p.)
Edition:
1st ed.
Place of Publication:
Birmingham, England : Packt Publishing, 2015.
Language Note:
English
Summary:
If you are a .NET developer who is looking for a simpler way to build services, this is the book for you. It will show you how to write fast, maintainable APIs that are a pleasure to use and maintain starting from the database to the client and everything in-between.
Contents:
Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Configuration and Routing; Introduction; Up and running with ServiceStack; Routing using data transfer object attributes; Isolating web service routes from a web application; Common ServiceStack Plugins; Writing a custom audit plugin; Adding Routes via the API; Structuring your project to avoid dependency issues; Managing dependencies with Funq and Inversion of Control (IoC); Sharing and accessing configuration and common functionality using Funq IoC
Chapter 2: Services and Data Transfer ObjectsIntroduction; Creating a basic create/read/update/delete service; Splitting HTTP request methods; Hosting services from different assemblies; Utilizing the original HTTP request; Overriding serialization of request object types; Creating a simple admin service; Intercepting requests and responses using attributes; Making a basic proxy for existing web services; Wrapping multiple existing services and exposing them through ServiceStack; Chapter 3: Testing and Logging; Introduction; Unit testing ServiceStack applications
Integration testing with the ServiceStack C# clientFunctional contract testing ServiceStack services; Accessing the request-and-response object with the JsonServiceClient; Continuous Integration with TeamCity and self-hosted services; Logging with a choice of frameworks; Writing a logger to monitor exceptions via e-mail; Chapter 4: Object Relational Mapping (OrmLite); Introduction; Modeling your database with types and attributes; Using and accessing OrmLite; Using OrmLite filters to create audit functionality; CRUD and other common operations; Utilizing stored procedures using OrmLite
Mapping custom queries to POCOsStarting with an existing database with OrmLite and T4 templates; Working with Entity Framework and ServiceStack; Chapter 5: HTML and Form Data; Introduction; Getting started with ServiceStack and Razor templates; Using Markdown for website content; Handling file uploads and streaming data from services; Overriding Razor views or templates using attributes; Creating and displaying a login and registration page based on authentication; Submitting a form to a service and handling server-side validation on an HTML client; Chapter 6: Filters and Validators
IntroductionCreating static validation rules using fluent syntax; Returning meaningful HTTP error messages; Adding custom headers via the response filter; Restricting file uploads by type using filters; Creating a user-configurable HTTP callback service using a response filter; Applying a rate limit to a web service endpoint using request filter; Restrict user actions by session details using a validator; Common HTTP status codes; Chapter 7: Security and Authentication; Introduction; Getting started with authentication, sessions, registration and user repositories
Getting started with Twitter authentication
Notes:
Includes index.
"Quick Answes To Common Problems"--Cover.
Description based on online resource; title from PDF title page (ebrary, viewed February 5, 2015).
ISBN:
9781783986576
1783986573
OCLC:
1491311037

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account