Showing posts with label WPF. Show all posts
Showing posts with label WPF. Show all posts

Application types in WPF

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.

Windows Presentation Foundation (WPF)

                             Now I am working on Windows Presentation Foundation (WPF) application. It is a good opportunity to work on this technology. Microsoft Silverlight utilizes WPF to provide embedded web controls comparable to Adobe Flash, but with more focus on a UI object model and less on animation. 3D runtime rendering is unsupported in Silverlight, but available to embedded WPF applications.
                           WPF has a built-in set of data services to enable application developers to bind and manipulate data within applications. It supports three types of data binding: as in Silverlight.
one time: where the client ignores updates on the server.
 one way: where the client has read-only access to data.
 two way: where client can read from and write data to the server

http://www.wpftutorial.net/ . This site helped me a lot to work in WPF controls