Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Mappings in Webdev Webserver

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
swissclash79 - 17 Sep 2007 08:06 GMT
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
Juan T. Llibre - 17 Sep 2007 12:24 GMT
re:
!> why doesn't it work on the webdev webserver?

Webdev.webserver.exe is hotwired to only respond to local requests.

re:
!> Is it possible to configure such a wildcard application extension map as well?

You might want to try Cassiniv2 to host your test ASP.NET development,
instead of using webdev.webserver.exe.

I think it allows application extension mappings.
Also, it comes with source code, so you can change anything in it.

Direct link to the source files:
http://blogs.msdn.com/dmitryr/attachment/548131.ashx

You also need the v2.0 version of GACUTIL which should
be installed by default with VWD Express or VS 2005.

Make sure you read the "ReadMe.txt" file included in the zipped source.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> Good morning everybody
>
[quoted text clipped - 25 lines]
> Thanks for your help
> Christian

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.