Documentationfor web framework
Latest Tweets from @ServiceStack:
Example Projectsdemos and starter templates
Documentationfor sub projects
view architecture overview
A modern fresh alternative to WCF.
Code-first, convention-based, codegen-free.
Promotes best-practices, high-performance REST & RPC web services.
Full-overview and Creating REST services slides
Getting started
- Get an overview in the introduction slides
- Read the documentation.
- Download ServiceStack's packages on NuGet and start developing today!
- The example projects are highly recommended
Resources
- Latest Release Notes
- ServiceStack Mail List and Google Group
Live Demos
Backbone.js TODO app with Redis and REST backend
GitHub-like browser to manage remote filesystem over REST
StackOverflow clone created entirely with Redis and jQuery
ServiceStack features using the real-world Northwind dataset
The Redis Admin UI - visually manage your data in Redis
Super charge your ASP.NET MVC website with ServiceStack's MVC PowerPack!
Side-by-Side with MVC: Hosted at /api - Create an empty MVC Web Application and
PM> Install-Package ServiceStack.Host.Mvc
ServiceStack Only: Hosted at / - Create an empty ASP.NET Web Application and
PM> Install-Package ServiceStack.Host.AspNet
Running on high performance parts
Included in ServiceStack are a number of other libraries that are useful in developing high-performance scalable web services.These sub-components are included in ServiceStack.dll but are also available to download seperately.
Text
Fastest and most compact JSON, JSV Text Serializers for .NET
- 3.5x quicker and 2.6x smaller than the .NET XML DataContractSerializer
- 5.3x quicker and 1.3x smaller than the .NET JSON DataContractSerializer
- view the benchmarks
- Fast
- Compact
- Human readable and writeable, self-describing text format
- Resilient to schema changes
- Non-invasive and configuration-free
Redis
Redis is arguably the best key-value store to come from the NoSQL movement.
Similar to memcached but the dataset is not volatile. Values can either be strings lists, sets, or ordered sets.
ServiceStack.Redis is fast, rich Opensource C# Redis client:
ServiceStack.Redis is fast, rich Opensource C# Redis client:
- Native support for persisting POCO objects
- Has both low-level raw bytes and high-level typed access
- Expose Redis server-side lists & sets as IList<> ICollection<>
- Rich API support
- Comprehensive regression and test suite
OrmLite
A fast, convention-based, configuration-free POCO
ORM providing lightweight extension methods
on top of
OrmLite is focused on it's core objectives:
IDbCommand
and IDbConnection
classes.
It uses standard Data Annotation attributes simplifying the effort required to access an RDBMS.
OrmLite is focused on it's core objectives:
- Performance - with support for indexes, text blobs, etc.
- Simplicity - with minimal, convention-based attribute configuration
- Expressive power and flexibility - with access to IDbCommand and raw SQL
- Portable - supports multiple dbs running on both .NET and Mono platforms.
Caching
As caching is an essential technology in the development of high-performance web services,
Service Stack has a number of different caching options available that each share the
same common client interface for the following cache providers:
- Memcached - The tried and tested most widely used cache provider
- Redis - The hottest and fastest new kid on the block
- In Memory Cache - Useful for single host web services and unit tests
- FileAndCacheTextManager - A two-tiered cache provider that has a backup filesystem cache