473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Mappings in Webdev Webserver

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

Sep 17 '07 #1
1 2042
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/
======================================
"swissclash79" <ch*******************@gmail.comwrote in message
news:11**********************@r29g2000hsg.googlegr oups.com...
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

Sep 17 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: JazerB8 | last post by:
I am using VS.NET 2005 Beta 2 and I am trying to use the built in development Web server (WebDev.WebServer.exe) to run and debug my ASP.NET app locally. However, when I start the project either in...
1
by: Martin Olson | last post by:
is there a way to get the WebDev.WebServer for VS2005 to process server side includes??? thanks for your help on this, mo
0
by: David Hubbard | last post by:
I am running WebDev.WebServer from a batch file like this: start /B WebDev.WebServer /port:4131 /path:C:\MySite /vpath:/MySite when you double click on the batch file a separate command prompt...
0
by: David Hubbard | last post by:
I am developing a small web site for a club using asp.net 2.0. I am tyring to run test versions of the site on a system that does not have vs 2005 on it nor does it need it. To do this I run...
0
by: Jakob Lithner | last post by:
I use VS 2005 and ASP.Net. For conveniance I use the inbuilt webserver, but recently I have encountered a lot of problem. When I debug it sometimes takes extremely long time to launch the...
2
by: brent.adkisson | last post by:
I am trying to use the ads web starter kit with sql2000. I have migrated the database and all of the .net membership tables to my database. I can connect and see the data through the visual web...
0
by: doeke.zanstra | last post by:
When I run my webapp, IIS 5.1 (XP) is behaving different from WebDev.WebServer (Visual Studio Development Server). I use Windows authentication, and want to restrict access to a certain group. I do...
5
by: oaksong | last post by:
I had a problem with this a couple months ago and managed to get it working. This included poking a few holes in BlackIce and disabling a feature (BOP) in McAfee Virus Scan. This was a test case,...
0
by: =?Utf-8?B?VGhvbWFzIFR1dGtv?= | last post by:
An ASP.NET web project has recently began crashing WebDev.WebServer.exe with a System.Runtime.InteropServices.SEHException. The EventLog for the crash looks like this: Application ID:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.