Change Request Confirmation for Lightswitch WCF RIA Services

I have a Lightswitch VS2010 application that uses a number of services that I developed in a separate DLL and added to the application as WCF RIA services.

My problem is that some of these service calls include string parameters, which may contain angle brackets that are illegal for the default request validator.

I can not turn off verification of this request. I tried everything without exception:

1) Setting requestValidationMode = "2.0" in ServerGenerated web.config () 2) Setting up a custom ValidationType request in the WCF RIA DLL app () configuration

Which is especially important when I use Fiddler, I don’t even see the call being called by the service. It is as if the lightwitch client intercepted the call.

Everything works fine if I just replace the parameter containing angle brackets with one that doesn't.

+4
source share

All Articles