Processes WebDAV request and generates WebDAV response for IIS/ASP.NET-based server.
HttpContext object.You must call Run method in each request to your WebDAV server passing ASP.NET context.
This method instance is optimized for processing requests in IIS/ASP.NEt-based server. If you host your server in HttpListener use this Run overloaded instance instead.
IIS/ASP.NET-based server:
public class MyHttpHandler : IHttpHandler
{
...
public void ProcessRequest(HttpContext context)
{
context.Response.BufferOutput = false;
FileLogger.Level = LogLevel.Debug;
// always create log file outside of the \bin folder if hosted in IIS\ASP.NET
FileLogger.LogFile = context.Request.PhysicalApplicationPath + "WebDAVlog.txt";
MyEngine engine = new MyEngine();
engine.Run(HttpContext.Current);
}
...
}
Engine Class | ITHit.WebDAV.Server Namespace | Engine.Run Overload List