... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)

2004-11-17

ASP.NET

Server.MapPath resolves paths relative to the current page instead of the application base.  If you want something relative to the application base, use something like Server.MapPath("~/somedir").

GetType() doesn't work for ASPX classes.  Instead of returning the type of your class, it returns the type of some funky ASP.NET wrapper class in a system namespace.

Blog Archive