SlideShare une entreprise Scribd logo
1  sur  19
Su ServiceStack
greičiau ir
patogiau
G IED R IUS BAN AIT IS
@ G BAN AITIS
AD R O IT I T EC H O N O LOGIES
How webservice usage
  transforms
  Supplier                      Phone
 webservice
  (server)
                    Game
                                           TV
                   console


Reseller e-shop                Content
   (server)                    provider


                  Webservice              Tablet

   End-user
  (browser)
                                  PC
New challenges

           Speed
         Bandwidth
        Maintainance
         Scalability
         Simplicity
ServiceStack vs New
Challanges

               • Has fastest Serializers, ORM and IoC
   Speed       • Caching is first class citezen


               • JSON, JSV, CSV out of box, ProtoBuff
 Bandwidth     • Message based, not chatty

               •Services are reused as much as possible

Maintainance   •Typed C# client
               •No generated code
               •Everything integrated



               • REST
 Simplicity    • no third party dependencies


               • Runs on Linux
 Scalability   • Supports Azure, AWS, Reddis, Memcache
               • REST, own Session infrastructure
Simple demo
OrmLite
• Very lightweight
• Cross platform
• Pure SQL also Linq expressions
• Has nice API for performing updates
• Only 1:1 Table mapping
Serialization
• Has the fastest .NET JSON and JSV serializers, supports dynamic JSON
• CSV out of box
• Standalone – no dependencies
• T.Dump method
• Usefull extensions
• Protobuff and MsgPack
through plugins
HTML and MVC
• Markdown Razor, MVC Razor and HTML
 Report out of box
• Mix Markdown with MVC
• Change Views and Layouts at runtime
• Bundling using node-js
• Virtual File System
• Can share Session, Caching, IoC, ORM,
 Redis, Config and Logging inside MVC
All the Rest
• HTTP Utils
• Typed Clients
• Metadata, Swagger
• Logging API with adapters
• Validation
• Auto mapping
• Authentication
• Session
WebAPI vs ServiceStack
• ServiceStack   is not only webservices
• ServiceStack supports SOAP
• ServiceStack runs on Linux
• ServiceStack runs on IHttpHandler
• ServiceStack runs on 3.5 .NET
• ServiceStack has MQ endpoints
Will it die soon?
• 191   contributors
• 1411 watchers
• 317 forks
Try it today

http://servicestack.net
Q&A

?

Contenu connexe

Tendances

Ускоряем загрузку картинок вебсокетами
Ускоряем загрузку картинок вебсокетамиУскоряем загрузку картинок вебсокетами
Ускоряем загрузку картинок вебсокетами
2ГИС Технологии
 
Scaling and Orchestrating Microservices with OSGi - N Bartlett
Scaling and Orchestrating Microservices with OSGi - N BartlettScaling and Orchestrating Microservices with OSGi - N Bartlett
Scaling and Orchestrating Microservices with OSGi - N Bartlett
mfrancis
 

Tendances (20)

Websocket + Redis pubsub
Websocket + Redis pubsubWebsocket + Redis pubsub
Websocket + Redis pubsub
 
Ускоряем загрузку картинок вебсокетами
Ускоряем загрузку картинок вебсокетамиУскоряем загрузку картинок вебсокетами
Ускоряем загрузку картинок вебсокетами
 
Real Time Recommendations Using WebSockets and Redis - Ninad Divadkar, Inuit
Real Time Recommendations Using WebSockets and Redis - Ninad Divadkar, InuitReal Time Recommendations Using WebSockets and Redis - Ninad Divadkar, Inuit
Real Time Recommendations Using WebSockets and Redis - Ninad Divadkar, Inuit
 
Taking Your Enterprise to the Next Level with WSO2 Message Broker and WSO2 En...
Taking Your Enterprise to the Next Level with WSO2 Message Broker and WSO2 En...Taking Your Enterprise to the Next Level with WSO2 Message Broker and WSO2 En...
Taking Your Enterprise to the Next Level with WSO2 Message Broker and WSO2 En...
 
Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...
Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...
Scaling Blockchain Transaction Are 1000000 Transactions / second really possi...
 
