Question

I'm hoping someone here can explain to me the difference between WPF and XAML exactly in this context:

I have an application (an XBAP specifically) written in VB.NET using MVVM & Repository Pattern, implementing the the usual INotifyPropertyChanged, OLEDB etc etc.

The front end of the application is written in XAML.

From what I understand there is nothing specifically "WPF" about this application. In my view its XAML + VB.NET; where does the WPF come in? Given windows 8 and the "death of Silverlight/WPF" that I keep hearing about, what should I be doing to "upgrade" my application to ensure its future?

I would greatly appreciate someone clearing up this confusion for me.

Was it helpful?

Solution

XAML + your code behind is WPF. You are using WPF. XAML is the markup used for defining the interface in WPF.

And I wouldn't worry too much at this point about "the death of Silverlight/WPF". Just because Windows 8 supports HTML5/JavaScript doesn't mean WPF has gone away. At least, not yet.

See also.

OTHER TIPS

An XBAP (XAML Browser Application) is a kind of WPF XAML application, that runs in the browser. Nothing more, nothing less.

WPF isn't going away anytime soon; in fact, it received a number of enhancements in .NET 4.5. Windows 8 will continue supporting WPF whether it's run on the desktop or as an XBAP. There's no need to "upgrade" your app, but if you want to take advantage of the Windows Store and the new user interface, it's not difficult to port your WPF XAML to WinRT XAML.

See, WPF can be called as the Successor of WinForms . In WPF WE have this XAML that is simply XML but Is more powerful and has greater properties . WPF isn't dead ! Talking about Windows Store Apps, Silverlight has lots to do with WPF and XAML

Your XBAP application uses WPF : XAML for the UI and VB.NET for the code behind. If you want to be sure, check if the namespaces you use in the code begin with "System.Windows".

Your XBAP is just a kind of project you can create with the WPF technology. (that's an application which shows several web pages as its UI).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top