Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does WPF still have to offer over Silverlight 4?

Given the list of new features announced in Silverlight 4, when is WPF still required?

like image 452
GraemeF Avatar asked Nov 18 '09 18:11

GraemeF


People also ask

Is WPF still relevant 2022?

“WPF would be dead in 2022 because Microsoft doesn't need to be promoting non-mobile and non-cloud technology. But WPF might be alive in that sense if it's the best solution for fulfilling specific customer needs today. Therefore, having a hefty desktop application needs to run on Windows 7 PCs with IE 8.

What is WPF being replaced with?

Universal Windows Platform. Both Windows Forms and WPF are old, and Microsoft is pointing developers towards its Universal Windows Platform (UWP) instead.

What is the difference between Silverlight and WPF?

Silverlight is meant to be used online, while WPF is for local use. 3. You can use Silverlight applications regardless of the operating system you use, while WPF applications are restricted to later versions of the Windows operating system.

Does WPF have a future?

WPF UI can be easily created by means of XAML and XAML. In addition, a developer can make use of C# or any other language as per his capability without taking into account the UI. In the existing fast-developing business world, WPF Application Development is certainly a future technology.


2 Answers

WPF still has a lot fuller 3D rendering capabilities.

Also even though they announced enhancements to the commanding and binding capabilities, that's no guarantee that it will have the full ability that WPF currently has or will have in the next version

Edit: After playing around with Silverlight 4 beta, it looks like pretty much all of the new features (webcam, file access, full screen keyboard, COM interop, etc) only work when the application is elevated trust, and elevated trust can only be enable when running out of browser. Some of this may change by RTW, but for now, WPF still looks like the only way to do these things inside of a browser window

like image 179
Jacob Adams Avatar answered Nov 03 '22 01:11

Jacob Adams


I've been using mostly XBAPs for browser deployments while waiting for a Silverlight version that includes WPF's full templating and data binding capabilities. Perhaps Silverlight 4 will do it.

Several things that Silverlight 4 definitely won't be able to do are:

  • Allow you to seamlessly integrate your WinForms and MFC user interface components with your application
  • Efficiently work with data file structures originally defined in C/C++ (with WPF you can simply copy the code across and easily replicate the original C++ code using unsafe and StructLayoutAttribute)
  • Include unmanaged C++ code in your application

I have not actually downloaded the Silverlight 4 beta yet, so this list is necessarily incomplete.

like image 37
Ray Burns Avatar answered Nov 03 '22 01:11

Ray Burns