private bool TransmitDefaultDocumentInIndexIfItExists()
{
if (System.IO.File.Exists(Path.Combine(this.Context.Request.PhysicalPath, "index.html")))
{
#if DEBUG
this.stopWatch.Stop();
this.Context.Response.AddHeader("x-content-load-time", this.stopWatch.ElapsedMilliseconds.ToString() + "ms");
#endif
this.Context.Response.TransmitFile(Path.Combine(this.Context.Request.PhysicalPath, "index.html"));
return true;
}
return false;
}