开发者

WCF Data Services, Incorrect URI in returned data

开发者 https://www.devze.com 2023-01-26 12:12 出处:网络
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

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

精彩评论

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