Mark van Veen c5303ebf25 #149 - Lucene Search engine basics implemented 12 년 전
..
BdInfo af7aa597c3 referenced core plugins, fixed some dashboard issues, extracted library manager 12 년 전
Configuration 4390e2f710 #35 - Make IBN path configurable 12 년 전
HttpServer eb612bd303 fixed db disposals 12 년 전
IO 5a3c46fd5e Have DirectoryWatchers ignore some files 12 년 전
Library c5303ebf25 #149 - Lucene Search engine basics implemented 12 년 전
MediaEncoder 0e7ad811ac fixes #170 - MI aspect ratio 12 년 전
Properties 8ce3e74e81 More DI 12 년 전
Providers 374b7f2f03 new Artist entity 12 년 전
Reflection 2d06095447 plugin security fixes and other abstractions 12 년 전
ScheduledTasks 374b7f2f03 new Artist entity 12 년 전
ServerManager 7097b9aa75 resharper suggestions in server implementations 12 년 전
Sorting 4a100452cf audio page progress 12 년 전
Sqlite 374b7f2f03 new Artist entity 12 년 전
Udp 7097b9aa75 resharper suggestions in server implementations 12 년 전
Updates 3960dda3bd remove auto-setting of update level 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 374b7f2f03 new Artist entity 12 년 전
README.txt 4f67fc4aef removed base kernel and ikernel 12 년 전
ServerApplicationPaths.cs 4390e2f710 #35 - Make IBN path configurable 12 년 전
packages.config 39044fea9a updated sqlite 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!