Cover image for Microsoft Silverlight 5 Data and Services Cookbook.
Microsoft Silverlight 5 Data and Services Cookbook.
Title:
Microsoft Silverlight 5 Data and Services Cookbook.
Author:
Cleeren, Gill.
ISBN:
9781849683517
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (711 pages)
Contents:
Microsoft Silverlight 5 Data and Services Cookbook -- Table of Contents -- Microsoft Silverlight 5 Data and Services Cookbook -- Credits -- About the Authors -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why Subscribe? -- Free Access for Packt account holders -- Instant Updates on New Packt Books -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. Learning the Nuts and Bolts of Silverlight 5 -- Introduction -- Getting our environment ready to start building Silverlight applications -- How to do it... -- How it works... -- See also -- Creating our first service-enabled and data-driven Silverlight 5 application using Visual Studio 2010 -- Getting ready -- How to do it... -- How it works... -- The solution and project structure -- Services -- Data binding -- See also -- Using the workflow between Visual Studio 2010 and Blend 5 -- Getting ready -- How to do it... -- How it works... -- See also -- Using source control in Visual Studio 2010 and Blend 5 -- Getting ready -- How to do it... -- How it works... -- There's more... -- Commonly used terms in TFS -- Deploying a Silverlight application on the server -- How to do it... -- How it works... -- Configuration changes on the server -- What if the server doesn't allow using XAP? -- 2. An Introduction to Data Binding -- Introduction -- Displaying data in Silverlight applications -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating dynamic bindings -- Getting ready -- How to do it... -- How it works... -- There's more... -- Binding data to another UI element -- Getting ready -- How to do it... -- How it works... -- There's more... -- Element bindings without bindings -- See also.

Binding collections to UI elements -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Enabling a Silverlight application to automatically update its UI -- Getting ready -- How to do it... -- How it works... -- Single objects -- Collections -- Cleaning up the code -- Obtaining data from any UI element it is bound to -- Getting ready -- How to do it... -- How it works... -- See also -- Using the different modes of data binding to allow persisting data -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Debugging data binding expressions in Visual Studio -- Getting ready -- How to do it... -- How it works -- See also -- Data binding from Expression Blend 5 -- How to do it... -- How it works... -- Using Expression Blend 5 for sample data generation -- How to do it... -- 3. Advanced Data Binding -- Introduction -- Hooking into the data binding process -- Getting ready -- How to do it... -- How it works... -- The ConverterParameter -- Displaying images based on a URL with converters -- Replacing converters with Silverlight 5 BindingBase properties -- Getting ready -- How to do it... -- How it works... -- See also -- Validating data-bound input -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Validating data input using attributes -- Getting ready -- How to do it... -- How it works... -- There's more... -- Other uses of data annotations -- See also -- Validating using IDataErrorInfo and INotifyDataErrorInfo -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using templates to customize the way data is shown by controls -- Getting ready -- How to do it... -- How it works... -- Using implicit data templates -- Getting ready -- How to do it... -- How it works -- See also.

Using the Ancestor RelativeSource binding -- Getting ready -- How to do it... -- How it works -- See also -- Creating custom markup extensions -- Getting ready -- How to do it... -- How it works -- Building a change-aware collection type -- Getting ready -- How to do it... -- How it works... -- See also -- Combining converters, data binding, and DataContext into a custom DataTemplate -- Getting ready -- How to do it... -- How it works... -- See also -- 4. The Data Grid -- Introduction -- Displaying data in a customized DataGrid -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also... -- Inserting, updating, and deleting data in a DataGrid -- Getting ready -- How to do it... -- How it works... -- See also... -- Sorting and grouping data in a DataGrid -- Getting ready -- How to do it... -- How it works... -- There's more... -- Sorting a template column -- See also -- Filtering and paging data in a DataGrid -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also... -- Using custom columns in the DataGrid -- Getting ready -- How to do it... -- How it works... -- There's more... -- Implementing master-detail in the DataGrid -- Getting ready -- How to do it... -- How it works... -- There's more... -- Validating the DataGrid -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also... -- 5. Working with Local Data -- Introduction -- Reading data from and storing data in the isolated storage -- Getting ready -- How to do it... -- How it works... -- Where's my data -- Isolated storage size -- See also -- Working with IsolatedStorageSettings -- Getting ready -- How to do it... -- How it works... -- See also -- Caching data between different Silverlight applications using isolated storage -- Getting ready -- How to do it... -- How it works...

