Beginning Silverlight 3 (eBook)

(Autor)

eBook Download: PDF
2010 | 1st ed.
XIV, 500 Seiten
Apress (Verlag)
978-1-4302-2378-8 (ISBN)

Lese- und Medienproben

Beginning Silverlight 3 - Robert Lair
Systemvoraussetzungen
35,30 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

Silverlight design tools have important differences compared to those used to create Ajax and JavaScript functionality. Robert Lair takes you on a tour of all the tools, including Microsoft Expression Design, which plays an important part in creating Silverlight assets; Microsoft Expression Blend, which is used to build user interaction for Silverlight elements; and Microsoft Visual Studio, which manages the interaction between designers and developers, providing the coding environment for 'nuts and bolts' wiring.

Once you've mastered the basics, you'll move on to gaining a more in-depth knowledge of some of the groundbreaking new features of the Silverlight technology.

The growing popularity of Web 2.0 applications is increasing user expectations for high-quality web site design, presentation, and functionality. It was into this climate that Microsoft released Silverlight 3, the third iteration of its cross-browser web presentation technology and the second to ride on top of the .NET platform. Beginning Sliverlight 3 brings you to the cutting-edge of Web 2.0 application design and includes plenty of practical guidance to get you started straightaway.



Robert Lair is the president and chief executive officer of Intensity Software, Inc. and has been working with Microsoft .NET technologies since prior to its initial release in 2000. Among his accomplishments, Robert was on the team that created the original ASP.NET sample application IBuySpy, used to demonstrate the power of ASP.NET. Robert is an active speaker and writer in the development community.
Silverlight design tools have important differences compared to those used to create Ajax and JavaScript functionality. Robert Lair takes you on a tour of all the tools, including Microsoft Expression Design, which plays an important part in creating Silverlight assets; Microsoft Expression Blend, which is used to build user interaction for Silverlight elements; and Microsoft Visual Studio, which manages the interaction between designers and developers, providing the coding environment for "e;nuts and bolts"e; wiring.Once you've mastered the basics, you'll move on to gaining a more in-depth knowledge of some of the groundbreaking new features of the Silverlight technology.The growing popularity of Web 2.0 applications is increasing user expectations for high-quality web site design, presentation, and functionality. It was into this climate that Microsoft released Silverlight 3, the third iteration of its cross-browser web presentation technology and the second to ride on top of the .NET platform. Beginning Sliverlight 3 brings you to the cutting-edge of Web 2.0 application design and includes plenty of practical guidance to get you started straightaway.

Robert Lair is the president and chief executive officer of Intensity Software, Inc. and has been working with Microsoft .NET technologies since prior to its initial release in 2000. Among his accomplishments, Robert was on the team that created the original ASP.NET sample application IBuySpy, used to demonstrate the power of ASP.NET. Robert is an active speaker and writer in the development community.

