static HttpServer()
{
// Create our Server and Access logs
AspStatsLog = new LogWriter(Path.Combine(Program.RootPath, "Logs", "AspServer.log"));
HttpAccessLog = new LogWriter(Path.Combine(Program.RootPath, "Logs", "AspAccess.log"), true);
// Get a list of all our local IP addresses
LocalIPs = Dns.GetHostEntry(Dns.GetHostName()).AddressList.ToList();
// Create our conenction pool
ConnectionPool = new SemaphoreSlim(50, 50);
// Create our HttpListener instance
CreateHttpListener();
// Create our RazorEngine service
CreateRazorService();
// Try and clear any old cache files
ClearRazorCache();
// Set the Model type once to keep things speedy
ModelType = typeof(BF2PageModel);
}