Microsoft Silverlight 5 Data and Services Cookbook

  • flag Packt
  • student All Levels
  • database book
  • earth English
  • clock 19h 51m


Over 100 practical recipes for creating rich^ data-driven^ business applications in Silverlight 5 with this book and ebook

Covered topics:

  • Build and maintain data-driven applications easily using the data binding engine^ which does most of the work for you
  • See how validation can be applied effectively to ensure correct input within your applications
  • Use Isolated Storage classes to store data locally^ possibly even between sessions^ instead of accessing your services for each data need^ bringing down the load on your servers
  • Learn all about the Model-View-View-Model (MVVM) pattern and how you can access data and services from an MVVM architecture
  • Access all kinds of services^ including WCF^ ASMX^ REST^ RSS^ sockets and more from your Silverlight applications^ even if hosted in Windows Azure
  • Get a deep knowledge about WCF RIA Services and how you can build your architecture around them
  • Build data-driven Windows Phone 7 applications and leverage your knowledge in the mobile platform
  • Throughout the book^ you’ll learn to use XAML & C# to build your LOB applications – skills that can be reused for Windows 8 development


Microsoft Silverlight is a programmable web browser plugin that enables features including animation^ vector graphics^ and audio-video playback – features that characterize Rich Internet Applications. However^ Silverlight is a great (and growing) Line-Of-Business platform and is increasingly being used to build data-driven business applications^ both in an out of the browser. It is also the heart of Windows Phone 7 development so developers can leverage their knowledge on Microsoft’s new mobile platform as well. Services enable efficient access to your data^ allowing you to draw on multiple sources of data and solve particular data problems. There is very little existing material that demonstrates how to build data-driven^ enterprise-ready solutions with the platform. Silverlight 3 and 4 made a big step into Line-Of-Business data services and Silverlight 5 builds further upon this. In this book^ Gill Cleeren^ Microsoft Regional Director^ Silverlight MVP (former ASP.NET MVP)^ Telerik MVP at Ordina Belgium and Kevin Dockx^ a technical specialist/project leader on .NET web applications and a solution manager for Rich Applications at RealDolmen^ focus on showing .NET developers how to get their finger on the pulse of data-driven business applications in Silverlight and Windows Phone 7. What’s more^ the upcoming Windows 8 will allow developers to build native^ immersive Metro-style applications using XAML & C# - exactly what this book is based upon. In other words^ the techniques described in this book also apply to Windows 8. This book is not a general Silverlight 4/5 overview book, it is uniquely aimed at developers who want to build data-driven applications^ based on best practices. It focuses on showing .NET developers how to interact with^ and handle multiple sources of data in Silverlight business applications^ and how to solve particular data problems following a practical hands-on approach^ using real-world recipes. It is a practical cookbook that teaches you how to build data-rich business applications with Silverlight that draw on multiple sources of data. Most of the features covered work both in Silverlight 4 and 5. However^ we cover some that are specific to Silverlight 5^ which will therefore not work with Silverlight 4. Where this is the case^ it is clearly indicated. Packed with reusable^ real-world recipes^ the book begins by introducing you to general principles when programming Silverlight. It then dives deep into the world of data and services^ covering all the options available to access data and communicate with services to get the most out of data in your Silverlight business applications^ whilst at the same time providing a rich user experience. This book also covers topics related to storing data locally as well as explaining how to work with data and services in a Model-View-View-Model (MVVM) architecture. Most of the content is applicable to Windows Phone 7 developers as well, a specific chapter on WP7 development is included in this release. By following the practical recipes in this book^ which are of varying difficulty levels^ you will learn the concepts needed to create data-rich business applications—from the creation of a Silverlight application^ to displaying data in the Silverlight application and applying best practices such as MVVM. Each recipe covers a data services topic^ going from the description of the problem^ through a conceptual solution to a solution containing sample code.