title: Create an ASP.NET HTTP Module
body: <p>Let us consider two class with same name space and extend IHttpHandler as below</p>
  
  <p><strong>Class 1:</strong></p>
  
  <pre><code>using System;
  using System.Web;
  using System.IO;
  
  namespace MyPipeLine
  {
       public class clsMyHandler1 : IHttpHandler
       {
            public void ProcessRequest(System.Web.HttpContext context)
            {
                 context.Response.Write("The page request is " + context.Request.RawUrl.ToString());
            }
  
       }
  
       public bool IsReusable
       {
            get
            {
                 return true;
            }
       }
  }
  </code></pre>
  
  <p><strong>Class 2:</strong></p>
  
  <pre><code>using System;
  using System.Web;
  using System.IO;
  
  namespace MyPipeLine
  {
       public class clsMyHandler2 : IHttpHandler
       {
            public void ProcessRequest(System.Web.HttpContext context)
            {
                 context.Response.Write("The page request is " + context.Request.RawUrl.ToString());
  
            }
  
            public bool IsReusable
            {
                 get
                 {
                      return true;
                 }
            }
       }
  }
  </code></pre>
  
  <p>in above <strong>namespace is: MyPipeLine which has two classes clsMyHandler1,clsMyHandler2</strong> there by </p>
  
  <p>i have given entry in web.config file as</p>
  
  <pre><code> &lt;system.webServer&gt;
      &lt;modules&gt;
           &lt;add name="mymodule" type="MyPipeLine.clsMyHandler1,MyPipeLine.clsMyHandler2" /&gt;   
        &lt;/modules&gt;        
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>and when i compiled the application it throw me error as</p>
  
  <blockquote>
    <p>Could not load file or assembly 'MyPipeLine.clsMyHandler2' or one of its dependencies. The system cannot find the file specified.</p>
  </blockquote>
  
  <p>I think C# see all modules like classes.  Do you have any idea for solving this question?</p>