Title Page 1
Copyright Page 2
Dedication Page 3
Contents at a Glance 4
Table of Contents 5
About the Author 12
About the Technical Reviewer 13
Acknowledgments 14
CHAPTER 1 Welcome to Silverlight 3 15
The Evolution of the User Interface 15
Rich Internet Application Solutions 17
What Is Silverlight? 17
Benefits of Silverlight 18
Cross-Platform/Cross-Browser Support 19
Cross-Platform Version of the .NET Framework 19
XAML, a Text-Based Markup Language 19
Use of Familiar Technologies 20
Small Runtime and Simple Deployment 20
The Silverlight Development Environment 22
New Features in Silverlight 3 24
Improved Performance 25
Summary 25
CHAPTER 2 Introduction to Visual Studio 2008 26
What Is Visual Studio? 26
What’s New in Visual Studio 2008? 27
JavaScript IntelliSense and Debugging 27
IntelliSense Improvements 27
New Debugging Features 31
Try It Out: JavaScript IntelliSense and Debugging 33
Multi-Targeting Support 41
Transparent IntelliSense Mode 43
Building Your First Silverlight Application in Visual Studio 44
Try It Out: Hello World in Silverlight 3 44
Hosting Your Silverlight Application: Web Site or Web Application? 49
Using a Visual Studio Web Site 49
Using a Visual Studio Web Application Project 49
Summary 50
CHAPTER 3 Layout Management in Silverlight 3 51
Layout Management 51
The Canvas Panel 52
Try It Out: Using the Canvas Panel 53
Filling the Entire Browser Window with Your Application 56
The StackPanel Control 57
Try It Out: Using the StackPanel Control 57
Try It Out: Nesting StackPanel Controls 59
The Grid Control 61
Try It Out: Using the Grid Control 61
Try It Out: Nesting a Grid and Spanning a Column 64
The WrapPanel Control 67
Try It Out: Using the WrapPanel Control 68
The DockPanel Control 71
Try It Out: Using the DockPanel Control 72
Summary 75
CHAPTER 4 Silverlight 3 Controls 76
Setting Control Properties 76
Attribute Syntax 76
Element Syntax 77
Type-Converter-Enabled Attributes 77
Attached Properties 77
Nesting Controls Within Controls 78
Handling Events in Silverlight 79
Try It Out: Declaring an Event in XAML 79
Try It Out: Declaring an Event Handler in Managed Code 83
The Border Control 87
User Input Controls 91
Try It Out: Working with the TextBox Control 91
Try It Out: Working with the RadioButton and CheckBox Controls 95
Extended Controls 98
Adding an Extended Control 98
Try It Out: Using the GridSplitter 99
AutoCompleteBox 101
ViewBox 103
Modal Windows 104
Try It Out: Using the Modal Child Window 106
Summary 114
CHAPTER 5 Data Binding and Silverlight List Controls 115
Data Binding 115
The Binding Class 116
Try It Out: Simple Data Binding in Silverlight 116
Element to Element Binding 124
Try It Out: Element to Element Binding 124
The DataGrid Control 126
Try It Out: Building a Simple DataGrid 127
The Columns Collection 132
DataGridTextColumn 133
DataGridCheckBoxColumn 133
DataGridTemplateColumn 134
Try It Out: Building a DataGrid with Custom Columns 134
The ListBox Control 140
Default and Custom ListBox Items 141
Try It Out: Building a ListBox with Custom Content 143
Summary 145
CHAPTER 6 Data Access and Networking 146
Data Access in Silverlight Applications 146
Accessing Data Through Web Services 147
Try It Out: Accessing Data Through a WCF Service 147
Accessing Services from Other Domains 158
Accessing Data Through Sockets 159
Summary 161
CHAPTER 7 Navigation Framework 162
Frame and Page Object 162
Try It Out: Creating a Silverlight Navigation Application 162
Benefits of the Navigation Framework 173
Deep Linking 173
The NavigationService Object 174
Try it Out: Using the NavigationService Object 175
Passing Data to Navigation Pages 177
Try it Out: Passing Data to Navigation Pages 178
Uri Mapping 181
Try it Out: Uri Mapping and the Navigation Framework 182
Silverlight Navigation Application Template 184
Try it Out: Using the Silverlight Navigation Application Template 184
Using Multiple Frames 188
Try it Out: Using Multiple Frames 189
Summary 191
CHAPTER 8 Local Storage in Silverlight 192
Working with Isolated Storage 192
Using the Isolated Storage API 192
IsolatedStorageFile 193
IsolatedStorageFileStream 193
IsolatedStorageSettings 193
Try It Out: Creating a File Explorer for Isolated Storage 195
Creating the Application Layout 196
Coding the File Explorer 206
Testing the File Explorer 215
Managing Isolated Storage 216
Viewing and Clearing Isolated Storage 216
Try It Out: Increasing the Isolated Storage Quota 218
Summary 221
CHAPTER 9 Introduction to Expression Blend 222
Key Features in Expression Blend 222
Visual XAML Editor 223
Visual Studio 2008 Integration 223
Split-View Mode 223
Visual State Manager and Template Editing Support 224
World-Class Timeline 224
Try It Out: Working with Projects in Expression Blend 225
Exploring the Workspace 230
Toolbox 230
Project Panel 232
Properties Panel 232
Objects and Timeline Panel 234
Laying Out an Application with Expression Blend 234
Working with the Grid Control in Expression Blend 234
Try It Out: Editing a Layout Grid with Expression Blend 234
Summary 242
CHAPTER 10 Styling in Silverlight 243
Inline Properties 243
Try It Out: Setting Inline Properties with Visual Studio 243
Try It Out: Setting Inline Properties with Expression Blend 251
Silverlight Styles 259
Try It Out: Using Styles As Static Resources 261
Defining Styles at the Application Level 267
Merged Resource Dictionaries 269
Silverlight Style Hierarchy 270
Inheriting Styles Using BasedOn 272
Summary 273
CHAPTER 11 Transformations and Animation 274
Introduction to Silverlight Animation 274
Silverlight Storyboards 275
Types of Animation in Silverlight 276
Programmatically Controlling Animations 278
Using Expression Blend to Create Animations 280
Viewing a Storyboard in the Expression Blend Timeline 280
Try It Out: Creating an Animation with Expression Blend 281
Creating Transformations in Silverlight 289
Transformation Types 290
ScaleTransform 290
SkewTransform 291
RotateTransform 291
TranslateTransform 291
Try It Out: Using Expression Blend to Transform Silverlight Objects 292
Summary 295
CHAPTER 12 Custom Controls 296
When to Write Custom Controls 296
Silverlight Control Toolkit 297
Silverlight Control Model 298
Parts and States Model 298
Dependency Properties 299
Creating Custom Controls in Silverlight 300
Implementing Custom Functionality 300
Try It Out: Building a Custom Control 301
Setting Up the Control Project 301
Defining Properties and States 303
Defining the Control’s Appearance 306
Handling Control Events 311
Compiling and Testing the Control 315
Summary 316
CHAPTER 13 Deployment 317
Deploying Silverlight Applications 317
XAP Files 317
Hosting Silverlight Content 317
Assembly Caching 318
Try It Out: Exploring Assembly Caching 319
Out of Browser Support 323
Customizing the Install Application Dialog 325
Out of Browser API 326
Removing Installed Applications 328
Summary 328
Index 329

Erscheint lt. Verlag 28.12.2010
Zusatzinfo XIV, 500 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Web / Internet
Schlagworte Animation • Browser • Control • Deployment • Expression Blend • Framework • Management • Microsoft Visual Studio • Navigation • .NET • Silverlight • Silverlight 3 • Technology • Visual Studio • XAML
ISBN-10 1-4302-2378-2 / 1430223782
ISBN-13 978-1-4302-2378-8 / 9781430223788
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 10,1 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Jürgen Sieben

eBook Download (2023)
Rheinwerk Computing (Verlag)
62,93
Mini-Refactorings für besseres Software-Design

von Kent Beck

eBook Download (2024)
O'Reilly Verlag
12,99
Grundlagen, Menschen, Prozesse, Techniken

von Jochen Ludewig; Horst Lichter

eBook Download (2023)
dpunkt (Verlag)
49,90