Home All Groups Group Topic Archive Search About

.NET Framework Very Slow To Load

Author
16 May 2006 1:39 AM
A_StClaire_
hi all,

I am playing with a plug-in developed using .NET 1.1.  I noticed the
startup time of my host application is far slower than it was prior to
installation of the plug-in.

in terms of code volume the plug-in is tiny.  so I can only assume the
..NET framework is being loaded in its entirety each time the plug-in is
called and this is what is slowing things down.

am I correct?  is there anything that can be done?

thx

Author
16 May 2006 6:44 PM
Alvin Bruney
No, at least not that I know of. You may want to disable the plug-in and try
loading to see if the problem still persists.

--

________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------

<A_StClai***@hotmail.com> wrote in message
Show quote
news:1147743573.183455.269110@i39g2000cwa.googlegroups.com...
> hi all,
>
> I am playing with a plug-in developed using .NET 1.1.  I noticed the
> startup time of my host application is far slower than it was prior to
> installation of the plug-in.
>
> in terms of code volume the plug-in is tiny.  so I can only assume the
> .NET framework is being loaded in its entirety each time the plug-in is
> called and this is what is slowing things down.
>
> am I correct?  is there anything that can be done?
>
> thx
>
Author
16 May 2006 8:18 PM
Michael Nemtsev
Hello A_StClai***@hotmail.com,

There could be a lot of issues. I recomend you to read these articles http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/ScaleNet.asp
related to performance

> I am playing with a plug-in developed using .NET 1.1.  I noticed the
> startup time of my host application is far slower than it was prior to
> installation of the plug-in.
>
> in terms of code volume the plug-in is tiny.  so I can only assume the
> .NET framework is being loaded in its entirety each time the plug-in
> is called and this is what is slowing things down.

---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Author
19 May 2006 10:40 PM
A_StClaire_
thx for your responses.

Alvin, disabling the plug-in immediately takes care of the startup
issues.

Michael, thanks for the link.

I was surprised to find the entire .NET framework is loaded.  I had
expected only the portions of it that are relevant to / called by my
plug-in are loaded.  anyway my team is certain this is the reason
behind the slow startup of the host application.
Author
20 May 2006 7:27 AM
Michael Nemtsev
Hello A_StClai***@hotmail.com,

> Michael, thanks for the link.
> I was surprised to find the entire .NET framework is loaded.  I had
> expected only the portions of it that are relevant to / called by my
> plug-in are loaded.  anyway my team is certain this is the reason
> behind the slow startup of the host application.

This behavior should be customized - to use assembly only when they are called
and to make them already compliled
in that article this must be described

---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

AddThis Social Bookmark Button