Am I a Snob?

OK, maybe I’m being a snob, but I think that the global.asax file is for kids who don’t know anything about HttpModules. Any web app developer worth their salt would prefer to code up an HttpModule than waste time in a file that, IMHO, is just weird. Anyway, this is what I pimped out the other night in my HttpModule


public void Init(HttpApplication context) {
((System.Web.Profile.ProfileModule)context.Modules["Profile"]).MigrateAnonymous +=
new System.Web.Profile.ProfileMigrateEventHandler(ProfileInfoModule_MigrateAnonymous);
}

void ProfileInfoModule_MigrateAnonymous(object sender, System.Web.Profile.ProfileMigrateEventArgs e) {
...
}

That’s the kind of stuff you AIM your fellow coders about. Weeee!