Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
Improving start up time
posted

I have developed a large WPF application for windows but it takes 45 to 60 seconds to load - just over 30 seconds with 32 GB ram and SSDs.  Microsoft.Xaml.Behaviors.dll alone takes 10 seconds to load. 

My application has around 10 of my own DLLs, plu ssome microsoft DLLs and a number of IG DLLs, which look as if they might be in the GAC already (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\InfragisticsWPF4.Themes.RoyalLight)

 Someone mentioned "Putting DLLS in the GAC, or NGENing them.   Have you any tips on this ?


ALso, if the IG libraries are in the GAC on my development PC, what happens when I just copy my output folder to the client - I just dump my .EXE and DLLs into a folder on the production server.

Is there a better way to do this? 

  • 7535
    Offline posted

    Hello Gordon,

    Thank you for posting. The dll you mentioned Microsoft.Xaml.Behaviors.dll is from Microsoft so not sure if we can do anything about that but you can check the project output window at runtime, if it has any binding error causing the performance issue.

    May I know which infragistics controls do you have on load?

    Try to run the performance profiler for the sample and test which element is taking long and what is the root of that.

    If you can provide the sample I can test it for you.

    Regarding coping the output folder to the client ,this is the recommended way .When we run the installer dlls goes into GAC and project refer it from there but you can refer the dlls from any folder .