title: Deploy REST service without access to IIS
body: <p>I have developed a .NET REST web service in C#. While I have plenty of C# experience, I unfortunately do not have much understanding in deploying such a service in a web hosting environment. </p>
  
  <p>Due to the environment, I do NOT have access to IIS. </p>
  
  <p>The advice I have been provided with by the support services of the hosting provider is as follows:</p>
  
  <ol>
  <li>Create a subdomain of the main domain to achieve a dedicated application pool (this a requirement of the host provider)</li>
  <li>Create a Bin folder to hold my compiled libraries of source code</li>
  <li>Add the following to the Web.Config file:</li>
  </ol>
  
  <blockquote>
  <pre><code> &lt;system.web&gt;
      &lt;httpHandlers&gt;
          &lt;add type="ReportRESTWebService.Service, ReportRESTWebService" verb="*" path="report" /&gt;
      &lt;/httpHandlers&gt;
  &lt;/system.web&gt;
  &lt;system.webServer&gt;
      &lt;handlers&gt;
          &lt;add name="report" path="report" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" /&gt;
      &lt;/handlers&gt;
      &lt;directoryBrowse enabled="false" /&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  </blockquote>
  
  <p>The above would have the effect of creating a handler mapping for the report resource on all HTTP verbs and forwarding any HTTP traffic on that resource to my ReportRESTWebService.dll for handling. </p>
  
  <p>The point I am unclear on is whether the above will be satisfactory and how do I test whether the advice I am given is correct. I know that I have the site running locally but I have access to IIS so I have control over the configuration. </p>
  
  <p>Hopefully somebody can help.</p>
  
  <p>Thanks</p>