.NET Framework Very Slow To Load

A

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
 
A

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
 
M

Michael Nemtsev

Hello (e-mail address removed),

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
 
A

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.
 
M

Michael Nemtsev

Hello (e-mail address removed),
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top