Re: Hosting Windows Forms Controls in IE & Compression

From: Wells Caughey (wellscaughey_at_hotmail.com)
Date: 08/03/04


Date: Tue, 3 Aug 2004 13:41:24 -0400

Hmm, that is weird, my last post is showing up twice...

I looked at my IIS log file and it does appear to be using the cached
version of my assembly, but I found something else that is even stranger.
Even though the runtime finds my assembly on the first try it continues
looking for it in different virtual folders. It even looks for a resource
assembly which I am not using. If this were just a few attempts, I wouldn't
worry about it too much, but depending on the request, the runtime tries
somewhere between 47 and 57 different urls, even though it has already found
the assembly. This probably isn't a bottleneck but it is still 47-57 round
trips to the server for nothing. Is this normal and expected behaviour?

Thanks,
Wells

"Wells Caughey" <wellscaughey@hotmail.com> wrote in message
news:uKHMdVXeEHA.3928@TK2MSFTNGP11.phx.gbl...
> Ying-Shen,
>
> Thank you for the response. I have not considered a multi-file assembly;
I
> will follow the links and research it further to see if it will help, but
> really, if the assembly is only downloaded once and from there on out
cached
> on the client, I don't really care how long it takes to download it the
> first time (within reason of course). I will check the IIS logs to make
> sure that everything is being cached correctly. It could be the case that
I
> have set up the cache headers incorrectly, and that may be why it appears
to
> take so long to load the assembly. As for the CAB file, I do not think
that
> the IE host supports it. I have tried several variations using the CAB
file
> and each failed, which is unfortunate because I got a 5:1 compression
ratio.
>
> Thanks again,
> Wells
>
> "Ying-Shen Yu[MSFT]" <v-yiy@online.microsoft.com> wrote in message
> news:9j4DF0UeEHA.3756@cpmsftngxa06.phx.gbl...
> > Hi Wells,
> >
> > I apologize for the delay.
> >
> > 1), the assemblies will not be download every time you access the
webpage,
> > the download cache will cache the webpage, so if there is no update on
> > server side, no file download will occur, you may verify this by
> analyzing
> > the log of your WebServer. However, when fusion load the assembly, it
> dooes
> > need to send get request to the Web Server and wait for the server
reply,
> > (server will reply 304 in case the client cache is valid). the process
> will
> > increase the loading time.
> >
> > 2). I'm not clear about it, but it looks to me an internal
implementation
> > detail, IE must have done many optimization here.
> >
> > 3) I'm still researching if there is a way to load .NET Winform control
> > from a .CAB file, but have you considered using multi-file assembly to
> > speed up the downo load concurrency and speed?
> > The following the document in the .NET Framework developer guide will
give
> > more explaination about the multi-file assembly and how to build a
> > multi-file assemly.
> > <Building a Multifile Assembly>
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
> > l/cpconbuildingmulti-fileassembly.asp
> >
> > You may also try the workaround in Robert's blog to see if will help
> >
> > http://blogs.msdn.com/robgruen/archive/2004/07/21/190600.aspx
> >
> > Thanks!
> >
> > Best regards,
> >
> > Ying-Shen Yu [MSFT]
> > Microsoft Community Support
> > Get Secure! - www.microsoft.com/security
> >
> > This posting is provided "AS IS" with no warranties and confers no
rights.
> > This mail should not be replied directly, please remove the word
"online"
> > before sending mail.
> >
>
>



Relevant Pages

  • Re: loading html pages in frames
    ... http://server/temp/data/report.html it still wants to download the file. ... >> default web site.(ie. To the default web a virtual directory call temp ... >> On the server when we click on the link we get a momentary downloading ... >> to load it but I get the same behaviour as trying to load from the ...
    (microsoft.public.inetserver.iis)
  • Error 4009 Viewstate verification failed & Error 4005 Forms
    ... There is one issue if you have load balanced servers and your source is not precompiled. ... I dont know how to fix this issue but its happening a lot when the server is under a larger load (slowing down the download of the data) ... Your guess on how to fix it is as good as mine at the moment. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Cant Download .exe but no URLScan.ini
    ... request for the .exe actually get logged in the IIS log at all? ... > Still could use a hand getting files to download over https://. ... > This is for our NFUSE server to be able to send the ICA ... >>> URLScan.ini from the lockdown tool. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Kernel 2.6.0 official released tonight.
    ... > |I don't mind the load, since my download don't make a difference. ... An idling server, with 100GBit of free bandwith, in ... Australia, is MUCH faster than a clogged up server, with no bandwith, 1 Km ... Chose download servers based on: content, time of day AND prior experience. ...
    (alt.os.linux.suse)
  • Help please - SBS update keeps failing...
    ... I have been trying to update my server for a few hours now. ... download to work properly. ... I can't get it to load into the proper location. ...
    (microsoft.public.windows.server.sbs)

Quantcast