When I add RazorFormat feature to ServiceStack.Swagger example I get "Handler for Request not found" error when trying to view localhost:yourport/swagger-ui/index.html (which was previously working).
So how to use both: swagger and razor? I tried to rename index.html to index.cshtml to make razor engine deal with this file. The page was working but no JS, and no CSS downloaded, so it wasn't useful much.
When I add RazorFormat feature to ServiceStack.Swagger example I get "Handler for Request not found" error when trying to view localhost:yourport/swagger-ui/index.html (which was previously working).
So how to use both: swagger and razor? I tried to rename index.html to index.cshtml to make razor engine deal with this file. The page was working but no JS, and no CSS downloaded, so it wasn't useful much.