SlideShare a Scribd company logo
Raju Golla                Dec 2012
.Net Developer       VERSION 00-01
…………………………………….…….
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
Stack of services
       Serializers      Razor plug-In

      IoC container   Logging & profiler

          ORM

       Messaging

         Caching

        Security
Why ServiceStack?
Benchmarks
Benchmarks
Benchmarks
Benchmarks
Component Overview
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
Architecture
Architecture : Client
Philosophy
 Martin flower’s DTO pattern
ServiceStack: Architecture
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)
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.
Views in ServiceStack
Views in ServiceStack
Installing Razor
 Package manager console


 PM>install-package -servicestack.Razor
 Reference: razor.servicestack.net
 Registar in Global.asax
References
ServiceStack
http://www.servicestack.net/


Github
https://github.com/ServiceStack/ServiceStack


Architecture overview
https://github.com/ServiceStack/ServiceStack/wiki/Architecture-
overview

ServiceStack VS ASP.NET Web API
http://stackoverflow.com/questions/9699083/servicestack-vs-asp-net-
web-api

Binaries on nuget
http://nuget.org/packages/ServiceStack

IoC container
http://funq.codeplex.com/

Martin flower (Data Transfer Objects)
http://martinfowler.com/aboutMe.html
Hands on

More Related Content

What's hot (20)

PPTX
Asp.Net MVC
Sudheesh Valathil
 
PPT
Mule esb intoduction
Vamsi Krishna
 
PPTX
ZZ BC#7 asp.net mvc practice and guideline by NineMvp
Chalermpon Areepong
 
PDF
EUGM 2013 - Gabor Guta (ChemAxon) - JChem Web Services
ChemAxon
 
PPTX
Redux: server side rendering and hot code reload for single-page applications
Alex Bumbu
 
PDF
EUGM 2013 - Eufrozina Hoffmann (ChemAxon): Marvin extending the scope of usab...
ChemAxon
 
PPTX
Expose BizTalk to the world (ACSUG)
Wagner Silveira
 
PPTX
Using Kafka to scale database replication
Venu Ryali
 
PPTX
Architectural Patterns for Scaling Microservices and APIs - GlueCon 2015
Lori MacVittie
 
PPTX
Microservices Architecture and Containers.
imjacobclark
 
PPSX
Альона Тудан " Життя QA в ажурі"
Dakiry
 
PDF
Swarms: introduction
SÎNICĂ Alboaie
 
PPTX
Azure service fabric: a gentle introduction
Alessandro Melchiori
 
PDF
Machine Learning Exchange (MLX)
Animesh Singh
 
PDF
Istio Service Mesh
Luke Marsden
 
PPTX
Schematron QuickFix on XMLPrague
Nico Kutscherauer
 
PDF
Apache Beam @ GCPUG.TW Flink.TW 20161006
Randy Huang
 
PDF
APIdays Paris 2018 - Building scalable, type-safe GraphQL servers from scratc...
apidays
 
PDF
KFServing - Serverless Model Inferencing
Animesh Singh
 
KEY
Scala and Lift
Sander Mak (@Sander_Mak)
 
Asp.Net MVC
Sudheesh Valathil
 
Mule esb intoduction
Vamsi Krishna
 
ZZ BC#7 asp.net mvc practice and guideline by NineMvp
Chalermpon Areepong
 
EUGM 2013 - Gabor Guta (ChemAxon) - JChem Web Services
ChemAxon
 
Redux: server side rendering and hot code reload for single-page applications
Alex Bumbu
 
EUGM 2013 - Eufrozina Hoffmann (ChemAxon): Marvin extending the scope of usab...
ChemAxon
 
Expose BizTalk to the world (ACSUG)
Wagner Silveira
 
Using Kafka to scale database replication
Venu Ryali
 
Architectural Patterns for Scaling Microservices and APIs - GlueCon 2015
Lori MacVittie
 
Microservices Architecture and Containers.
imjacobclark
 
Альона Тудан " Життя QA в ажурі"
Dakiry
 
Swarms: introduction
SÎNICĂ Alboaie
 
Azure service fabric: a gentle introduction
Alessandro Melchiori
 
Machine Learning Exchange (MLX)
Animesh Singh
 
Istio Service Mesh
Luke Marsden
 
Schematron QuickFix on XMLPrague
Nico Kutscherauer
 
Apache Beam @ GCPUG.TW Flink.TW 20161006
Randy Huang
 
APIdays Paris 2018 - Building scalable, type-safe GraphQL servers from scratc...
apidays
 
KFServing - Serverless Model Inferencing
Animesh Singh
 
Scala and Lift
Sander Mak (@Sander_Mak)
 

Similar to Service stack linkedin (20)

PPTX
Introduction to ServiceStack
mobiweave
 
PPT
ServiceStack
Raju Golla
 
PPTX
Servicestack
Giedrius Banaitis
 
PPTX
Introduction to service stack
Fabio Cozzolino
 
PPTX
Service stack all the things
cyberzeddk
 
PDF
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
Trayan Iliev
 
PPT
Building+restful+webservice
lonegunman
 
PPTX
Cloud apps with REST APIs using Windows Azure, Asp.NET, ServiceStack and Angu...
mobiweave
 
PPTX
Evolution of a cloud start up: From C# to Node.js
Steve Jamieson
 
PPTX
Digging deeper into service stack
cyberzeddk
 
PPTX
REST and ASP.NET Web API (Tunisia)
Jef Claes
 
PPTX
What you need to know about .NET Core 3.0 and beyond
Jon Galloway
 
PPTX
Windows 8 Metro apps and the outside world
Prabhakaran Soundarapandian
 
PDF
Cloud Platforms & Frameworks
Animesh Chaturvedi
 
PDF
Cloud platforms and frameworks
Animesh Chaturvedi
 
PPTX
.NET Core Today and Tomorrow
Jon Galloway
 
PDF
Node.js server side render in the Age of APIs - Full Stack Toronto 2017
Ruy Adorno
 
PPTX
Introduction to webservices
Gagandeep Singh
 
PDF
SOA and WCF (Windows Communication Foundation) basics
Yaniv Pessach
 
PDF
SOA Latam 2015
Domingo Suarez Torres
 
Introduction to ServiceStack
mobiweave
 
ServiceStack
Raju Golla
 
Servicestack
Giedrius Banaitis
 
Introduction to service stack
Fabio Cozzolino
 
Service stack all the things
cyberzeddk
 
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
Trayan Iliev
 
Building+restful+webservice
lonegunman
 
Cloud apps with REST APIs using Windows Azure, Asp.NET, ServiceStack and Angu...
mobiweave
 
Evolution of a cloud start up: From C# to Node.js
Steve Jamieson
 
Digging deeper into service stack
cyberzeddk
 
REST and ASP.NET Web API (Tunisia)
Jef Claes
 
What you need to know about .NET Core 3.0 and beyond
Jon Galloway
 
Windows 8 Metro apps and the outside world
Prabhakaran Soundarapandian
 
Cloud Platforms & Frameworks
Animesh Chaturvedi
 
Cloud platforms and frameworks
Animesh Chaturvedi
 
.NET Core Today and Tomorrow
Jon Galloway
 
Node.js server side render in the Age of APIs - Full Stack Toronto 2017
Ruy Adorno
 
Introduction to webservices
Gagandeep Singh
 
SOA and WCF (Windows Communication Foundation) basics
Yaniv Pessach
 
SOA Latam 2015
Domingo Suarez Torres
 
Ad

Service stack linkedin