问题描述
有谁知道C#编写的开源库,可以很容易与WebDAV服务器进行通信?
Does anybody know of an open source library written in C# that makes it easy to communicate with a WebDAV server?
对于一个项目,我需要与服务器进行通信使用WebDAV协议。我使用VS 2008和.NET Framework 3.5。使用谷歌,我发现C#编写的关于如何使WebDAV请求多个样本。这是很简单的,但所有的样本是创建从地上爬起来自己的WebDAV请求。我不想以建设一个有效的WebDAV请求的所有语法细节困扰
For a project I need to communicate with a server using the WebDAV protocol. I'm using VS 2008 and the .NET framework 3.5. Using Google I found multiple samples written in C# on how to make a WebDAV request. It is simple enough but all the samples are creating their own WebDAV request from the ground up. I don't want to be bothered with all the syntactical details of building a valid WebDAV request.
在我发现很多的链接,软件和库各种语言,但没有针对.NET(C#)。还有一个Apache项目,看起来很有趣(),但这个项目是退休了,再...这是所有Java代码。
我知道有,似乎怎么做,我需要提供商业库,但如果可能的话,我更喜欢一个开源的替代品。但是,如果我不能找到什么有用的东西,我可能因此任何建议也欢迎考虑商业产品。
On the web site of webdav.org I found a lot of links to software and libraries for all kinds of languages but nothing for .NET (C#). There is also an Apache project that looks very interesting (Jakarta Slide) but this project is retired and again... this is all java code.I know there are commercial libraries available that seem to do just what I need but I prefer an open source alternative if possible. However, if I can't find anything useful I might consider a commercial product so any recommendations are also welcome.
推荐答案
我发现自己在一个类似的立场和一个简单的WebDAV通讯类。这是非常基本的,但它可能只包含对大多数应用足够的功能:
I found myself in a similar position and a simple WebDAV communications class. It's pretty basic, but it might just contain enough functionality for most uses: https://github.com/kvdb/WebDAVClient
这篇关于在C#中开放源码库可以用WebDAV服务器进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!