WebDAV Server Wizards for Visual Studio
The IT Hit WebDAV Server Engine is provided with several WebDAV, CalDAV and CardDAV Wizards for Visual Studio. Below we will look at each wizard’s functionality in brief and will see where the wizards are located in the Visual Studio interface.
For WebDAV Server wizard with Azure DataLake back-end with Azure Active Directory authentication see the https://azure.webdavsystem.com/ website.
ASP.NET Core WebDAV Server Application Wizard
You can start the 'ASP.NET Core WebDAV Server Application' wizard, from File -> New Project -> Visual C# -> Web menu. This wizard creates a simple Web Application that is fully dedicated to WebDAV. Typically in this project type, you cannot host any ASP.NET web pages (except the page for custom GET handler) or create any login forms page. It provides straightforward Basic, Digest and Windows authentication implementation with credentials stored directly in appsettings.webdav.json or in web.config file. This wizard does not generate any MS-OFBA authentication code and no Forms/cookies authentication will be supported by your WebDAV server. This type of project contains minimum files and configuration options only required to run WebDAV.
ASP.NET CalDAV / CardDAV Server Application wizard
The 'ASP.NET CalDAV / CardDAV Server Application' wizard is available via File -> New Project -> Visual C# -> Web menu. It creates a Web Application that is fully dedicated to CalDAV and CardDAV and generates a server that is using Basic, Digest or Windows authentication, and stores all calendar and address book data either in MS SQL database or in file system.
Add WebDAV Server Implementation Wizard
The 'Add WebDAV Server Implementation...' wizard, is available in the project context menu. Its purpose is to add WebDAV support to your existing ASP.NET Core Web Application, MVC project or Blazor App. It enables WebDAV on the folder of your choice while keeping the rest of the website intact. You can serve ASP.NET pages from the site root and from any other folders that are not dedicated to WebDAV. Another major difference is that you can create a project with MS-OFBA authentication using this wizard. This wizard supports adding WebDAV to projects with Individual User Accounts and Work or School user accounts (Azure Active Directory accounts). See Creating WebDAV Server with Azure AD Authentication article for more details. You can find a detailed Below you can see where to find the 'Add WebDAV Server Implementation Wizard':
HttpListener WebDAV Server Application Wizard
The 'HttpListener WebDAV Server Application Wizard' is available via File -> New Project -> Visual C# -> Windows menu. It creates a Windows Service application based on HttpListener that can also run as a console application. All HttpListener wizard options are identical to ASP.NET WebDAV Application Wizard. It creates a simple WebDAV server that is totally dedicated to WebDAV with Anonymous, Basic, Digest or Windows Integrated Authentication.
You can find a detailed description of each option in the wizards here.
After You Complete a Wizard
Each wizard creates a fully functional WebDAV server that you can start using immediately, running the project in IIS or IIS Express or as a console application or Windows Service. In the next article, we will first look at how 'ASP.NET WebDAV Server Application' works and then explain specifics of 'Add WebDAV Server Implementation...' Wizard.