Common, high-level libs and utils, not core to the framework but useful to its users
Switch branches/tags
Nothing to show
Pull request Compare This branch is 96 commits behind ServiceStackV3:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
lib
src
tests
.gitignore
README.md

README.md

Useful high-level App and use-case specific features and utils

##ServiceStack.ServiceInterface.dll

Generic, Common and High-level functionality to assist with your web services implementation.

The ServiceBase and RestServiceBase classes provide use-ful base classes for your web services to inherit from.

ServiceBase - base class for RPC services

  • Handles C# exceptions and serializes them into your Response DTO's so your clients can programatically access them
  • If you have a IRedisClient installed, rolling error logs will be maintained so you can easily see the latest errors
  • base.ResolveService() - let's you access a pre-configured instance of another web service so you can delegate required functionality
  • base.AppHost - Accesses the underlying AppHost letting you inspect its configuration, etc

RestServiceBase - base class for REST Services (extends ServiceBase)

  • Reduces the boiler-plate by already implementing all REST operations so you don't have to e.g. IRestGetService

ServiceModel

Generic DTO types useful for all web services. e.g. ResponseStatus is where C# exceptions get injected into

Session

Existing classes to help manage a users session