1. Raju Golla Dec 2012
.Net Developer VERSION 00-01
…………………………………….…….
2. ServiceStack: Overview
An alternative to WCF, ASP.NET Web API
•Focused on simplicity and speed
•Code first
•POCOs
•Strong typing
•Auto configuration of formats
• XML, JSON, HTML, CSV and JSV (JSON-like Separated Values)
•Endpoints
• REST, RPC, SOAP
3. Stack of services
Serializers Razor plug-In
IoC container Logging & profiler
ORM
Messaging
Caching
Security
10. ServiceStack: Architecture
No new concepts or constructs
Built on top of ASP.NET IHttpHandlers
Legacy ASP.NET providers abandoned
Simple and clean Caching, Session and Authentication providers based on
POCOS
supports multiple back-ends
15. ServiceStack for client application
Implement client applications replacing MVC or any
other tool
Create Views using Razor (Templating languge)
Render views
Use existing service as controller
Don’t use controllers at all (static content)
16. ServiceStack for client application
Respond differently for computer and
Human(Browser)
when computer requests for data return JSON, XML
when human html (render), which is called into
view.