08.01.2015 Views

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

196<br />

CHAPTER 8 ■ .<strong>NET</strong> 3.0: WINDOWS PRESENTATION FOUNDATION<br />

Figure 8-18. Resizing the application<br />

Using Expression Blend to Build a Data<br />

Application<br />

While Blend is a fully featured application development IDE, including the ability to data<br />

bind to XML or object data sources, it isn’t suited for building a full n-tier web application<br />

from end to end. It is more suited for developing the UI <strong>and</strong> interaction layers, <strong>and</strong> then<br />

having a developer take the output XAML <strong>and</strong> “plug it in” to the full application architecture.<br />

For example, if you want Blend to build a WPF front end for a web service, you don’t<br />

have the facility to create a web services proxy. The workflow instead is that the designer<br />

uses Blend to design the interactions, <strong>and</strong> the developer takes this XAML to produce the<br />

finished application in Visual Studio. In the case of a <strong>Web</strong> Services consumer, the developer<br />

can provide the designer with an XML document that is an example of what would<br />

be returned from the service, allow the designer to do their thing, <strong>and</strong> then take the<br />

resulting XAML <strong>and</strong> plug it into a “real” web service using some C# code.<br />

Here’s a snippet of XML as returned from the web service that you used in Chapter 5—<br />

fronting the AdventureWorks database with a query for address data.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!