Preface
This article provides an in-depth reference of how to build performance-oriented applications in WPF for both Windows and the Web. This article talks about all major aspects with examples, including design pattern trade-offs, multi-threading, WCF Service calls (client server architecture or /smart Client Model), managing memory, parallelism, etc., which are a must to start building an enterprise class application from scratch.
Contents
Overview.
Introduction.
WPF/E or Silverlight
Factors need to considered for enterprise class application with WPF/Silverlight
WPF Programming Model.
Initial Architecture.
KSmart pattern for WPF.
Model Layer implementation.
Advance Memory Management.
Caching objects.
Weak References.
Garbage Collection.
Unmanaged Objects.
Asynchronous Programming.
Dispatcher.
Using the Dispatcher.
Updating the UI.
Updating the UI Asynchronously.
2. Background Worker.
Using Background Worker in WPF.
Binding.
Direction of Data Flow.
What Triggers Source Updates.
Page and Navigation.
Refreshing the current Page.
Navigation Lifetime.
Programming Guidelines for Improving Performance.
Conclusion.
Overview
This article provides in-depth reference on how to build WPF applications which is targeted for high performance and still will work similar to Silverlight or any other third party plug-ins for browser. This article also targets on the common mistake developer or architects do in choosing design patterns, implementing multi-threading or making WCF Service calls in building smart client applications. This also discuss key design issues which end in large memory consumptions, decreasing application performance, resolution issue, Managing user sessions, Parallelism etc.
This concept applies to WPF, WPF running in client (XBAP), Silverlight, all applications which sticks onto the concept of WPF.
Read more: Codeproject
QR: