These classes are my equivalents of WebResourceAttribute and AssemblyResourceLoader. PrecompiledPageFactory is a IHttpHandlerFactory which serves up the pages based on the same query string values as web resources. But instead of returning an embedded resource it initialises a instance of the class with the same name. The PrecompiledPageAttribute is an assembly attribute that tells PrecompiledPageFactory which class are to be made available over HTTP. However, unlike the WebResourceAttribute you don't need to specify a mime type.

Last edited Aug 9, 2006 at 9:37 AM by grahamdyson, version 1


No comments yet.