I\'m writing an IHttpHandler implementation that will receive XML data sent through a regular HTTP POST from another website. Here\'s a prototype of the implementation:
Just modify the web.config like this:
<location path="Handlers/MyHandler.ashx">
<system.web>
<httpRuntime requestValidationMode="2.0" />
</system.web>
</location>
As far as I know, you just need to encode that XML with entities.
I mean that < should be & lt; or > & gt;, and so on.
EDIT: I found that this is a duplicate of: How can Request Validation be disabled for HttpHandlers?
Try this!! :)