开发者

Using a SVN repo file as a source for an XML data provider

As title really, how/is it possible to set the Source property of an XmlDataProvider to use a file held on our SVN repository?

I've tried this:

<XmlDataProvider x:Key="xmlDPPlatforms" Source="https://[path to xml file]" />

But it doesn't work, which I'm guessing is down to the fact that it's held on a s开发者_运维问答ecure (HTTPS) repository? It doesn't throw any errors, but nothing which relies on the file get's populated.

I know I could theoretically use svn commands to download the latest version into a stream/string, and bind that to the dataprovider, but that seems a bit convoluted to me?

Running on .net 3.5 framework, but no qualms about upgrading it to 4 if need be.

Thanks


check the apache access/error logs when the client should be getting the file. maybe it's authentication or authorization related

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