In my global.asax I have the following code:
public static bool Was = false;
protected void Application_Start(object sender, EventArgs e)
{
Was = true;
}
When I open a page and look at the Was
variable, it's still false
. What gives? (Note: the variable isn't used anywhere else, I made it just for this test case)
Update: I just found out that my whole global.asax
file is getting ignored. How can this be?
Update 2: Sorry, it does get into play after all. But there's extra weirdness there. So much extra weirdness, that I've opened a new question for that.