Disciplined Application State for WPF

WPFApplicationState

In the last article a concept for implementing an organized technique for managing session and application state for an ASP.NET application was proposed.

The same can actually be done for a WPF application, though such global properties would be most likely be on the minimal side of things.  Nonetheless, there are times where having access to a property at application level can be quite convenient.

Read more of this post

Disciplined Session State

SessionState

Most often when developing ASP.NET (WebForms or MVC) applications the implementation of session-state is found to be an after-thought whereby such code is thrown in helter-skelter wherever it is found to be necessary.  Given that session-state is supposed to be used sparingly the thought that such implementations should be done cleanly is not much a priority.  The result is that session-state code is found many times look as if it was just thrown in as a necessity leaving developers who come onto a project later in its development cycle to have to hunt through an application to find where a session-state variable is set and where it is retrieved.

Read more of this post

Simple Page Navigation With WPF

Abstract WPF Simple Page Navigation Image

Navigating between pages in a WPF application is actually a very simple process, though made much more confusing both by the many articles that stress use of MVVM and the inference by others that this is much like navigating web-pages in an ASP.NET Internet application. As to the first, the use of MVVM, there is no requirement to use this design paradigm. However for those that like to follow such paradigms, there is no reason not to as it is quite a good one. For the second, that WPF page navigation is akin to web-page navigation, it is and it isn’t…

Read more of this post

%d bloggers like this: