Dav.AspNetCore.Server 1.0.1

dotnet add package Dav.AspNetCore.Server --version 1.0.1                
NuGet\Install-Package Dav.AspNetCore.Server -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dav.AspNetCore.Server" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dav.AspNetCore.Server --version 1.0.1                
#r "nuget: Dav.AspNetCore.Server, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dav.AspNetCore.Server as a Cake Addin
#addin nuget:?package=Dav.AspNetCore.Server&version=1.0.1

// Install Dav.AspNetCore.Server as a Cake Tool
#tool nuget:?package=Dav.AspNetCore.Server&version=1.0.1                

CI MIT License Nuget

WebDAV for ASP.NET Core

Dav.AspNetCore.Server is a WebDAV implementation based on <a href="http://www.webdav.org/specs/rfc4918.html">RFC 4918</a>. It allows you to easily integrate DAV functionality into your ASP.NET Core application. Some architectural concepts where taken from <a href="https://github.com/ramondeklein/nwebdav">NWebDav</a> but where greatly improved upon.

Features

  • RFC 4918 compliant
  • Supports any registered authentication, but also ships with Basic and Digest authentication
  • Extensible infrastructure which lets you design your own store or locking providers

Installation

Install Dav.AspNetCore.Server via dotnet cli or through the package manager provided by your favorite IDE.

> dotnet add package Dav.AspNetCore.Server

Getting started

In order to enable WebDAV in your project you need to add the following service registrations and middlewares:

using Dav.AspNetCore.Server;
using Dav.AspNetCore.Server.Store;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddWebDav(davBuilder =>
{
    // add the local files store with a mount point
    davBuilder.AddLocalFiles(options =>
    {
        options.RootPath = "/tmp/";
    });
});

var app = builder.Build();

app.Map("/dav", davApp =>
{
    davApp.UseWebDav();
});

app.Run();

Contributing

Feel free to open issues or submit pullrequests.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Dav.AspNetCore.Server:

Package Downloads
Dav.AspNetCore.Server.Extensions.Npgsql

This library provides postgres implementations for lock manager and property store.

Dav.AspNetCore.Server.Extensions.Sqlite

This library provides sqlite implementations for lock manager and property store.

Dav.AspNetCore.Server.Extensions.SqlServer

This library provides sql server implementations for lock manager and property store.

Dav.AspNetCore.Server.Extensions.Mssql

This library provides mssql implementations for lock manager and property store.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 360 5/5/2023