Dead simple code:
using System;
using System.Diagnostics;
using System.Web;
using System.Web.Caching;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Stopwatch sw = Stopwatch.StartNew();
Cache cache = HttpRuntime.Cache;
Console.WriteLine(sw.Elapsed.ToString());
Console.ReadLine();
}
}
}
And I've already been waiting for output for over 5 minutes. This problem started to manifest itself about a week ago (may be less) and three more computers (my coworkers' boxes) experience the same behavior, except that some of them manage to initialize HttpRuntime
in under a minute, which is still very weird.
Has anybody experienced that? And what do I do with it?