Re: Assembly.LoadFrom and machine restart
From: Sherif ElMetainy (elmeteny.NOSPAM_at_wayout.net.NOSPAM)
Date: 01/04/05
- Next message: carbon_dragon_at_yahoo.com: "Books on .NET/C# Profiling???"
- Previous message: Marlon: "Enum conversion from an Object in VB.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 4 Jan 2005 20:38:25 +0200
Hello
Most probably your assembly is cached in memory by windows the first time,
and in the later runs, it is loaded from memory. You can try this any
application (Outlook for example) and watch the hard disk led if first and
second run, you will notice a difference.
Best regards,
Sherif
"Jack Wright" <sunil@volcanomail.com> wrote in message
news:8f556eeb.0412230613.340f564b@posting.google.com...
> Dear All,
> I have developed a client .net application that gets launched via
> No Touch Deployment...using the Assembly.LoadForm method...I have a
> dll xrt.dll for which I have not maintained versioning...
> When I launch my application after a machine reboot (xrt.dll already
> present on client machine) it takes 2 seconds to load this dll...I
> assume this is because I have not maintained versioning of this dll
> and hence it downloads this dll again...but if I close my application
> and start it again, this dll gets loaded in 300ms seconds...how come
> it is fast the second time? My guess is it should have still taken 2
> seconds...can someone explain wot is MS doing here...
> I swear the following...:-)
> 1. xrt.dll was not changed in the server.
> 2. xrt.dll was already present on the client machine. (I ran the
> application once and then restarted my client machine).
>
> Please help...I want to enjoy my X'Mas...:-)
>
> TALIA
> Many Regards
> Jack
- Next message: carbon_dragon_at_yahoo.com: "Books on .NET/C# Profiling???"
- Previous message: Marlon: "Enum conversion from an Object in VB.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|