jellyfin/MediaBrowser.Server.Implementations
2013-04-27 20:44:38 -04:00
..
BdInfo referenced core plugins, fixed some dashboard issues, extracted library manager 2013-02-28 14:32:41 -05:00
Configuration #35 - Make IBN path configurable 2013-04-23 15:17:21 -04:00
HttpServer fixed db disposals 2013-04-19 16:27:02 -04:00
IO Have DirectoryWatchers ignore some files 2013-04-13 17:45:29 -04:00
Library #200 - MB3 Locking Folders for a long time 2013-04-27 20:44:38 -04:00
MediaEncoder fixed subtitle offsets 2013-04-27 09:10:24 -04:00
Properties More DI 2013-02-24 16:53:54 -05:00
Providers made file stamp a guid again 2013-04-25 13:27:36 -04:00
Reflection plugin security fixes and other abstractions 2013-02-25 22:43:04 -05:00
ScheduledTasks add artist links on song page 2013-04-25 21:52:29 -04:00
ServerManager resharper suggestions in server implementations 2013-04-10 12:04:13 -04:00
Sorting audio page progress 2013-04-22 23:56:11 -04:00
Sqlite new Artist entity 2013-04-22 00:38:03 -04:00
swagger-ui removed base kernel and ikernel 2013-03-07 00:34:00 -05:00
Udp resharper suggestions in server implementations 2013-04-10 12:04:13 -04:00
Updates remove auto-setting of update level 2013-04-22 15:59:40 -04:00
WebSocket reduce uses of Task.Run 2013-04-15 15:09:27 -04:00
WorldWeatherOnline resharper suggestions in server implementations 2013-04-10 12:04:13 -04:00
MediaBrowser.Server.Implementations.csproj new Artist entity 2013-04-22 00:38:03 -04:00
packages.config updated sqlite 2013-04-19 19:26:54 -04:00
README.txt removed base kernel and ikernel 2013-03-07 00:34:00 -05:00
ServerApplicationPaths.cs #35 - Make IBN path configurable 2013-04-23 15:17:21 -04: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!