|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Framework Very Slow To Loadhi 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 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. -- Show quote________________________ 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 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 > 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 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. Hello A_StClai***@hotmail.com,
> Michael, thanks for the link. This behavior should be customized - to use assembly only when they are called > 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. 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 |
|||||||||||||||||||||||