Lair | Beginning Silverlight 4 in C# | E-Book | www.sack.de
E-Book

E-Book, Englisch, 416 Seiten

Lair Beginning Silverlight 4 in C#


3rd ed
ISBN: 978-1-4302-2989-6
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark

E-Book, Englisch, 416 Seiten

ISBN: 978-1-4302-2989-6
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark



The growing popularity of Web 2.0 applications is increasing user expectations for high-quality web site design, presentation, and functionality. It is into this climate that Microsoft is releasing Silverlight 4, the third and latest iteration of its cross-browser web presentation technology. Beginning Sliverlight 4 in C# brings you to the cutting-edge of Web 2.0 application design and includes plenty of practical guidance to get you started straightaway. 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. 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 new features introduced with Silverlight 4, including H.264 protected content, right-click event handling, a new printing API, and support for the Managed Extensibility Framework.

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.

Lair Beginning Silverlight 4 in C# jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


1;Title Page
;1
2;Copyright Page
;2
3;Contents at a Glance;4
4;Table of Contents
;6
5;About the Author;15
6;About the Technical Reviewer;16
7;Acknowledgments;17
8;Introduction;18
8.1;Who Should Read This Book
;18
8.2;How This Book Is Organized
;18
9;CHAPTER 1 Welcome to Silverlight 4;20
9.1;The Evolution of the Use I
nterface ;20
9.2;Rich Internet Application Solutions
;23
9.3;What Is Silver light?
;23
9.4;Benefits of Silverlight
;24
9.4.1;Cross-Platform/Cross-Browser Support
;25
9.4.2;Cross-Platform Version of the .NET Framework
;25
9.4.3;Use of Familiar Technologies
;26
9.4.4;Small Runtime and Simple Deployment
;26
9.5;The Silverlight Development Environment
;27
9.6;New Features in Silverlight 4
;29
9.6.1;Improved Performance
;30
9.7;Summary
;30
10;CHAPTER 2 Introduction to Visual Studio 2010;31
10.1;What Is Visual Studio?
;31
10.2;What's New in Visual Studio 2010?
;32
10.2.1;Support for Multiple Monitors
;32
10.2.2;Zoom Support for Source Edior
;33
10.2.2.1;Improved IntelliSense
;34
10.2.2.2;Add References Performance
;35
10.2.2.3;Reference Highlighting
;36
10.2.2.4;Box Selection
;37
10.2.2.5;Call Hierachy Window
;38
10.2.2.6;Code Generation
;39
10.2.3;Extension Manager
;39
10.3;Building Your First Silverlight Application in Visual Studio
;40
10.3.1;Try It Out: Hello World in Silverlight 4
;40
10.3.2;Hosting Your Silverlight Application: Web Site or Web Application?
;44
10.3.2.1;Using a Visual Studio Web Site;45
10.3.2.2;Using a Visual Studio Web Application Profect
;45
10.4;Summary
;46
11;CHAPTER 3 Layout Management in Silverlight;47
11.1;Layout Management
;47
11.2;The Canvas Panel
;48
11.2.1;Try It Out: Using the Canvas Panel
;49
11.2.2;Filling the Entire Browser Window with Your Application
;53
11.3;The StackPanel Control
;54
11.3.1;Try It Out: Using the StackPanel Control
;54
11.3.2;Try It Out: Nesting StackPanel Controls
;57
11.4;The Grid Control
;59
11.4.1;Try It Out: Using the Grid Control
;60
11.4.2;Try It Out: Nesting a Grid and Spanning a Column;64
11.5;The WrapPanel Control
;68
11.5.1;Try It Out: Using the WrapPanel Control
;69
11.6;The DockPanel Control
;73
11.6.1;Try It Out: Using the DockPanel Control
;73
11.7;Summary
;76
12;CHAPTER 4 Silverlight Controls;77
12.1;Setting Control Properties;77
12.1.1;Attribute Syntax
;77
12.1.2;Element Syntax
;78
12.1.3;Type-Converter-Enabled Attributes
;78
12.1.4;Attached Properties
;78
12.2;Nesting Controls Within Controls
;79
12.3;Handling Events in Silverlight
;80
12.3.1;Try It Out: Declaring an Event in XAML
;81
12.3.2;Try It Out: Declaring an Event Handler in Managed Code
;85
12.4;The Border Control
;89
12.5;User Input Controls
;93
12.5.1;Try It Out: Working with the TextBox Control
;93
12.5.2;Try It Out: Working with the RadioButton and CheckBox Controls
;97
12.6;Extended Controls
;100
12.6.1;Adding an Extended Control
;100
12.6.2;Try It Out: Using the GridSplitter
;101
12.7;Summary
;104
13;CHAPTER 5 Data Binding and Silverlight List Controls;105
13.1;Data Binding
;105
13.1.1;The Binding Class
;106
13.1.2;Try It Out: Simple Data Binding in Silverlight
;106
13.2;Element to Elemet Binding
;115
13.2.1;Try It Out: Element to Element Binding
;115
13.3;The DataGird Control;117
13.3.1;Try It Out: Building a Simple DataGrid
;118
13.3.2;The Columns Collection
;123
13.3.2.1;DataGridTextColumn
;124
13.3.2.2;DataGridCheckBoxColumn
;125
13.3.2.3;DataGridTemplateColumn
;125
13.3.3;Try It Out: Building a DataGrid with Custom Columns
;126
13.4;The ListBox Control
;132
13.4.1;Default and Custom ListBox Items
;132
13.4.2;Try It Out: Building a ListBox with Custom Content
;134
13.5;New Data Binding Features in Silverlight 4
;136
13.5.1;Data Binding and String Formatting
;136
13.5.2;TargetnullValue and FallBackValue Extensions
;138
13.6;Summary
;139
14;CHAPTER 6 Silverlight Toolkit;140
14.1;Overview of the Silverlight Toolkit
;140
14.1.1;Installing the Toolkit
;142
14.2;Toolkit Controls
;143
14.2.1;Accordion
;143
14.2.2;Try It Out: Working with the Accordion Control
;144
14.3;AutoCompleteBox
;149
14.3.1;TabControl
;151
14.4;ViewBox
;152
14.5;Modal Windows
;154
14.5.1;Try It Out: Using the Modal Child Window
;155
14.6;Summary
;165
15;CHAPTER 7 Data Access and Networking;166
15.1;Data Access in Silverlight Applications
;166
15.2;Accessing Data Through Web Services
;167
15.2.1;Try It Out: Accessing Data Through a WCF Service
;167
15.3;Accessing Services from Other Domains
;178
15.4;Accessing Data Through Sockets
;179
15.5;Summary;181
16;CHAPTER 8 Navigation Framework;182
16.1;Frame and Page Object
;182
16.1.1;Try It Out: Creating a Silverlight Navigation Application
;183
16.2;Benefits of the Navigation Framework
;192
16.2.1;Deep Linking
;192
16.3;The NavigationService Object
;193
16.3.1;Try It Out: Using the NavigationService Object
;194
16.4;Passing Data to Navigation Pages
;196
16.4.1;Try It Out: Passing Data to Navigation Pages
;196
16.5;Uri Mapping
;200
16.5.1;Try It Out: Uri Mapping and the Navigation Framework
;200
16.6;Silverlight navigation Application Template
;203
16.6.1;Try It Out: Using the Silverlight Navigation Application Template
;203
16.7;Using MultiPle Frames
;207
16.7.1;Try It Out: Using Multiple Frames
;207
16.8;Summary
;209
17;CHAPTER 9 Isolated Storage in Silverlight;210
17.1;Working With Isolated Storage
;210
17.1.1;Using the Isolated Storage API
;211
17.1.1.1;IsolatedStorageFile
;211
17.1.1.2;IsolatedStorageFileStream
;211
17.1.1.3;IsolatedStorageSettings
;212
17.1.2;Try It Out: Creating a File Explorer for Isolated Storage
;213
17.1.2.1;Creating the Application Layout
;214
17.1.2.2;Coding the File Explorer
;224
17.1.2.3;Testing the File Explorer
;233
17.2;Managing Isolated Storage
;235
17.2.1;View and Clearing Isolated Storage
;235
17.2.2;Try It Out: Increasing the Isolated Storage Quota
;236
17.3;Summary
;239
18;CHAPTER 10 System Integration and Device Support;240
18.1;Notification (Toast) API
;240
18.1.1;Try It Out: Implementing Toast Notifications.
;240
18.2;Webcam/Microphone Access
;246
18.2.1;Try It Out: Accessing a User's Web Camera and Microphone
;247
18.3;Working with Captured Streams
;252
18.4;COM Interoperability
;252
18.4.1;Try It Out: Executing an EXE
;253
18.5;Dropping Files on a Silverlight Application
;257
18.5.1;Drop Event
;257
18.5.2;Try It Out: Enabling an Application As a Drop Target
;257
18.6;Summary
;260
19;CHAPTER 11 Introduction to Expression Blend;261
19.1;Key Features in Expression Blend
;261
19.1.1;Visual XAML Edior
;262
19.1.2; Visual Studio 2010 Integration
;262
19.1.3;Splip-View Mode
;262
19.1.4;Visual State Manager and Template Editing Support
;263
19.1.5;Word-Class Timeline
;263
19.1.6;Try In Out: Working with Projects in Expression Blend
;264
19.2;Exploring the Workspace
;268
19.2.1;Tollbox
;268
19.2.2;Project Panel
;270
19.2.3;Properties Panel ;270
19.2.4;Objects and Timeline Panel
;271
19.3;Laying Out an Application with Expression Blend
;271
19.3.1;Working with the Grid Control in Expression Blend
;271
19.3.2;Try It Out: Editing a Layout Grid with Expression Blend
;272
19.4;Summary
;278
20;CHAPTER 12 Styling in Silverlight;279
20.1;Inline Properties
;279
20.1.1;Try It Out: Setting Inline Properties with Visual Studio
;279
20.1.2;Try It Out: Setting Inline Properties with Expression Blend
;287
20.2;Silverlight Styles
;296
20.2.1;Try It Outl: Using Styles As Static Resources
;297
20.2.2;Defining Styles at the Application Level
;305
20.2.3;Merged Resource Dictionaries
;306
20.2.4;Silverlight Style Hierarchy
;308
20.2.5;Inheriting Styles Using BasedOn
;309
20.2.6;Implicit Styles
;310
20.3;Summary
;312
21;CHAPTER 13 Transformations and Animation;313
21.1;Introduction to Silverlight Animation
;313
21.1.1;Silverlight Storyboards
;314
21.1.2;Types of Animations in Silverlight
;315
21.2;Programmatically Controlling Animations
;317
21.3;Using Expression Blend to Create Animations
;319
21.3.1;Viewing a Storyboard in the Expression Blend Timeline
;320
21.3.2;Try It Out: Creating an Animation with Expression Blend
;320
21.4;Creating Transformations in Silverlight
;328
21.4.1;Transformation Types
;329
21.4.1.1;ScaleTransform
;329
21.4.1.2;SkewTransform
;330
21.4.1.3;RotateTransform
;330
21.4.1.4;TranslateTrasform
;330
21.4.2;Try It Out: Using Expression Blend to Transform Silverlight Objects
;331
21.5;Summary
;335
22;CHAPTER 14 Custom Controls;336
22.1;When to Write Custom Controls
;336
22.2;Silverlight Control Model
;337
22.2.1;Parts and States Model
;337
22.2.2;Dependency Properties
;338
22.3;Creating Custom Controls in Silverlight
;339
22.3.1;Implementing Custom Functionality
;339
22.3.2;Try It Out: Building a Custom Control
;339
22.3.2.1;Setting Up the Control Project
;340
22.3.2.2;Defining Properties and States
;342
22.3.2.3;Defining the Control's Appearance
;345
22.3.2.4;Handling Control Events
;349
22.3.2.5;Compiling and Testing the Control
;354
22.4;Summary
;356
23;CHAPTER 15 Printing in Silverlight;357
23.1;The Printing API
;357
23.1.1;Try It Out: Implementing Simple Printing
;357
23.2;Printing Custom Content
;365
23.2.1;Try It Out: Implementing a Custom Print
;365
23.3;Additional Printing Customization
;368
23.3.1;Try It Out: Handling the BeginPrint and EndPrint Events
;368
23.4;Summary
;371
24;CHAPTER 16 Deployment;372
24.1;Deploying Silverlight Applications
;372
24.1.1;XAP Files
;372
24.1.2;Hosting Silverlight Content
;372
24.2;Application Library Caching
;373
24.2.1;Try It Out: Exploring Assembly Caching
;374
24.3;Full Screen Pinning
;377
24.4;Out of Browser Support
;378
24.4.1;Customizing the Install Application Dialog
;380
24.4.2;Out of Browser API
;382
24.4.3;Removing Installed Applications ;383
24.5;Elevated Trust Applications
;384
24.6;Summary
;387
25;Index;388



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.