Ask a Question related to ASP.NET General, Design and Development.
-
Michael #1
Use standard ASPX page as a HTTP handler
Hi
I would like to use an existing ASPX page as a HTTP handler so that I
can do something like this....
<system.web>
<httpHandlers>
<add verb="*" path="Global.aspx" type="MyApp.Web.scripts.Global,
MyApp.web/>
</httpHandlers>
</system.web>
Where Global.aspx is a standard 'Web Form' created in the vs.net
designer
I have tried this and it does execute the code in the code behind but
it doesn't initialise or render any of the controls on the aspx page
(even runat=server). Clearly I am missing something.
It seems to me that this would be an elegant way to create a 'Global'
Aspx page that could be referenced from multiple paths within a
virtual directory without duplication or the use of parent paths. I
have tried other approaches such as using the
Application_BeginRequest to do a RewritePath but ran into a lot of
problems e.g. use of query string data + inabilty to look at User
Authentication within Application_BeginRequest.
Any help appreciated
Michael Dausmann
Michael Guest
-
Accessing a aspx page using HttpWebRequest from another aspx page on the same webapp
Did you have any luck on this as I have the same problem. Maybe you can help me out of you solved your problem. -
http://support.microsoft.com/default.aspx?scid=kb;en-us;317719
http://support.microsoft.com/default.aspx?scid=kb;en-us;317719 -
Securing a HTTP PUT handler in IIS
Can someone please advise whether it is possible for a HTTP handler (IHttpHandler) to consume HTTP PUTs without having to set both write and... -
how to interact client script within aspx page to other page functions, etc.? PLEASE!!!
Hi, I've spent all day trying to find some info on this...please help! I have an aspx page with an xmlDocument (not dataset/relational db) with... -
why doesn't this script creation, from .aspx.vb work, for this event handler???
where szStartDate, szEndDate, szStatus, szMsgType, szClient, szFilter are all strings declared and containing data as this code executes... '...



Reply With Quote