What about IsolatedStorageSettings? -- Using the Sterling database -- Getting ready -- How to do it... -- How it works... -- Getting Sterling -- Creating a database -- The Sterling engine -- Saving and loading data -- Triggers -- See also -- 6. MVVM -- Introduction -- Creating a basic MVVM application -- Getting ready -- How to do it... -- How it works... -- See also -- Using MVVM Light to enable MVVM applications -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Connecting a View to a ViewModel using a ViewModelLocator -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Connecting a View to a ViewModel using MEF -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using commands to pass your events to the ViewModel -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Communicating between different ViewModels -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Leveraging a messenger to wrap application-wide messages -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- 7. Working with Services -- Introduction -- Connecting and reading from a standardized service -- Getting ready -- How to do it... -- How it works... -- See also -- Persisting data using a standardized service -- Getting ready -- How to do it... -- How it works... -- See also -- Configuring cross-domain calls -- Getting ready -- How to do it... -- How it works... -- Working cross-domain from a trusted Silverlight application -- Getting ready -- How to do it... -- How it works... -- See also -- Reading XML using HttpWebRequest -- Getting ready -- How to do it... -- How it works... -- The request -- The response -- Threading headaches -- See also.

Reading out an RSS feed -- Getting ready -- How to do it... -- How it works... -- There's more... -- RSS versions -- Accessing a database in the cloud -- Getting ready -- How to do it... -- How it works -- Accessing a service in the cloud -- Getting ready -- How to do it... -- How it works -- See also -- Running a Silverlight application from the cloud -- Getting ready -- How to do it... -- How it works -- There's more -- See also -- Using socket communication in Silverlight -- Getting ready -- How to do it... -- How it works... -- The policy server -- The socket server -- Connecting the Silverlight application -- 8. Talking to WCF and ASMX Services -- Introduction -- Invoking a service that exposes data -- Getting ready -- How to do it... -- How it works... -- The WCF service -- Connecting to the service -- See also -- Invoking a service such as Bing.com -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Optimizing performance using binary XML -- Getting ready -- How to do it... -- How it works... -- The default configuration is different depending on the version of Silverlight you're using -- Using binary encoding is not a security measure -- See also -- Debugging a service in Silverlight -- Getting ready -- How to do it... -- How it works... -- Types of faults -- Declared faults -- Undeclared faults -- Using ASP.NET Authentication in Silverlight -- Getting ready -- How to do it... -- How it works... -- There's more -- Uploading files to a WCF service -- Getting ready -- How to do it... -- How it works... -- See also -- Displaying images as a stream from a WCF service -- Getting ready -- How to do it... -- How it works... -- See also -- 9. Talking to WCF and ASMX Services-One Step Beyond -- Introduction -- Using duplex communication over HTTP -- Getting ready -- How to do it... -- How it works...

PollingDuplexBinding: polling, binding, and assemblies.
Abstract:
Written in a cookbook style, this book offers learning and techniques through recipes. It contains step-by-step instructions for developers who want to build rich data-driven business applications using Silverlight or Windows Phone 7. The book is designed in such a way that you can refer to things chapter by chapter, or read them in no particular order. If you are a .NET developer who wants to build professional data-driven applications with Silverlight or Windows Phone 7, then this book is for you. Basic experience of programming Silverlight and familiarity with accessing data using ADO.NET in normal .NET applications is required.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Added Author:
Electronic Access:
Click to View
Holds: Copies: