3 years ago | 13 commits to master since this release
WebDavSession.ListAsyncmethods now have an optional parameter specifying a
UriKind.Absolute). By this parameter, the format of the Uris of the resulting
WebDavSessionListItemscan be specified.
WebDavSession. If a proxy should be used, use one of the constructors of
HttpMessageHandlerand provide information about a proxy with a
4 years ago | 41 commits to master since this release
WebDavSession: New overload for
WebDavClient: Added missing method overloads.
4 years ago | 54 commits to master since this release
WebDavSession) to use HTTP/2 instead.
WebDavSessionnow exposes the
DefaultRequestHeadersof the underlying
WebDavClient. By using this property, default headers can be set which should be sent with every request of the
4 years ago | 64 commits to master since this release
4 years ago | 66 commits to master since this release
WebDavClientor are handled by the class
WebDavSessionItem). See the documentation for instructions on how to use unknown WebDAV properties with the library.
WebDavSessionnow supports Proppatch operations with the methods
UpdateItemsAsync: Use the
ListAsyncmethods to retrieve
WebDavSessionItems, then change the properties of these items. Finally you can use the methods
WebDavSessionpassing the changed
WebDavSessionItemsin oder to update the item's properties on the server (Proppatch). Note that not all WebDAV servers support Proppatch for all properties. So maybe you will not be able to change properties of a WebDAV element with these methods.
WebDavSession(e.g. copy, mode, delete, etc.) can now be used by specifying a
GetSupportedPropertyNamesAsync) to retrieve a list of WebDAV properties supported by a WebDAV item.
DebugHttpMessageHandler: This handler can be used for
WebDavSesionin order to get the request/response (and their content) printed on the debug console. Note that this message handler should not be used in a productive environment.
UriHelper.CombineUrisometimes threw exception when both URIs were the same.
4 years ago | 84 commits to master since this release
System.Net.Http(see Microsoft Security Advisory 4021279: Vulnerabilities in .NET Core, ASP.NET Core Could Allow Elevation of Privilege).
4 years ago | 101 commits to master since this release
WebDavSessionListItem: Keep in mind that not every WebDAV server supports the same properties. Often a server only supports a subset of the specifications or even adds additional properties. So, when a property of a
WebDavSessionListItemis null, the WebDAV server may not support these properties.
WebDavSessionListItemare strongly-typed now (
DateTimeand numeric values).
WebDavSessionnow exposes some protected members, so that the class can be overridden for special purposes (e.g. when new types should be added to the WebDAV object model in a project).
4 years ago | 108 commits to master since this release
NoTagListdo not provide public constructors anymore so that the specification cannot be bypassed. Use the
TryParsemethods to create an instance of these classes.
AbsoluteUri.ToString: Do not try to parse, de- or encode the URI.
4 years ago | 119 commits to master since this release
4 years ago | 162 commits to master since this release
4 years ago | 195 commits to master since this release
4 years ago | 212 commits to master since this release
4 years ago | 229 commits to master since this release
4 years ago | 240 commits to master since this release
4 years ago | 266 commits to master since this release
4 years ago | 275 commits to master since this release
4 years ago | 282 commits to master since this release
5 years ago | 293 commits to master since this release
5 years ago | 324 commits to master since this release
5 years ago | 346 commits to master since this release
Important when using this library in a UWP (Windows 10) project
Currently there is a bug in the System.Net.Http.HttpClient which is referenced in UWP projects (see MSDN forums). The WebDavClient uses this HttpClient in order to send its WebDAV request which results in the following exception when accessing WebDAV resources:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.NotSupportedException: This IRandomAccessStream does not support the GetInputStreamAt method because it requires cloning and this stream does not support cloning.
The bug will be solved in a future release of the System.Net.Http assembly. To be able to use the Portable WebDAV Library in a UWP project, you have to add a reference to the pre-release NuGet package 'System.Net.Http':
Right click on your project in Visual Studio > Manage NuGet Packages... > Browse > Search for 'System.Net.Http' and tick the option Include prerelease > Now install the latest beta version of this package.
5 years ago | 358 commits to master since this release