DavRoutingModule Class

Namespace:
Weavy.Web.WebDAV
Assembly:
Weavy.Web.dll

Forbids MVC routing of WebDAV requests that should be processed by WebDAV handler.

This module is needed for ASP.NET MVC application to forbid routing of WebDAV requests that should be processed by DavHandler. It reads DavLocations section and inserts ignore rules for urls that correspond to these locations.

public class DavRoutingModule : IHttpModule
Inheritance:
System.Object → DavRoutingModule

Constructors

DavRoutingModule()

Methods

Dispose()

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.