Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

ServiceStack in ASP.NET

DZone's Guide to

ServiceStack in ASP.NET

·
Free Resource

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.

S.No

Package Name

Installation Commands

1

ServiceStack

Install-Package ServiceStack

2

ServiceStack with OrmLite or Redis

Install-Package ServiceStack.Server

3

ServiceStack with Razor

Install-Package ServiceStack.Razor

4

ServiceStack with Asp.Net MVC

Install-Package ServiceStack.Mvc

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}