Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceStack.Swagger doesn't work with ServiceStack.Razor #2

Open
RTS-tender opened this issue Jan 22, 2013 · 2 comments
Open

ServiceStack.Swagger doesn't work with ServiceStack.Razor #2

RTS-tender opened this issue Jan 22, 2013 · 2 comments

Comments

@RTS-tender
Copy link

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.

@mythz
Copy link
Member

mythz commented Jan 23, 2013

Lets see if @desunit knows anything about this? :)

@desunit
Copy link
Member

desunit commented Jan 24, 2013

@RTS-tender, can you show me how you add Razor and also please provide firebug log (or Chrome console log)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants