Click or drag to resize

DavContextCoreBaseAsync Class

IT Hit WebDAV Classes Reference

Note: This API is now obsolete.

Represents IT Hit Edgine context used in ASP.NET Core-based server.
Inheritance Hierarchy
SystemObject
  ITHit.ServerContextAsyncIHierarchyItemAsync
    ITHit.WebDAV.Server.CoreDavContextCoreBaseAsync

Namespace:  ITHit.WebDAV.Server.Core
Assembly:  ITHit.WebDAV.Server.Core (in ITHit.WebDAV.Server.Core.dll) Version: 9.1.5311-Beta
Syntax
[ObsoleteAttribute("This Context is obsolete. Use Context from ITHit.Server.Core package.")]
public abstract class DavContextCoreBaseAsync : ContextAsync<IHierarchyItemAsync>

The DavContextCoreBaseAsync type exposes the following members.

Constructors
  NameDescription
Public methodDavContextCoreBaseAsync
Initializes new instance of the DavContextCoreBaseAsync class. Uses HttpContext to populate its request and response.
Top
Properties
Methods
  NameDescription
Public methodBeforeResponseAsync
This method is called right before engine starts writing response.
(Inherited from ContextAsyncTHierarchyItemAsync.)
Public methodEnsureBeforeResponseWasCalledAsync (Inherited from ContextAsyncTHierarchyItemAsync.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHierarchyItemAsync
Implementation of this abstract method is used by the engine to find hierarchy item objects by path.
(Inherited from ContextAsyncTHierarchyItemAsync.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

You must create a new instance of your class derived from this class in each request to your WebDAV server.

In case of middleware you will pass your class derived from this class into [!:DavEngineMiddleware] as a type parameter. The [!:DavEngineMiddleware] will automatically create instance of this class and passe to RunAsync(ContextAsyncIHierarchyItemAsync) method.

Provides constructor that takes HttpContext.

See Also