Messaging Connectivity in Hybrid Kubernetes Cloud Environments
Messaging Connectivity in Hybrid Kubernetes Cloud EnvironmentsMessaging Connectivity in Hybrid Kubernetes Cloud Environments
Messaging Connectivity in Hybrid Kubernetes Cloud Environments
 
Embracing Nservicebus Best Practices
Embracing Nservicebus Best PracticesEmbracing Nservicebus Best Practices
Embracing Nservicebus Best Practices
 
Javaee7 jsr356-websocket
Javaee7 jsr356-websocketJavaee7 jsr356-websocket
Javaee7 jsr356-websocket
 
Kerberos
KerberosKerberos
Kerberos
 
Using NodeJS for Real-Time Web
Using NodeJS for Real-Time WebUsing NodeJS for Real-Time Web
Using NodeJS for Real-Time Web
 
KalSMS DarGTUG
KalSMS DarGTUGKalSMS DarGTUG
KalSMS DarGTUG
 
Building Asynchronous Microservices with Armeria
Building Asynchronous Microservices with ArmeriaBuilding Asynchronous Microservices with Armeria
Building Asynchronous Microservices with Armeria
 
Rest vs Soap
Rest vs SoapRest vs Soap
Rest vs Soap
 
How Varnish & MongoDB Scale Business Insider
How Varnish & MongoDB Scale Business InsiderHow Varnish & MongoDB Scale Business Insider
How Varnish & MongoDB Scale Business Insider
 
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto EditionEnter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
Enter The Dragon - SQL 2014 on Server Core - SQLSaturday #341 Porto Edition
 
What's New in the Ambassador Edge Stack 1.0?
What's New in the Ambassador Edge Stack 1.0? What's New in the Ambassador Edge Stack 1.0?
What's New in the Ambassador Edge Stack 1.0?
 
Websocket
WebsocketWebsocket
Websocket
 
Basics of NGINX
Basics of NGINXBasics of NGINX
Basics of NGINX
 
Scaling and Orchestrating Microservices with OSGi - N Bartlett
Scaling and Orchestrating Microservices with OSGi - N BartlettScaling and Orchestrating Microservices with OSGi - N Bartlett
Scaling and Orchestrating Microservices with OSGi - N Bartlett
 
Enhanced Developer Experience with WSO2 Enterprise Service Bus Tooling
Enhanced Developer Experience with WSO2 Enterprise Service Bus ToolingEnhanced Developer Experience with WSO2 Enterprise Service Bus Tooling
Enhanced Developer Experience with WSO2 Enterprise Service Bus Tooling
 

En vedette

JWT SCRUM - Find Data through Doodles Story
JWT SCRUM - Find Data through Doodles StoryJWT SCRUM - Find Data through Doodles Story
JWT SCRUM - Find Data through Doodles Story
teguhtriguna
 
Jennie sinsfadp06
Jennie sinsfadp06Jennie sinsfadp06
Jennie sinsfadp06
sundarnu
 
Smartphone project
Smartphone projectSmartphone project
Smartphone project
sundarnu
 
Damon2011 preview
Damon2011 previewDamon2011 preview
Damon2011 preview
sundarnu
 
Youth Connection - Gatewayllen 2012
Youth Connection - Gatewayllen 2012Youth Connection - Gatewayllen 2012
Youth Connection - Gatewayllen 2012
gatewayl
 
Sws lecture13
Sws lecture13Sws lecture13
Sws lecture13
sundarnu
 
Academic planning2011 12
Academic planning2011 12Academic planning2011 12
Academic planning2011 12
Nitu Chhabra
 
Explotació infantil
Explotació infantilExplotació infantil
Explotació infantil
DoueziLatorre
 

En vedette (20)

Introduction to ServiceStack
Introduction to ServiceStackIntroduction to ServiceStack
Introduction to ServiceStack
 
JWT SCRUM - Find Data through Doodles Story
JWT SCRUM - Find Data through Doodles StoryJWT SCRUM - Find Data through Doodles Story
JWT SCRUM - Find Data through Doodles Story
 
