LukePulverenti 815240f920 fix query string parsing issue 13 лет назад
..
Api 767cdc1f6f Pushing missing changes 13 лет назад
Events 767cdc1f6f Pushing missing changes 13 лет назад
Extensions 767cdc1f6f Pushing missing changes 13 лет назад
IO 767cdc1f6f Pushing missing changes 13 лет назад
Kernel ee9d481662 isolated bdinfo dependancy 13 лет назад
Localization 767cdc1f6f Pushing missing changes 13 лет назад
Logging ee9d481662 isolated bdinfo dependancy 13 лет назад
Mef 767cdc1f6f Pushing missing changes 13 лет назад
Net 815240f920 fix query string parsing issue 13 лет назад
Plugins 767cdc1f6f Pushing missing changes 13 лет назад
Progress 767cdc1f6f Pushing missing changes 13 лет назад
Properties 767cdc1f6f Pushing missing changes 13 лет назад
Resources 767cdc1f6f Pushing missing changes 13 лет назад
ScheduledTasks 767cdc1f6f Pushing missing changes 13 лет назад
Serialization 767cdc1f6f Pushing missing changes 13 лет назад
UI a5f9dc1bfc isolated sqlite dependancy 13 лет назад
Updates 767cdc1f6f Pushing missing changes 13 лет назад
Win32 767cdc1f6f Pushing missing changes 13 лет назад
swagger-ui 767cdc1f6f Pushing missing changes 13 лет назад
MediaBrowser.Common.csproj ae4ffa75be isolated weather and moved drawing classes up to the controller project 13 лет назад
README.txt 767cdc1f6f Pushing missing changes 13 лет назад
app.config 2b8f23dff4 Updated reactive extensions 13 лет назад
packages.config 767cdc1f6f Pushing missing changes 13 лет назад

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!