开发者

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

开发者 https://www.devze.com 2023-02-28 13:44 出处:网络
As title really, how/is it possible to set the Source property of an XmlDataProvider to use a file held on our SVN repository?

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

精彩评论

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

关注公众号