Download - Introduction to ServiceStack
![Page 1: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/1.jpg)
Introduction to
ServiceStackFull (Web) Service Framework for .NET
Ash DCosta@SoftwareWeaver
www.Ashvil.net
![Page 2: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/2.jpg)
About me• Founder and chief architect – Mobi Weave, Inc. • 20+ years experience with Intel, i2 Technologies,
IdentityMine, i3Connect and Wells Fargo
![Page 3: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/3.jpg)
App Catalog
SharePoint on iOSMS BI on iOS
![Page 4: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/4.jpg)
What is ServiceStackService Stack is a high-performance .NET web
services framework that simplifies the development of XML, JSON, JSV and SOAP
Web Services.
![Page 5: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/5.jpg)
Evolution
XML-RPC
• XML-RPC.NET
SOAP
• ASP.NET WS
• WCF
REST
• ServiceStack
• Web API
![Page 6: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/6.jpg)
RPC style
Customer GetCustomerByEmail(string email)
Customer GetCustomerBySSN(string ssn)
Customer GetCustomerByName(string name)
![Page 7: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/7.jpg)
DTO styleCustomer GetCustomer (Customer customer)
![Page 8: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/8.jpg)
DTO in - DTO out
![Page 9: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/9.jpg)
Customer GetCustomer (Customer
customer)
![Page 10: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/10.jpg)
Call via HTTP
http://server/Customer/<<SSN>>• Route(url) contains SSN
http://server/Customer?SSN=32453• Query string contains SSN
http://Server/Customer• Post Data -> Customer JSON
http://Server/Customer• Form data -> Customer data
![Page 11: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/11.jpg)
Flow
![Page 12: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/12.jpg)
Plug and PlayPlugins and other modules
![Page 13: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/13.jpg)
Plugins
Formats
HTML
Razor
CSV
Razor Markdown
ProtoBuf
Authentication and
Authorization
Session
Registration
Validation Logging Your Own Feature
![Page 14: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/14.jpg)
Authentication and authorization
![Page 15: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/15.jpg)
Other Components
ServiceStack.Text ServiceStack.OrmLite
ServiceStack.Caching ServiceStack.Redis
![Page 16: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/16.jpg)
Demo
Create an empty ASP.NET Web Application
PM> Install-Package ServiceStack.Host.Asp
NetAdd/Edit Services
![Page 17: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/17.jpg)
Next Steps
Bugs and patches to github.com/servicestack
Support on Stack Overflow #ServiceStack
Docs at www.ServiceStack.net
Nuget ServiceStack package
![Page 18: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/18.jpg)
CreditsThanks to Denis Bellot and the ServiceStack contributors
for an awesome productAlso thanks to ServiceStack for images
![Page 19: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/19.jpg)
Questions
![Page 20: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/20.jpg)
Appendix
![Page 21: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/21.jpg)
MQ Architecture
![Page 22: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/22.jpg)
![Page 23: Introduction to ServiceStack](https://reader033.vdocuments.site/reader033/viewer/2022061111/5454ed6caf79592b448b4623/html5/thumbnails/23.jpg)