jellyfin/MediaBrowser.Common
2013-02-21 15:26:55 -05:00
..
Api removed static logger 2013-02-21 15:26:55 -05:00
Events removed static logger 2013-02-21 15:26:55 -05:00
Extensions fixed x64 2013-02-21 12:22:41 -05:00
IO removed static logger 2013-02-21 15:26:55 -05:00
Kernel removed static logger 2013-02-21 15:26:55 -05:00
Localization Pushing missing changes 2013-02-20 20:33:05 -05:00
Logging removed static logger 2013-02-21 15:26:55 -05:00
Mef Pushing missing changes 2013-02-20 20:33:05 -05:00
Net fix query string parsing issue 2013-02-21 02:00:04 -05:00
Plugins removed static logger 2013-02-21 15:26:55 -05:00
Progress Pushing missing changes 2013-02-20 20:33:05 -05:00
Properties Pushing missing changes 2013-02-20 20:33:05 -05:00
Resources/Images Pushing missing changes 2013-02-20 20:33:05 -05:00
ScheduledTasks Pushing missing changes 2013-02-20 20:33:05 -05:00
Serialization removed static logger 2013-02-21 15:26:55 -05:00
swagger-ui Pushing missing changes 2013-02-20 20:33:05 -05:00
UI isolated sqlite dependancy 2013-02-20 23:37:50 -05:00
Updates Pushing missing changes 2013-02-20 20:33:05 -05:00
Win32 Pushing missing changes 2013-02-20 20:33:05 -05:00
app.config Updated reactive extensions 2012-08-24 08:05:31 -04:00
MediaBrowser.Common.csproj removed static logger 2013-02-21 15:26:55 -05:00
packages.config Pushing missing changes 2013-02-20 20:33:05 -05:00
README.txt Pushing missing changes 2013-02-20 20:33:05 -05:00

ServiceStack services should be available under '/api' path. If it's a brand new MVC project 
install NuGet Package: ServiceStack.Host.Mvc. The package prepares ServiceStack default services. Make sure 
that you added ignore for MVC routes:

	routes.IgnoreRoute("api/{*pathInfo}"); 

If it's MVC4 project, then don't forget to disable WebAPI:

	//WebApiConfig.Register(GlobalConfiguration.Configuration);
 
Enable Swagger plugin in AppHost.cs with:

    public override void Configure(Container container)
    {
		...

        Plugins.Add(new SwaggerFeature());
		// uncomment CORS feature if it's has to be available from external sites 
        //Plugins.Add(new CorsFeature()); 
		...

    }

Compile it. Now you can access swagger UI with:

http://localost:port/swagger-ui/index.html

or

http://yoursite/swagger-ui/index.html


For more info about ServiceStack please visit: http://www.servicestack.net

Feel free to ask questions about ServiceStack on:
http://stackoverflow.com/

or on the mailing Group at:
http://groups.google.com/group/servicestack

Enjoy!