Satoki (Science Fair)
Satoki (Science Fair)Satoki (Science Fair)
Satoki (Science Fair)
 
Introduction to service stack
Introduction to service stackIntroduction to service stack
Introduction to service stack
 
Jennie sinsfadp06
Jennie sinsfadp06Jennie sinsfadp06
Jennie sinsfadp06
 
Smartphone project
Smartphone projectSmartphone project
Smartphone project
 
Jiwon- Animal Flying Machine
Jiwon- Animal Flying MachineJiwon- Animal Flying Machine
Jiwon- Animal Flying Machine
 
Digital Matters from Industry to faculty
Digital Matters from Industry to facultyDigital Matters from Industry to faculty
Digital Matters from Industry to faculty
 
Kutsuyanko
KutsuyankoKutsuyanko
Kutsuyanko
 
Damon2011 preview
Damon2011 previewDamon2011 preview
Damon2011 preview
 
Youth Connection - Gatewayllen 2012
Youth Connection - Gatewayllen 2012Youth Connection - Gatewayllen 2012
Youth Connection - Gatewayllen 2012
 
Vmobile Business Presentation
Vmobile Business PresentationVmobile Business Presentation
Vmobile Business Presentation
 
Sws lecture13
Sws lecture13Sws lecture13
Sws lecture13
 
Academic planning2011 12
Academic planning2011 12Academic planning2011 12
Academic planning2011 12
 
Bonjour French Film Festival - Runner Up Young Spikes Indonesia 2013
Bonjour French Film Festival - Runner Up Young Spikes Indonesia 2013Bonjour French Film Festival - Runner Up Young Spikes Indonesia 2013
Bonjour French Film Festival - Runner Up Young Spikes Indonesia 2013
 
What is the ServiceStack?
What is the ServiceStack?What is the ServiceStack?
What is the ServiceStack?
 
Boyarchuk
BoyarchukBoyarchuk
Boyarchuk
 
Solr
Solr Solr
Solr
 
Explotació infantil
Explotació infantilExplotació infantil
Explotació infantil
 
ServiceStack
ServiceStackServiceStack
ServiceStack
 

Similaire à Servicestack

D1-3-Signaling
D1-3-SignalingD1-3-Signaling
D1-3-Signaling
Oleg Levy
 
Donatas Mažionis, Building low latency web APIs
Donatas Mažionis, Building low latency web APIsDonatas Mažionis, Building low latency web APIs
Donatas Mažionis, Building low latency web APIs
Tanya Denisyuk
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
andreaskallberg
 
The Java Microservice Library
The Java Microservice LibraryThe Java Microservice Library
The Java Microservice Library
Rick Hightower
 
WSO2 Carbon and WSO2 Stratos Summer Release Roundup
WSO2 Carbon and WSO2 Stratos Summer Release Roundup WSO2 Carbon and WSO2 Stratos Summer Release Roundup
WSO2 Carbon and WSO2 Stratos Summer Release Roundup
WSO2
 

Similaire à Servicestack (20)

Micro Services Architecture
Micro Services ArchitectureMicro Services Architecture
Micro Services Architecture
 
Messaging for IoT
Messaging for IoTMessaging for IoT
Messaging for IoT
 
An Azure of Things, a developer’s perspective
An Azure of Things, a developer’s perspectiveAn Azure of Things, a developer’s perspective
An Azure of Things, a developer’s perspective
 
利用K8S實現高可靠應用
利用K8S實現高可靠應用利用K8S實現高可靠應用
利用K8S實現高可靠應用
 
Docker Dublin: Just What is a Service Mesh, and if I get one will it make eve...
Docker Dublin: Just What is a Service Mesh, and if I get one will it make eve...Docker Dublin: Just What is a Service Mesh, and if I get one will it make eve...
Docker Dublin: Just What is a Service Mesh, and if I get one will it make eve...
 
D1-3-Signaling
D1-3-SignalingD1-3-Signaling
D1-3-Signaling
 
