We have just noticed a behaviour in IIS5 which no-one here was aware of, and
which seems to be contrary to what most people expected. This is that the
default document gets called regardless of whether a full url is specified
or not. We stumbled across this whilst running a sql profiler trace whilst
calling various pages in our application and noticed that stored procedures
were gettnig called that were only called from our default page. Obviously
this was affecting performance across the whole application.
So for instance if our default document is set to default.aspx and our url
is
http://test.com/app/dosomething.aspx then default.aspx is called before
dosomething.aspx
Is it supposed to behave like this? Seems wrong to me.
I can only find one other post mentioning this and it had no reply.
Thanks in advance
Ian