Luke Pulverenti 32bc545a85 removed unused attributes 12 년 전
..
BdInfo af7aa597c3 referenced core plugins, fixed some dashboard issues, extracted library manager 12 년 전
Configuration 2ca4b7d03a Created IConfigurationManager 12 년 전
HttpServer 48d60b2f6a fixes #162 - Random MediaBrowser3 Crash 12 년 전
IO 5a3c46fd5e Have DirectoryWatchers ignore some files 12 년 전
Library e86a8d4ef5 reduce number of parallel people tasks 12 년 전
MediaEncoder 06a7d64525 added dual pass image extraction 12 년 전
Properties 8ce3e74e81 More DI 12 년 전
Providers 95b1bfb0de fixed people images being occasionally incorrect 12 년 전
Reflection 2d06095447 plugin security fixes and other abstractions 12 년 전
ScheduledTasks 654822441e fixed typo 12 년 전
ServerManager 7097b9aa75 resharper suggestions in server implementations 12 년 전
Sorting dea10e5040 Capture revenue and add it as a sort order 12 년 전
Sqlite 32bc545a85 removed unused attributes 12 년 전
Udp 7097b9aa75 resharper suggestions in server implementations 12 년 전
Updates 7097b9aa75 resharper suggestions in server implementations 12 년 전
WebSocket b838c53017 reduce uses of Task.Run 12 년 전
WorldWeatherOnline 7097b9aa75 resharper suggestions in server implementations 12 년 전
swagger-ui 4f67fc4aef removed base kernel and ikernel 12 년 전
MediaBrowser.Server.Implementations.csproj dea10e5040 Capture revenue and add it as a sort order 12 년 전
README.txt 4f67fc4aef removed base kernel and ikernel 12 년 전
ServerApplicationPaths.cs cb39f8e7b5 extracted a media encoding interface to keep ffmpeg out of nuget packages 12 년 전
packages.config 27b1bdbf55 added custom error codes 12 년 전

README.txt

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!