Developing New Experiences

VTH02 Secure WPF Applications


8:00am - 9:15am

Level: Intermediate

Paul Sheriff

Author / Instructor

In a typical WPF application you might need to secure any control on any window or user control. There are different ways you need to secure these controls; you may want them to be invisible, disabled, readonly, hidden or collapse. There is no security built-in to WPF, so you must roll your own. This session shows an approach to creating a data-driven security system you can tack onto your existing WPF application with just a little bit of code.

You will learn:

  • Create a security system for WPF
  • How to secure controls by user roles
  • Set a GenericPrincipal on the current WPF thread of execution