Skip to main content

Working with Data

  • Chapter
Introducing Silverlight 4
  • 213 Accesses

Abstract

Data can take many forms, from simple types passed back from web services to complex formats such as XML. In the previous chapter, you saw how to consume web services from Silverlight and connect to various servers, including ones that live outside your application’s host domain and others that communicate over sockets. Once you have data, though, you must process it and/or display it to users. Silverlight provides a DataGrid control, a data binding architecture to connect data to user interface elements, and even item templates for controls like the ListBox to specifically define how each item should appear. On the data-processing side, Silverlight provides a number of classes for working with XML, including Language Integrated Query (LINQ). Another important aspect to data is how to save data on the client. While you can use cookies, Silverlight provides something called isolated storage that provides file system semantics for saving and loading data. Let’s dig into all this support Silverlight provides for working with data.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Ashish Ghoda

About this chapter

Cite this chapter

Ghoda, A. (2010). Working with Data. In: Introducing Silverlight 4. Apress. https://doi.org/10.1007/978-1-4302-2992-6_6

Download citation

Publish with us

Policies and ethics