WebDAV Server Examples in C# & VB
IT Hit WebDAV Server Engine is provided with WebDAV server examples in C# and Visual Basic that demonstrate how to build a WebDAV server with SQL back-end or with file system storage. You can adapt these samples to utilize almost any back-end storage including publishing data from CMS/DMS/CRM using its API, Azure, or Amazon API. The provided examples run in Kestrel, ASP.NET/IIS, or HttpListener.
You can browse WebDAV server examples on GitHub or download in the product download area here.
Note, that these WebDAV Examples were generated automatically by the WebDAV wizards for Visual Studio and there is no difference between code you get from the WebDAV wizards and these examples. In most cases using WebDAV Wizards for Visual Studio is a more convenient and straightforward solution comparing to configuring the example. There is also no difference between C# and Visual Basic samples.
-
Cross-platform ASP.NET Core WebDAV Server Sample with Microsoft SQL Back-End
This is a cross-platform WebDAV server sample with Microsoft SQL back-end that stores all data in a file system and runs as ASP.NET Core web application on Windows, OS X and Linux. The sample keeps all data including locks, file content and custom pr ...
-
Cross-platform ASP.NET Core WebDAV Server Sample with File System Back-End
This is a cross-platform WebDAV server sample with a file system back-end that stores all data in a file system and runs as ASP.NET Core web application on Windows, OS X, and Linux. The sample keeps locks and custom properties in NTFS Alternate Data ...
-
ASP.NET Core WebDAV Server Sample with Azure Blob / Data Lake Storage Back-End
This is a Class 2 WebDAV Server that keeps data in Azure Blob storage with Data Lake support. This sample publishes a hierarchical folder structure from Azure Data Lake and keeps locks, custom properties as well as file creation and modification date ...
-
ASP.NET CalDAV Server Example with Microsoft SQL Back-end, C#
Here we will describe how to install and configure CalDAVServer.SqlStorage C# example provided with SDK, that demonstrates how you can build a CalDAV Server with SQL back-end. This example runs in ASP.NET on IIS or IIS Express and stores all calendar ...
-
ASP.NET CardDAV Server Example with Microsoft SQL Back-end, C#
The CardDAVServer.SqlStorage C# example is a fully-functional CardDAV server example provided with SDK that can be used to store address books and contacts in it, demonstrating how to build a CardDAV Server with SQL back-end. Here we will describe ho ...
-
Calendar Server with File System Back-end Example, C#
CalDAVServer.NtfsStorage is a calendar server example that runs on IIS or IIS Express. It is validating user credentials against Windows Active Directory or local Windows accounts and can be configured to use Basic, Digest or Integrated Windows Authe ...
-
Contacts Server with File System Back-end Example, C#
CardDAVServer.NtfsStorage is a contacts server example that runs on IIS or IIS Express. It is validating user credentials against Windows Active Directory or local Windows accounts and can be configured to use Basic, Digest or Integrated Windows Auth ...
-
ASP.NET WebDAV Server Example with Microsoft SQL Back-end, C#
This is a legacy sample provided with IT Hit WebDAV Server Engine v4.5 and earlier based on HttpHandler. An article about a new cross-platform SQL Storage sample running on ASP.NET Core, provided with IT Hit WebDAV Server Engine v5 can be found here. ...
-
ASP.NET WebDAV Server Example with File System Back-end, C#
This is a legacy sample provided with IT Hit WebDAV Server Engine v4.5 and earlier based on HttpHandler. An article about a new cross-platform File System Storage sample running on ASP.NET Core, provided with IT Hit WebDAV Server Engine v5 can be fou ...
-
WebDAV Server with Versioning Example, C#
The WebDAVServer.DeltaV example is a Class 2 server with DeltaV versioning support. This example is an extension of WebDAVServer.SqlStorage example, but unlike SqlStorage Example, the DeltaV example runs as HttpListener console application or Windows ...
-
Mobile WebDAV Server Sample for iOS & Android
This is a mobile WebDAV server sample that runs on iOS and Android on .NET Standard 2.0. It stores all data in iOS/Android file system extended attributes. This sample provides access to the documents inside a mobile app folder. To see the documents ...
-
Running the WebDAV Samples
Once your sample is configured and running you will see the following web page (note that the port that the sample is using may be different from the one on the screenshots): This web page is a MyCustomHandlerPage.html or MyCustomHandlerPage.aspx ...
-
How to Configure Your WebDAV Server in IIS
Below we will describe how to configure your WebDAV server in IIS. To run your application in IIS, you must have ASP.NET 3.5 or later feature enabled on your computer. On the screenshot below you can see ASP.NET 4.5 feature is being enabled on Window ...
-
Configuring Full-Text Search for Files Stored in File System or in Microsoft SQL Database
The samples provided with SDK as well as code generated by WebDAV wizards for Visual Studio use Windows full-text search (in case of file system storage) or Microsoft SQL Server full-text search (in case of Microsoft SQL storage) to provide search re ...
-
WebDAV Server Samples Problems and Troubleshooting
Examining Logs If things are not going as planned and you run into issues the first place to look would be the log WebDAVlog.txt created in \Samples\<SampleName>\App_Data\WebDav\Logs\ folder. If the log file isn’t created, it very well could b ...