July 2006 Archives

Am I a Snob?

| No Comments

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!

About this Archive

This page is an archive of entries from July 2006 listed from newest to oldest.

May 2006 is the previous archive.

March 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.