Tuesday, June 4, 2013

404 error with WCF querystring using email address in Visual Studio.

Tyring to build out a RESTful call which would pass an email as an argument.
I was working in Visual Studio 2010.

Example:
http://mysite.com/TheService.svc/Name/bob.smith@white.com/

Error:
404 resource not found


Issue appears to be with the internal web server, "Cassini", in visual studio.
I deployed this to IIS and the service worked fine.  This is a known bug with Cassini.
It appears to not be able to handle periods (.=%2E).

Credit to Stack Overflow.

http://stackoverflow.com/questions/8491159/email-address-as-part-of-a-wcf-data-service-querystring

No comments:

Post a Comment