eBook - ePub
ServiceStack 4 Cookbook
Kyle Hodgson, Darren Reid
This is a test
Partager le livre
- 444 pages
- English
- ePUB (adapté aux mobiles)
- Disponible sur iOS et Android
eBook - ePub
ServiceStack 4 Cookbook
Kyle Hodgson, Darren Reid
DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations
Foire aux questions
Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier lâabonnement ». Câest aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via lâapplication. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă la bibliothĂšque et Ă toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode dâabonnement : avec lâabonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă 12 mois dâabonnement mensuel.
Quâest-ce que Perlego ?
Nous sommes un service dâabonnement Ă des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă toute une bibliothĂšque pour un prix infĂ©rieur Ă celui dâun seul livre par mois. Avec plus dâun million de livres sur plus de 1 000 sujets, nous avons ce quâil vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Ăcouter sur votre prochain livre pour voir si vous pouvez lâĂ©couter. Lâoutil Ăcouter lit le texte Ă haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, lâaccĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que ServiceStack 4 Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă ServiceStack 4 Cookbook par Kyle Hodgson, Darren Reid en format PDF et/ou ePUB ainsi quâĂ dâautres livres populaires dans Informatique et DĂ©veloppement Web. Nous disposons de plus dâun million dâouvrages Ă dĂ©couvrir dans notre catalogue.
Informations
Sujet
InformatiqueSous-sujet
DĂ©veloppement WebServiceStack 4 Cookbook
Table of Contents
ServiceStack 4 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Configuration and Routing
Introduction
Why REST?
Up and running with ServiceStack
How to do It...
How it works...
There's more...
Routing using data transfer object attributes
Getting ready
How to do It...
How it works...
There's more...
Isolating web service routes from a web application
Getting ready
How to do It...
How it works...
There's more...
Common ServiceStack plugins
How to do It...
How it works...
Writing a custom audit plugin
How to do It...
How it works...
See also
Adding Routes via the API
How to do It...
How it worksâŠ
There's more...
Structuring your project to avoid dependency issues
Getting ready
How to do It
Managing dependencies with Funq and Inversion of Control (IoC)
Getting ready
How to do ItâŠ
How it worksâŠ
Sharing and accessing configuration and common functionality using Funq IoC
Getting ready...
How to do It...
How it works...
There's more...
2. Services and Data Transfer Objects
Introduction
Creating a basic create/read/update/delete service
Getting ready
How to do it...
How it works...
There's moreâŠ
See also
Splitting HTTP request methods
Getting ready
How to do itâŠ
There's more...
Hosting services from different assemblies
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Utilizing the original HTTP request
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
See also
Overriding serialization of request object types
Getting ready
How to do itâŠ
How it worksâŠ
Creating a simple admin service
Getting ready
How to do itâŠ
How it worksâŠ
See also
Intercepting requests and responses using attributes
How to do ItâŠ
How it worksâŠ
There's moreâŠ
Making a basic proxy for existing web services
How to do ItâŠ
How it worksâŠ
Wrapping multiple existing services and exposing them through ServiceStack
How to do itâŠ
3. Testing and Logging
Introduction
Unit testing ServiceStack applications
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Integration testing with the ServiceStack C# client
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Functional contract testing ServiceStack services
Getting ready
How to do itâŠ
How it worksâŠ
Testing POST
Testing PUT
Testing DELETE
Accessing the request-and-response object with the JsonServiceClient
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Continuous Integration with TeamCity and self-hosted services
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Logging with a choice of frameworks
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Writing a logger to monitor exceptions via e-mail
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
4. Object Relational Mapping (OrmLite)
Introduction
Modeling your database with types and attributes
Getting ready
How to do itâŠ
How it worksâŠ
PrimaryKey attribute
AutoIncrement attribute
References attribute
There's moreâŠ
Using and accessing OrmLite
Getting ready
How to do itâŠ
How it worksâŠ
See also
Using OrmLite filters to create audit functionality
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
CRUD and other common operations
Getting ready
How to do itâŠ
How it worksâŠ
Creating records
Updating records
Deleting records
There's moreâŠ
Utilizing stored procedures using OrmLite
Getting ready
How to do itâŠ
How it worksâŠ
OrmLiteSPStatement
Writing our own wrapper
There's moreâŠ
Mapping custom queries to POCOs
Getting ready
How to do itâŠ
How it worksâŠ
Starting with an existing database with OrmLite and T4 templates
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Working with Entity Framework and ServiceStack
Getting ready
How to do itâŠ
How it worksâŠ
5. HTML and Form Data
Introduction
Getting started with ServiceStack and Razor templates
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Using Markdown for website content
Getting ready
How to do itâŠ
How it worksâŠ
Handling file uploads and streaming data from services
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Testing file uploads
Overriding Razor views or templates using attributes
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Creating and displaying a login and registration page based on authentication
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Submitting a form to a service and handling server-side validation on an HTML client
Getting ready
How to do itâŠ
How it worksâŠ
6. Filters and Validators
Introduction
Creating static validation rules using fluent syntax
How to do itâŠ
How it worksâŠ
There's moreâŠ
Returning meaningful HTTP error messages
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Adding custom headers via the response filter
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Restricting file uploads by type using filters
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Creating a user-configurable HTTP callback service using a response filter
Getting ready
How to do itâŠ
How it worksâŠ
Applying a rate limit to a web service endpoint using request filter
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Restrict user actions by session details using a validator
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Common HTTP status codes
7. Security and Authentication
Introduction
Getting started with authentication, sessions, registration, and user repositories
Getting ready
How to do itâŠ
How it worksâŠ
Getting started with Twitter authentication
Getting ready
How to do itâŠ
How it worksâŠ
Getting started with Google authentication
Getting ready
How to do itâŠ
How it worksâŠ
Getting started with Facebook authentication
Getting ready
How to do itâŠ
How it worksâŠ
Using multiple authentication providers and persisting a user's preferred profile image
Getting ready
How t...