Apress.Beginning.Silverlight.5.in.Csharp.4th.Edition.Apr.2012.pdf

(14052 KB) Pobierz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
856361660.031.png 856361660.032.png 856361660.033.png 856361660.034.png 856361660.001.png
 
 
 
 
 
856361660.002.png 856361660.003.png 856361660.004.png
 
 
 
 
 
 
 
 
856361660.005.png 856361660.006.png 856361660.007.png 856361660.008.png 856361660.009.png 856361660.010.png 856361660.011.png 856361660.012.png 856361660.013.png 856361660.014.png 856361660.015.png 856361660.016.png 856361660.017.png 856361660.018.png 856361660.019.png 856361660.020.png
 
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
856361660.021.png 856361660.022.png
Contents at a Glance
About the Author.................................................................................................. xiv
About the Technical Reviewer.............................................................................. xv
Acknowledgments............................................................................................... xvi
Introduction........................................................................................................ xvii
Chapter 1: Welcome to Silverlight 5 ....................................................................... 1
Chapter 2: Introduction to Visual Studio 2010...................................................... 11
Chapter 3: Layout Management in Silverlight...................................................... 29
Chapter 4: Silverlight Controls.............................................................................. 59
Chapter 5: Data Binding and Silverlight List Controls.......................................... 89
Chapter 6: Silverlight Toolkit.............................................................................. 129
Chapter 7: Data Access and Networking............................................................ 157
Chapter 8: Navigation Framework...................................................................... 175
Chapter 9: Isolated Storage in Silverlight........................................................... 205
Chapter 10: System Integration and Device Support......................................... 237
Chapter 11: Introduction to Expression Blend.................................................... 259
Chapter 12: Styling in Silverlight........................................................................ 281
Chapter 13: Transformations and Animations.................................................... 315
Chapter 14: Custom Controls.............................................................................. 337
Chapter 15: Printing in Silverlight...................................................................... 357
Chapter 16: Deployment..................................................................................... 373
Index................................................................................................................... 393
iv
856361660.023.png 856361660.024.png 856361660.025.png 856361660.026.png 856361660.027.png 856361660.028.png
 
Introduction
There are many ways you can learn a new technology such as Silverlight. For starters, Microsoft has
gotten better and better with the documentation that is released with its programming technologies, and
it has also supplemented that documentation with employee blogs and technology sites such as
www.silverlight.net . Th ere are widely used forums that are available where many experts participate.
Training can also be purchased if you have the cash flow to justify it. While all of these are great options,
many people still resort to purchasing a book on the technology. But with so many books on the market,
how do you know what book is best?
My philosophy on learning a new technology is that there is no better way than to actually try it
out for yourself. That is why I have written Beginning Silverlight 5 in C# focusing on a number of step-by-
step, walk-through tutorials that will give you hands-on experience with the different topics and get you
started developing Silverlight applications on your own.
Who Should Read This Book
This book is written for application developers who want to get started with Silverlight. It assumes that
you have some experience developing applications using technologies related to Microsoft Visual Basic,
ASP, or .NET and have worked with Microsoft Visual Studio. You should be familiar with the JavaScript,
C#, and XML languages.
How This Book Is Organized
Each chapter focuses on a particular area of Silverlight and contains one or more “Try It Out” exercises
that allow you to apply what you have learned. Here is a summary of what each chapter includes:
Chapter 1, “Welcome to Silverlight 5,” gives you an introduction to rich interactive
(or Internet) applications (RIAs) and Silverlight. You will also learn about the tools
used in developing Silverlight-enabled applications.
Chapter 2, “Introduction to Visual Studio 2010,” introduces Visual Studio 2010 and
the important new features offered in this version. In this chapter, you will build
your first Silverlight application.
Chapter 3, “Layout Management in Silverlight,” discusses Silverlight’s flexible
layout management system, which lets you specify how controls will appear in
your applications. It describes Silverlight’s layout management controls in depth.
xvii
856361660.029.png 856361660.030.png
INTRODUCTION
Chapter 4, “Silverlight Controls,” introduces the common controls that are
provided with Silverlight. You will continue to work with these controls
throughout the book.
Chapter 5, “Data Binding and Silverlight List Controls,” looks at the Silverlight
controls that display lists of data and how to bind data to these controls. You’ll see
that these controls are flexible and can show data in unique ways.
Chapter 6, “Silverlight Toolkit,” discusses the Silverlight Toolkit, an open-source
project that extends the Silverlight control set to include a number a controls,
themes, and frameworks that will help you be more productive as a Silverlight
developer.
Chapter 7, “Data Access and Networking,” describes how data access in Silverlight
applications works differently than it does in traditional applications. It then
explores mechanisms for accessing data in Silverlight applications, focusing on
the use of web services.
Chapter 8, “Navigation Framework,” looks at building Silverlight applications that
allow the user to navigate through different pages, creating an experience similar
to browsing through different pages of a web site.
Chapter 9, “Isolated Storage in Silverlight,” covers localized storage in Silverlight,
which is handled by its isolated storage feature. You’ll learn how to store user-
specific data for your application and have that data persist over browser
instances.
Chapter 10, “System Integration and Device Support,” covers how Silverlight
applications can support notifications, integrate with legacy COM applications
and libraries, access a user’s web camera and microphone, and be enabled as a
drop target.
Chapter 11, “Introduction to Expression Blend,” gets you started with Microsoft
Expression Blend, which lets you edit XAML documents visually.
Chapter 12, “Styling in Silverlight,” describes how you can control the styles of
your Silverlight application’s user-interface elements. You’ll learn about defining
style properties inline using both Visual Studio and Expression Blend, as well as
how to use Silverlight styles.
Chapter 13, “Transformations and Animation,” covers creating animations in
Silverlight. You’ll see how Expression Blend helps you create complex animations
and transformations.
Chapter 14, “Custom Controls,” explains the basics of creating custom controls in
Silverlight. First, it covers when it is appropriate to write custom controls in
Silverlight, and then it describes how to build a custom control that has several
different states.
Chapter 15, “Printing in Silverlight,” discusses how to add printing functionality to
Silverlight applications.
xviii
Zgłoś jeśli naruszono regulamin