Introduction to ServiceStack

5,253 views
5,051 views

Published on

Service Stack is a high-performance .NET web services framework that simplifies the development of XML, JSON, JSV and SOAP Web Services.

This presentation was given at the Silicon Valley Code Camp on Oct. 6, 2012

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
5,253
On SlideShare
0
From Embeds
0
Number of Embeds
833
Actions
Shares
0
Downloads
71
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction to ServiceStack

  1. 1. Introduction to ServiceStack Full (Web) Service Framework for .NET Ash DCosta @SoftwareWeaver www.Ashvil.net
  2. 2. About me• Founder and chief architect – Mobi Weave, Inc.• 20+ years experience with Intel, i2 Technologies, IdentityMine, i3Connect and Wells Fargo
  3. 3. MS BI on iOS SharePoint on iOS App Catalog
  4. 4. What is ServiceStack Service Stack is a high-performance .NET webservices framework that simplifies the development of XML, JSON, JSV and SOAP Web Services.
  5. 5. EvolutionXML-RPC SOAP REST • XML- • ASP.NET • ServiceStack RPC.NET WS • Web API • WCF
  6. 6. RPC styleCustomer GetCustomerByEmail(string email)Customer GetCustomerBySSN(string ssn)Customer GetCustomerByName(string name)
  7. 7. DTO styleCustomer GetCustomer (Customer customer)
  8. 8. DTO in - DTO out
  9. 9. Customer GetCustomer (Customer customer)
  10. 10. Call via HTTPhttp://server/Customer/<<SSN>>• Route(url) contains SSNhttp://server/Customer?SSN=32453• Query string contains SSNhttp://Server/Customer• Post Data -> Customer JSONhttp://Server/Customer• Form data -> Customer data
  11. 11. Flow
  12. 12. Plug and PlayPlugins and other modules
  13. 13. Plugins Authentication Your OwnFormats and Validation Logging Feature Authorization HTML Session Razor Registration CSV Razor Markdown ProtoBuf
  14. 14. Authentication and authorization
  15. 15. Other Components ServiceStack.Text ServiceStack.OrmLite ServiceStack.Caching ServiceStack.Redis
  16. 16. DemoCreate an empty ASP.NET PM> Install-Package Add/Edit Services Web Application ServiceStack.Host.AspNet
  17. 17. Next Steps Nuget ServiceStack package Docs at www.ServiceStack.net Support on Stack Overflow #ServiceStackBugs and patches to github.com/servicestack
  18. 18. CreditsThanks to Denis Bellot and the ServiceStack contributors for an awesome product Also thanks to ServiceStack for images
  19. 19. Questions
  20. 20. Appendix
  21. 21. MQ Architecture

×