Good msdn articles on how to add a new file extension in the IIS and registrer the HTTP handler in asp.net
Register the handler: http://msdn.microsoft.com/en-us/library/46c5ddfy(VS.71).aspx
Configure the IIS to accept the new file extension: http://msdn.microsoft.com/en-us/library/bb515343.aspx