Performance issue on deactivating Prism region

Roman Petlitsky 1 Reputation point
2021-03-03T14:06:18.563+00:00

We are using a Prism framework to navigate between views and my task is to optimize performance switching between views.

From DotTrace profiler I see that Deactivate call to Prism framework takes a lot of time Please see the screen from DotTrace below.

We are using the 5 th version of prism but migration to 7.2 don't bring us any performance improvements. We are using Ninject and couldn't use it with the latest 8 version of prism easily.

I would be very grateful for any ideas how to improve performance.

73807-forstack.png

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,628 questions
0 comments No comments
{count} votes