ServiceStack in ASP.NET

ServiceStack

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

Prerequisite

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.