Ejemplo n.º 1
0
 public void Init(HttpApplication context)
 {
     context.BeginRequest += (source, e) => {
         if (context.Request.Url.LocalPath.StartsWith(string.Format("/{0}/", XDav.Config.ConfigManager.XDavConfig.Name)))
         {
             FileWrapper.Create(context.Context);
             WebDavProcessor p = new WebDavProcessor(Assembly.GetExecutingAssembly());
             p.ProcessRequest(context);
         }
     };
 }