Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (26 sloc) 1.436 kB
You *MUST* register ServiceStacks '/api' path by adding the lines below to MvcApplication.RegisterRoutes(RouteCollection) in the Global.asax:
routes.IgnoreRoute("{*favicon}", new { favicon = @"(.*/)?favicon.ico(/.*)?" }); //Prevent exceptions for favicon
Place them before the current entries the method.
To enable the Mini Profiler add the following lines in to MvcApplication in Global.asax.cs:
protected void Application_BeginRequest(object src, EventArgs e)
if (Request.IsLocal)
protected void Application_EndRequest(object src, EventArgs e)
For more info on the MiniProfiler see v3.09 of the
The Urls for metadata page and included Services:
* /api/metadata - Auto generated metadata pages
* /api/hello - Simple Hello World Service see:
* /api/todos - Simple REST Service see:
* /default.htm - Backbone.js TODO application talking to the TODO REST service at /api/todos
For more info about ServiceStack please visit:
Feel free to ask questions about ServiceStack on:
or on the mailing Group at:
Jump to Line
Something went wrong with that request. Please try again.