I have an ASP.NET 3.5 Website (Win 7, IIS 7.0) that uses Forms Authentication.
I trying to implement a WCF REST
webservice endpoint (Rest.svc) but it keeps redirecting webservice calls to the login page "Login.aspx".
If I change the website to Windows
authentication, it works well but that does not help because I need to support FORMS
authentication.
I even tried the following changes to the web.config file as some have suggested, but it has not worked either.
<location path="Rest.svc">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
Note: that I have other myService.ashx and webservices.asmx webservices runing on the same website that don't have these issues.
Am I missing something?