Friday, 6 September 2013

Can the ServiceStack config setting "WebHostPhysicalPath" be used for relative paths?

Can the ServiceStack config setting "WebHostPhysicalPath" be used for
relative paths?

Hello ServiceStack aficionados!
I would like to host static XML files through the ServiceStack service;
however, I can't seem to get the configuration right and only receive 404
errors. Feels like I tried all sorts of path/url combinations.
Can the WebHostPhysicalPath be defined as a relative path? Is there
another setting that must be enabled? I was concerned that maybe the XML
extension is conflicting with the format conversion stuff.
Also, can I host Razor cshtml files this way too?
Any comments on this approach?
thanks!

No comments:

Post a Comment