From the course: .NET UI Big Picture: Desktop, ASP.NET and Cross-Platform

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Which to choose, WPF or UWP?

Which to choose, WPF or UWP?

- [Lecturer] When it comes to developing modern-looking fluent Windows desktop applications, we have two choices, WPF or UWP. Both frameworks offer unique benefits and capabilities catering to different development needs and project requirements. You might be asking yourself, with these being similar, how do I choose? Let's look at some of the differences. WPF is built on the Win32 API and does not run in an AppContainer by default. This gives it unrestricted access to Windows features. This includes the ability to perform indiscriminate file access and read/write operations on the Windows registry. However, WPF apps can be configured to run in an AppContainer using the new Windows App SDK. Check out my video on this topic in this chapter. In contrast, UWP apps always run in an AppContainer, which provides a lightweight, isolated environment. This isolation restricts access to system resources and ensures apps can only use resources they have explicitly been granted permission to…

Contents