Windows Presentation Foundation Application differs from traditional Windows Forms Application in several ways. The most notable is that code for the user interface is separated from the code for application functionality. Although the code for project can be done in C#.net , vb.net, etc but the user interface of a WPF project is typically defined using a relatively new declarative syntax called Extensible Application Mark Up Language(XAML). Wpf development support three kinds of application:
1. Windows Application
2. Navigation Application
3. XAML Browser Application(XBAPs)
Let us check when and where to select which type of application.
When to use Windows Application ?
For a user experience that most closely resembles a traditional Windows Form application Menu driven, multiwindow application that combines the rich functionality of a desktop with the rich UI that WPF provides.
When to use Navigation Application ?
For user experience that more closely resembles a Web site, you should choose a page-based application. Navigation applications and XBAP applications provide built in navigation functionality that allows you to structure the application paralleling a task, such as in an Internet shopping application or wizard.
If application require to access System Resources that fall outside the Internet Security Zone, then XBAP is not a good choice, a better choice would be a Windows application or Navigation application.
When to use XBAP Application ?
When you want to deploy the application to a WebServer and have users start if from the hyperlink, thus making it easily accesible to a large-scale audience. If your application does not require access to system resources, XBAP might be good choice.
No comments:
Post a Comment