开发者

WCF Data Services, Incorrect URI in returned data

I am trying to deploy my WCF Data Services on a server behind a reverse proxy, in a subfolder, ie:

http://mydomain.com/mysubfolder/Services/WCFDataService.svc

And I reach my application like that: http://mydomain.com/mysubfolder/Default.aspx

There is actually a redirection from mydomain.com/mysubfolder to my server ip, it's not a VirtualDirectory configured in IIS.

My problem is that the URI of the objects returned 开发者_如何转开发are as follow: http://mydomain.com/Services/WCFDataService.svc/Articles(45) instead of http://mydomain.com/mysubfolder/Services/WCFDataService.svc/Articles(45)

Is there ay configuration that I missed or is this a bug?

Thank you very much for your answers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