I
IanL
I am working with a custom handler factory that serves aspx pages
based on url.
When this is called, it compiles the page based on the url that the
application pool uses to serve up the page. Is there a way to "re-
compile" or change the underlying .aspx page displayed when calling
this method for a specified url?
So is the only way to change the layout to restart the webapp or touch
the web.config which are not viable options.
This is a pretty tricky problem, and there may not be a solution, but
any insight into the process would be cool.
My current understanding is this
1st Request
Request (To Url X) --> Handler Factory --> GetCompiledPageInstance --
2nd Request (To Url X) --> Handler Factory --> GetCompiledPageInstance
--> ... --> page events
based on url.
When this is called, it compiles the page based on the url that the
application pool uses to serve up the page. Is there a way to "re-
compile" or change the underlying .aspx page displayed when calling
this method for a specified url?
So is the only way to change the layout to restart the webapp or touch
the web.config which are not viable options.
This is a pretty tricky problem, and there may not be a solution, but
any insight into the process would be cool.
My current understanding is this
1st Request
Request (To Url X) --> Handler Factory --> GetCompiledPageInstance --
... --> page is compiled --> page events --> page to client
2nd Request (To Url X) --> Handler Factory --> GetCompiledPageInstance
--> ... --> page events