Over a million developers have joined DZone.

ServiceStack in ASP.NET

DZone 's Guide to

ServiceStack in ASP.NET

· ·
Free Resource


ServiceStack is an open source platform and it’s a simple, fast and light Wight framework to build a web service application and web application. It is support cross-platform like Mono, Linux, Mac OS X, iOS, Sun Solaris, Microsoft Windows etc. It is a configuration free, code-first and an alternative to WCF, ASP.NET Web API and ASP.NET MVC Framework. It is provides many features, reuse code for maximum level, make version-able with an end-to-end solution service.

ServiceStack Features

The ServiceStack is an available lot of features as following

  • REST, SOAP and MQ Services
  • HTTP Client Utility and generic type
  • Integration with ASP.NET MVC Framework
  • JSON Serializer
  • Provide a virtual file system, bundling and Logging
  • Security, authentication and authorization
  • Lightweight ORM (OrmLite) and etc.

Refer more features to visit https://servicestack.net/features

You can add your project for StackService package via NuGet as following steps


Installed NuGet Client package on your system

NuGet Client

The NuGet Package is an available on the codeplex website. You can download and install the NuGet Client package from the http://nuget.codeplex.com

  1. Double Click NuGet.Tools.vsix
  2. Click “Install” Button
  3. Click “Close” Button

Visual Studio

  1. Open the Visual Studio
  2. Go to Tools àNuGet Package Manager à Click Package Manage Console
  3. The Package Manager Console will be opened
  4. Then, Type “install-package ServiceStack

Add ServiceStack to your project as following command in the Package Manager Console.


Package Name

Installation Commands



Install-Package ServiceStack


ServiceStack with OrmLite or Redis

Install-Package ServiceStack.Server


ServiceStack with Razor

Install-Package ServiceStack.Razor


ServiceStack with Asp.Net MVC

Install-Package ServiceStack.Mvc


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}