Powered by Blogger.

Saturday, March 1, 2014

WPF Tutorial in Asp.Net-Windows Presentation Foundation

In this post we will discuss about what is Windows Presentation Foundation (WPF) in Asp.Net.

Also you can check out:

- What is difference between machine.config and web.config file in Asp.Net?

- Display Favicon in Asp.Net web site

- Creating a New ASP.NET 4 Web Site

Introduction to Windows Presentation Foundation:
Windows Presentation Foundation (WPF) is a next-generation presentation system for building Windows client applications with visually stunning user experiences. With WPF, you can create a wide range of both standalone and browser-hosted applications.

WPF extends the core with a comprehensive set of application-development features that include Extensible Application Markup Language (XAML), controls, data binding, layout, 2-D and 3-D graphics, animation, styles, templates, documents, media, text, and typography.

Programming with WPF:
WPF exists as a subset of .NET Framework types that are for the most part located in the System. Windows namespace.like ASP.NET and Windows Forms, the fundamental WPF programming experience should be familiar; you instantiate classes, set properties, call methods, and handle events, all using your favorite .NET Framework programming language, such as C#.Net or Visual Basic.

WPF includes additional programming constructs that enhance properties and events: dependency properties and routed events.

WPF offers additional programming enhancements for Windows client application development.like the ability to develop an application using both markup and code-behind.You generally use Extensible Application Markup Language (XAML) markup to implement the appearance of an application while using managed programming languages (code-behind) to implement its behavior. This separation of appearance and behavior has the following benefits:

1- Development and maintenance costs are reduced.

2- Development is more efficient because designers can implement an application's appearance simultaneously with developers who are implementing the application's behavior.

3- Multiple design tools can be used to implement and share XAML markup, to target the requirements of the application development contributors; Microsoft Expression Blend provides an experience that suits designers, while Visual Studio 2010 targets developers.

4- Globalization and localization for WPF applications is greatly simplified.