Jump to content
Software FX Community

Recommended Posts

Posted

I have a Chart FX for WPF control on a windows form in an application that is being run on Citrix.  When the form is instantiated and displayed the first time, the form takes approximately 30 seconds to display.  After the form is displayed once, subsequent displays of it or other forms with a chart control are displayed instantaneously.  Is there an issue with displaying a Cart FX for WPF in a Ctirx environment?

WpfApplication3.zip

Posted

I suspect the delay experienced the first time your form is shown might be related to JIT time.

Please try running NGEN ChartFX.WPF.dll in the target machine, this will natively compile our assembly and keep it on the GAC, then at runtime, .NET will use these pre-jitted assembly instead of jitting it every time the app is run.

If when you say "I have a Chart FX for WPF control on a windows form" you actually mean your application is not a WPF app, then please note that the first time the chart is created, the system will at least have to load WPF assemblies. There are some scenarios where WPF assemblies might not be NGENed so you might want to also try to runing the following command on the target machine "NGEN executeQueuedItems".

Regards,

JuanC

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...