in ack\'s home page, there lists a lot of file type, but without aspx, is it possible to let ack support it?
--type-add TYPE=.EXTENSION[,.EXT2[,...]] Files with the given EXTENSION(s) are recognized as being of (the existing) type TYPE
from http://betterthangrep.com/
You can add this to .ackrc in your homedirectory.