Using ServiceStack to Build APIs
This course explores how to use ServiceStack as an alternative to ASP.NET MVC, Web API and WCF for building web services and MVC-based applications.
Authored by:
John Sonmez
Duration: 5h 27m
Level: Intermediate
Released: 11/29/2012
Features:
Duration: 5h 27m
Level: Intermediate
Released: 11/29/2012
Features:
Course Rating:
You are currently not signed in. Please sign in to access subscriber-only content.
Currently using: {{getCurrentPlayerName()}} [Change]
| expand all | collapse all | Progress | Duration | |
|---|---|---|---|
ServiceStack Overview |
|
00:29:23 | |
|
Introduction
|
|
00:45 | |
|
Course Overview
|
|
02:14 | |
|
What is ServiceStack?
|
|
02:41 | |
|
The Stack
|
|
01:59 | |
|
Why ServiceStack Part 1
|
|
04:00 | |
|
Why ServiceStack Part 2
|
|
05:27 | |
|
ServiceStack Components
|
|
03:03 | |
|
Server Architecture
|
|
02:57 | |
|
Client Architecture
|
|
01:53 | |
|
Philosophy
|
|
03:38 | |
|
Summary
|
|
00:46 | |
Creating a Simple Service |
|
00:32:05 | |
|
Introduction
|
|
00:26 | |
|
Protein Tracker
|
|
01:16 | |
|
Getting Service Stack
|
|
01:18 | |
|
Creating the Project
|
|
02:33 | |
|
Request and Result
|
|
00:50 | |
|
Creating the Request
|
|
01:35 | |
|
The Service
|
|
00:46 | |
|
Creating the Service
|
|
01:20 | |
|
Bootstrapping
|
|
02:34 | |
|
Running the Service
|
|
03:03 | |
|
Testing
|
|
03:40 | |
|
Adding a Route
|
|
03:37 | |
|
Better Routes
|
|
03:28 | |
|
Another Service
|
|
04:36 | |
|
Summary
|
|
01:03 | |
Using the C# Client |
|
00:35:25 | |
|
Introduction
|
|
00:38 | |
|
The C# Client
|
|
04:14 | |
|
Creating a Consumer
|
|
00:34 | |
|
Code Additions
|
|
01:31 | |
|
Writing the Consumer
|
|
07:27 | |
|
Running the Consumer
|
|
02:10 | |
|
Specifying the Result
|
|
03:34 | |
|
Async Calls
|
|
01:55 | |
|
Exceptions
|
|
00:41 | |
|
Handling Exceptions
|
|
04:32 | |
|
Mobile
|
|
01:50 | |
|
MonoTouch Example
|
|
03:26 | |
|
Other Clients
|
|
00:42 | |
|
Javascript Example
|
|
01:29 | |
|
Summary
|
|
00:42 | |
Authentication and Authorization |
|
00:45:18 | |
|
Introduction
|
|
00:44 | |
|
Authentication and Authorization
|
|
02:25 | |
|
Authentication Options
|
|
02:16 | |
|
How Authentication Works
|
|
03:07 | |
|
Configuring Authentication
|
|
06:13 | |
|
Testing Basic Authentication
|
|
02:34 | |
|
Authorization
|
|
01:34 | |
|
Requiring Authentication
|
|
03:47 | |
|
Behind the Scenes
|
|
01:44 | |
|
Requiring Roles
|
|
02:14 | |
|
Permissions
|
|
01:29 | |
|
Default Services
|
|
01:10 | |
|
Looking at the Default Services
|
|
02:20 | |
|
Assigning Roles
|
|
04:18 | |
|
OAuth and OpenID
|
|
00:44 | |
|
Twitter Setup
|
|
03:25 | |
|
Session Data
|
|
02:22 | |
|
Custom Authentication
|
|
01:46 | |
|
Summary
|
|
01:06 | |
Filters |
|
00:17:23 | |
|
Introduction
|
|
00:27 | |
|
What are Filters?
|
|
01:50 | |
|
The Filter Pipeline
|
|
01:38 | |
|
Creating a Request Filter
|
|
03:38 | |
|
Using a Request Filter
|
|
01:56 | |
|
Creating a Response Filter
|
|
02:55 | |
|
Using a Response Filter
|
|
01:15 | |
|
Applying to HTTP Commands
|
|
02:27 | |
|
Summary
|
|
01:17 | |
IoC and ORM |
|
00:36:06 | |
|
Introduction
|
|
00:59 | |
|
IoC Overview
|
|
01:57 | |
|
Funq Basics
|
|
03:32 | |
|
Configuring Funq
|
|
05:17 | |
|
Running Funq
|
|
01:32 | |
|
Using a Different IoC Container
|
|
03:20 | |
|
ORM Overview
|
|
01:15 | |
|
OrmLite Basics
|
|
03:37 | |
|
Pre-setup
|
|
02:26 | |
|
Setting up OrmLite
|
|
04:12 | |
|
Saving Data
|
|
03:23 | |
|
Reading Data
|
|
03:49 | |
|
Summary
|
|
00:47 | |
Validation and Caching |
|
00:37:34 | |
|
Introduction
|
|
00:37 | |
|
What is Caching?
|
|
02:56 | |
|
Caching Options
|
|
03:56 | |
|
Configuring Caching
|
|
02:47 | |
|
Basic Caching
|
|
05:05 | |
|
Caching With Time Expiration
|
|
02:09 | |
|
Manually Removing Cache Items
|
|
04:36 | |
|
Validation Architecture
|
|
03:01 | |
|
Configuring Validation
|
|
01:55 | |
|
Basic Validation
|
|
05:37 | |
|
Conditional Validation
|
|
03:25 | |
|
Summary
|
|
01:30 | |
Debugging and Profiling |
|
00:25:53 | |
|
Introduction
|
|
00:37 | |
|
Logging Architecture
|
|
02:13 | |
|
Basic Logging
|
|
05:23 | |
|
Profiling Overview
|
|
01:49 | |
|
Configuring Profiling
|
|
03:16 | |
|
Profiling SQL
|
|
02:34 | |
|
More Help
|
|
01:25 | |
|
Request Info
|
|
01:32 | |
|
Request Logs
|
|
03:18 | |
|
Stack Traces
|
|
02:23 | |
|
Summary
|
|
01:23 | |
Messaging |
|
00:34:09 | |
|
Introduction
|
|
00:47 | |
|
Messaging In Service Stack
|
|
01:58 | |
|
Architecture
|
|
02:08 | |
|
Simple Messaging
|
|
01:46 | |
|
Installing Redis
|
|
01:50 | |
|
Configuring the Service
|
|
04:30 | |
|
Creating the Producer
|
|
07:45 | |
|
Sending a Message
|
|
02:59 | |
|
Getting a Response
|
|
03:07 | |
|
Request Response
|
|
05:22 | |
|
Summary
|
|
01:57 | |
Razor Plugin |
|
00:34:03 | |
|
Introduction
|
|
00:52 | |
|
What is the Razor Plugin?
|
|
02:26 | |
|
Views in ServiceStack
|
|
04:11 | |
|
Installing Razor
|
|
05:28 | |
|
Creating an Entry Page
|
|
06:33 | |
|
Creating a Status Page
|
|
02:04 | |
|
Layouts
|
|
02:57 | |
|
Adding Bottom Navigation
|
|
04:55 | |
|
Using Markdown
|
|
02:59 | |
|
Summary
|
|
01:38 |
ServiceStack Overview