In this article I show how to resolve error No 'Access-Control-Allow-Origin' header is present on the requested resource. When we create restful service in WCF.
Any Service that we develop might get some error.
Basically we can not see what wents wrong actually in our and where cause the error.
We handle this problem using Fault Contract.
In my previous atricles I explain hosting Wcf service on IIS with WFC Test Client. In this articales I want to show how to hosting Wcf service on IIS and using this service to MVC application.