Global Windows Azure Bootcamp - San Diego
Global Windows Azure Bootcamp - San DiegoGlobal Windows Azure Bootcamp - San Diego
Global Windows Azure Bootcamp - San Diego
 
Evolution of a cloud start up: From C# to Node.js
Evolution of a cloud start up: From C# to Node.jsEvolution of a cloud start up: From C# to Node.js
Evolution of a cloud start up: From C# to Node.js
 
Real time web apps
Real time web appsReal time web apps
Real time web apps
 
PayPal Risk Platform High Performance Practice
PayPal Risk Platform High Performance PracticePayPal Risk Platform High Performance Practice
PayPal Risk Platform High Performance Practice
 
Donatas Mažionis, Building low latency web APIs
Donatas Mažionis, Building low latency web APIsDonatas Mažionis, Building low latency web APIs
Donatas Mažionis, Building low latency web APIs
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
 
What's New in .Net 4.5
What's New in .Net 4.5What's New in .Net 4.5
What's New in .Net 4.5
 
The Java Microservice Library
The Java Microservice LibraryThe Java Microservice Library
The Java Microservice Library
 
WSO2 Carbon and WSO2 Stratos Summer Release Roundup
WSO2 Carbon and WSO2 Stratos Summer Release Roundup WSO2 Carbon and WSO2 Stratos Summer Release Roundup
WSO2 Carbon and WSO2 Stratos Summer Release Roundup
 
Building Scalable and Robust Solutions with Service Bus in Cloud and Server
Building Scalable and Robust Solutions with Service Bus in Cloud and ServerBuilding Scalable and Robust Solutions with Service Bus in Cloud and Server
Building Scalable and Robust Solutions with Service Bus in Cloud and Server
 
C# Client to Cloud
C# Client to CloudC# Client to Cloud
C# Client to Cloud
 
Micro services
Micro servicesMicro services
Micro services
 
Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...
Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...
Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...
 
Serverless applications
Serverless applicationsServerless applications
Serverless applications
 

Servicestack

  • 1. Su ServiceStack greičiau ir patogiau G IED R IUS BAN AIT IS @ G BAN AITIS AD R O IT I T EC H O N O LOGIES
  • 2.
  • 3. How webservice usage transforms Supplier Phone webservice (server) Game TV console Reseller e-shop Content (server) provider Webservice Tablet End-user (browser) PC
  • 4. New challenges Speed Bandwidth Maintainance Scalability Simplicity
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. ServiceStack vs New Challanges • Has fastest Serializers, ORM and IoC Speed • Caching is first class citezen • JSON, JSV, CSV out of box, ProtoBuff Bandwidth • Message based, not chatty •Services are reused as much as possible Maintainance •Typed C# client •No generated code •Everything integrated • REST Simplicity • no third party dependencies • Runs on Linux Scalability • Supports Azure, AWS, Reddis, Memcache • REST, own Session infrastructure
  • 11.
  • 12. OrmLite • Very lightweight • Cross platform • Pure SQL also Linq expressions • Has nice API for performing updates • Only 1:1 Table mapping
  • 13. Serialization • Has the fastest .NET JSON and JSV serializers, supports dynamic JSON • CSV out of box • Standalone – no dependencies • T.Dump method • Usefull extensions • Protobuff and MsgPack through plugins
  • 14. HTML and MVC • Markdown Razor, MVC Razor and HTML Report out of box • Mix Markdown with MVC • Change Views and Layouts at runtime • Bundling using node-js • Virtual File System • Can share Session, Caching, IoC, ORM, Redis, Config and Logging inside MVC
  • 15. All the Rest • HTTP Utils • Typed Clients • Metadata, Swagger • Logging API with adapters • Validation • Auto mapping • Authentication • Session
  • 16. WebAPI vs ServiceStack • ServiceStack is not only webservices • ServiceStack supports SOAP • ServiceStack runs on Linux • ServiceStack runs on IHttpHandler • ServiceStack runs on 3.5 .NET • ServiceStack has MQ endpoints
  • 17. Will it die soon? • 191 contributors • 1411 watchers • 317 forks
  • 19. Q&A ?