Eric Reed 6ebab4a965 Make sure item has a place to store local meta before trying to store there 12 år sedan
..
BdInfo af7aa597c3 referenced core plugins, fixed some dashboard issues, extracted library manager 13 år sedan
Configuration 2ca4b7d03a Created IConfigurationManager 13 år sedan
HttpServer 2828688ced better source stream disposal for static files 12 år sedan
IO 9911df11e8 extracted provider manager. took more off the kernel 12 år sedan
Library 4c725e69a8 added swagger api docs 13 år sedan
Properties 8ce3e74e81 More DI 13 år sedan
Providers 6ebab4a965 Make sure item has a place to store local meta before trying to store there 12 år sedan
Reflection 2d06095447 plugin security fixes and other abstractions 13 år sedan
ScheduledTasks 9911df11e8 extracted provider manager. took more off the kernel 12 år sedan
ServerManager 9911df11e8 extracted provider manager. took more off the kernel 12 år sedan
Sqlite 4f67fc4aef removed base kernel and ikernel 13 år sedan
Udp 4f67fc4aef removed base kernel and ikernel 13 år sedan
Updates 4f67fc4aef removed base kernel and ikernel 13 år sedan
WebSocket 4f67fc4aef removed base kernel and ikernel 13 år sedan
WorldWeatherOnline 2ca4b7d03a Created IConfigurationManager 13 år sedan
swagger-ui 4f67fc4aef removed base kernel and ikernel 13 år sedan
MediaBrowser.Server.Implementations.csproj 332f635939 Added IHttpResultFactory 12 år sedan
README.txt 4f67fc4aef removed base kernel and ikernel 13 år sedan
ServerApplicationPaths.cs 9911df11e8 extracted provider manager. took more off the kernel 12 år sedan
packages.config 4f67fc4aef removed base kernel and ikernel 13 år sedan

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!