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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-2992-6_6
Publisher Name: Apress
Print ISBN: 978-1-4302-2991-9
Online ISBN: 978-1-4302-2992-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)