Silverlight WCF Returns HTTP 404

Silverlight WCF Returns HTTP 404

Silverlight WCF HTTP 404 Today I ran into something weird. I created a WCF Service and tested it with simple .Net client application and it worked fine. Than, I built a Silverlight application and tried to call the same service, but kept getting: System.ServiceModel.ProtocolException: "The remote server returned an unexpected response: (404) Not Found."

Here’s the solution for this problem…

Enjoy!