Following the code example at this URL :
https://github.com/ServiceStack/ServiceStack/wiki/Self-hosting
I created an empty solution, pasted the above C# code into 'program.cs' and ran the following nuget commands to get the required libraries and code files imported :
Install-Package ServiceStack
Install-Package ServiceStack.api.Swagger
The service runs fine, the swagger meta data is delivered correctly, but when trying to visit /swagger-ui/index.html
I get the error 'Handler not found'.
I've shared my basic example code via dropbox :
ServiceStackSelfhosted.zip (2.5 MB)
ServiceStackSelfhosted_stripped.zip (8 Kb but needs nuget commands to be run)