views:

49

answers:

1

Hello,

At the moment due to using some thirdparty components (which uses strongly reflection) our application is taking about 3 minutes to load on slow machines for our client.

I was wondering if there's a way to 'hibernate' .net application so that when launching again the state from the previous launch would be directly copied to memory and made available to run...

+1  A: 

Assuming it is due to third-party components and/or reflection sounds like guessing to me. You could be right, and you could be wrong. At any rate, you can probably fix it in your code. To find out what to do, do this:

Start it up under the IDE, and while it's being piggy, hit the Pause button. Then look at the call stack and see what it's doing. Repeat a few times. That is a quick and dirty way to "profile" and it will tell you exactly what the problems are, no guesswork required.

Mike Dunlavey