Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
http://localhost:51346/Summary.svc/GetEmployeeId/abc@gmail.com[^]

What I have tried:

When i'm passing email id in web service its giving me an error saying that "Resource could not be found",though i did google for that and my issue is '.' in the email address.also i did url encode but it does not solved my problem.i did not find any proper solution.please help for this
Posted
Updated 20-Sep-16 19:17pm

1 solution

Quote:
If the service is hosted on Visual Studio Development Server (so called Cassini), it might have problems when the URI contains multiple dot characters. This is a known limitation of the development server. To overcome this issue use IIS Express, or full blown IIS.

c# - Email address as part of a WCF data service querystring - Stack Overflow[^]
More information in the following thread-
http://www.codeproject.com/Questions/399585/how-to-pass-email-address-in-wcf-service-url[^]
Make Web Development Easier with IIS Express[^]

Hope, it helps :)
 
Share this answer
 
Comments
Member 10549697 22-Sep-16 3:48am    
Thank You!..
Suvendu Shekhar Giri 22-Sep-16 4:34am    
Glad that it was useful :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900