title: Hosting WPF application within IIS
body: <p>I have created a WPF application (contains 8 projects).
  one project is of type (Class Library) ,this dll contains class which implement
  System.Web.IHttpHandler as the following.</p>
  
  <pre><code>public class ReportFileHttpHandler : IHttpHandler
  {
      public bool IsReusable
      {
          get { return false; }
      }
  
      public void ProcessRequest(HttpContext context)
      {
          // some code
      }
   }
  </code></pre>
  
  <p>this HttpHandler is designed to interrupt the IIS request and handle the requrest of the xml file.</p>
  
  <p>I also created a web.config file which exists inside this dll.</p>
  
  <pre><code> &lt;system.webServer&gt;
  &lt;handlers&gt;
    &lt;add verb="*" path="*.xml" type="ReportFileHttpHandler"  name="ReportFileHttpHandler"/&gt;
  &lt;/handlers&gt;
  </code></pre>
  
  <p></p>
  
  <p>Every thing is good here.
  I want to do the following : I want to test the code inside the "ReportFileHttpHandler" ,so I need to host the my WPF application within (inside) the IIS to make test.
  in this way I can write URL inside the Browser (which end with .xml) to execute the code in the method</p>
  
  <pre><code>public void ProcessRequrest(HttpContext context)
  </code></pre>
  
  <p>How can I Host the WPF application inside the IIS ?</p>
  
  <p>any idea will be helpful, thank you</p>