Su ServiceStack greičiau ir patogiauGIEDRIUS BANAITIS
@GBANAITIS
ADROITI TECHONOLOGIES
How webservice usage transforms
Supplier webservice (server)
Reseller e-shop (server)
End-user (browser)
Content provider
Phone
TVTable
tPC
Webservice
Game console
New challenges
Speed
Bandwidth
Maintainance
Scalability
Simplicity
ServiceStack vs New Challanges
• Has fastest Serializers, ORM and IoC• Caching is first class citezenSpeed• JSON, JSV, CSV out of box, ProtoBuff• Message based, not chattyBandwidth• Services are reused as much as possible• Typed C# client• No generated code• Everything integrated
Maintainance
• REST• no third party dependenciesSimplicity• Runs on Linux• Supports Azure, AWS, Reddis, Memcache• REST, own Session infrastructureScalability
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
?
Top Related