When using uric uric file extensions with OpenRasta, OR cannot resolve uri and returns 404. Without the file extension, everything works fine.
Codecs are defined for an object resource, and I use both XmlDataContract and JsonDataContract. Using neither the .xml extension nor the .json extension, this works for both InMemoryHost (which we use for testing) and ASP.Net (IIS7, native mode).
Codec configuration:
ResourceSpace.Has.ResourcesOfType<object>()
.WithoutUri
.AsXmlDataContract()
.And.AsJsonDataContract();
Is there anything else that needs to be done to expand the uri files?
source
share