Luke Pulverenti b0d1fc8674 lowercase html links 12 лет назад
..
BdInfo af7aa597c3 referenced core plugins, fixed some dashboard issues, extracted library manager 13 лет назад
Configuration 2ca4b7d03a Created IConfigurationManager 13 лет назад
HttpServer 7bc1da5e7d removed file comment 12 лет назад
IO 31bb5b5cb3 removed udp server layer 12 лет назад
Library b0d1fc8674 lowercase html links 12 лет назад
Properties 8ce3e74e81 More DI 13 лет назад
Providers 6ebab4a965 Make sure item has a place to store local meta before trying to store there 12 лет назад
Reflection 2d06095447 plugin security fixes and other abstractions 13 лет назад
ScheduledTasks 33a3f620e6 display pending installations on dashboard home 12 лет назад
ServerManager 31bb5b5cb3 removed udp server layer 12 лет назад
Sorting c7d2b3a407 updated ffmpeg. cleaned up some unused api properties 12 лет назад
Sqlite cf61ac0264 fixed client type display for ios. also fixed display preferences saving. 12 лет назад
Udp 44ad31bdbe lowercase image references 12 лет назад
Updates bae89ee824 fix duplicate connections on the dashboard 12 лет назад
WebSocket a6c9fdd0f2 Moved some web socket classes to the model 12 лет назад
WorldWeatherOnline 2ca4b7d03a Created IConfigurationManager 13 лет назад
swagger-ui 4f67fc4aef removed base kernel and ikernel 12 лет назад
MediaBrowser.Server.Implementations.csproj 3622f9b207 moved search to server.implementations 12 лет назад
README.txt 4f67fc4aef removed base kernel and ikernel 12 лет назад
ServerApplicationPaths.cs 9911df11e8 extracted provider manager. took more off the kernel 12 лет назад
packages.config 3622f9b207 moved search to server.implementations 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!