S
swissclash79
Good morning everybody
I have a question regarding configuring mappings in the development
webserver. I am currently implementing a proxy server that is lied
between the clients and a customer's webapplication. This proxy is
responsible for security aspects (authentication/authorization) that
is not handled by the webapplication itself. For that I created a
class that implements IHttpHandler and registered it in the
webproject's web.config. So far so good.
The proxy is implemented as a transparent proxy, so the client is not
aware of it, at least after the first request that handles the
authentication. After that, it takes simply every incoming request and
sends it to the webapplication, waits for the response and sends it
back to the client. This works fine for simple ressources (e.g.
images, javascript files, stylesheets) that come with GET requests.
But the webapplication uses also .axd files (javascript as embedded
ressources).
Requests for this file type (.axd) that come to the proxy, are not
dispatched to my http handler, when I use the webdev webserver. But
they are dispatched, when I host my proxy on a real IIS instance (here
I have configured a wildcard application extension so request for any
files are dispatched to my http handler).
But why doesn't it work on the webdev webserver? Is it possible to
configure such a wildcard application extension map as well?
Thanks for your help
Christian
I have a question regarding configuring mappings in the development
webserver. I am currently implementing a proxy server that is lied
between the clients and a customer's webapplication. This proxy is
responsible for security aspects (authentication/authorization) that
is not handled by the webapplication itself. For that I created a
class that implements IHttpHandler and registered it in the
webproject's web.config. So far so good.
The proxy is implemented as a transparent proxy, so the client is not
aware of it, at least after the first request that handles the
authentication. After that, it takes simply every incoming request and
sends it to the webapplication, waits for the response and sends it
back to the client. This works fine for simple ressources (e.g.
images, javascript files, stylesheets) that come with GET requests.
But the webapplication uses also .axd files (javascript as embedded
ressources).
Requests for this file type (.axd) that come to the proxy, are not
dispatched to my http handler, when I use the webdev webserver. But
they are dispatched, when I host my proxy on a real IIS instance (here
I have configured a wildcard application extension so request for any
files are dispatched to my http handler).
But why doesn't it work on the webdev webserver? Is it possible to
configure such a wildcard application extension map as well?
Thanks for your help
Christian