My Account Log in

1 option

Silverlight 4 unleashed

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Bugnion, Laurent, Author.
Series:
Unleashed
Language:
English
Subjects (All):
Silverlight (Electronic resource).
Multimedia systems--Development.
Multimedia systems.
Application software.
Web site development.
Internet programming.
User interfaces (Computer systems).
Physical Description:
1 online resource (xxiv, 710 p.) : ill., maps.
Edition:
1st edition
Place of Publication:
[Place of publication not identified] Sams Pub 2011
Language Note:
English
System Details:
text file
Summary:
Printed entirely in color, with helpful figures and syntax coloring to make code samples appear as they do in Visual Studio and Expression Blend! Using Silverlight 4, you can build richer and more powerful applications than ever before, and deploy them seamlessly in browsers, on desktop computers, and even on Windows Phone 7. In Silverlight 4 Unleashed , Microsoft Silverlight MVP Laurent Bugnion covers everything you need to do all this, and much more. The only full-color, example-rich guide to Silverlight 4 for experienced Microsoft developers, Silverlight 4 Unleashed illuminates the entire development process: from installing Silverlight tools to building great user experiences, managing data to optimizing application performance. You’ll master core Silverlight features such as controls and properties; communicating with web services; efficiently creating data-oriented line-of-business applications; working with external frameworks, and more. Bugnion concludes by showing how to use advanced features such as 3D-like effects and multitouch to deliver an even smoother, richer experience. Install and use Silverlight Tools for Visual Studio Extend Silverlight applications with user and custom controls Group, sort, filter, page, bind, and validate data Take full advantage of the Model-View-ViewModel Pattern in Silverlight Access Web resources and services Control the application’s appearance with resources, styles, templates, and Expression Blend Sketch user experience and build iterative prototypes by easily getting feedback from end users Create data-oriented applications more easily with the WCF RIA Services framework Adapt Silverlight desktop applications for Windows Phone 7 Integrate effects and media into your applications Use Unity, MEF, and the MVVM Light Toolkit to write more maintainable, extensible software Optimize performance by reducing download size and memory footprint, and increasing execution speed
Contents:
Cover
Table of Contents
Foreword
Introduction
1 Three Years of Silverlight
Discovering Silverlight 4
Learning Silverlight Is Betting on the Future
How Can They Be So Fast?
How About Compatibility with Older Versions?
Cross-Browser and Cross-Platform Compatibility
Windows and Macintosh
Linux
Alternatives to Silverlight
In the Web Browser
Out of the Browser
Legacy Technologies
A Short History of Silverlight
Silverlight 1.0
Silverlight 2
Silverlight 3
And Silverlight 4
Previewing the Future of Silverlight
Installing Silverlight 4 as a User
Opening a Silverlight 4 Application
What to Do If Silverlight Is Not Installed?
Exploring Silverlight 4 Demos
Deep Zooming the Matterhorn
Getting Involved Socially with Sobees
Navigating with Bing Maps Streetside and PhotoSynth
Visualizing Information with the Pivot Viewer
Drawing on the Web with Fantasia
How Can You Get Involved?
Summary
2 Setting Up and Discovering Your Environment
Installing Visual Studio
Visual Studio 2010
Visual Web Developer Express
Installing the Silverlight Tools for Visual Studio
Verifying the Installation
Inspecting the Application
Unpacking an XAP File
Using the Visual Studio Designer
Implementing Hello Silverlight
Checking the Properties Editor
Adding Some Text
Using Design Time Width and Height
Saving the Application
Installing Expression Blend
Creating a New Silverlight Application
Opening Hello Silverlight
Adding an Effect
Creating a Pulse Animation
Triggering the Storyboard
Testing the Application
3 Extending Your Application with Controls
Extending XAML
Mapping a Prefix to a CLR Namespace
Why Is a Prefix Not Always Needed?
Adding a Namespace to Any Element.
Defining Your Own URI and Mapping CLR Namespaces
What's a Control?
User Controls
Custom Controls
4 Investigating Existing Controls
Reviewing the Basics
Show Me Some Code!
Changes in Existing Controls
Mouse Wheel Support
Localizing for Right-to-Left Languages
Getting a Control Template's Current State
Adding SelectedValue and SelectedValuePath
Adding Command and CommandParameter
Presenting and Editing Text with the RichTextBox
Zooming with the Viewbox
Opening a ChildWindow
Finding More Information
Where to Find Additional Controls?
Do You Really Need a Control?
The Silverlight Toolkit
Installing the Silverlight Toolkit
Third-Party Providers
5 Understanding Dependency Properties
Inheriting DependencyObject
Threading
Accessing a Dependency Property's Value
Using a DependencyObject as Data Item
Registering Dependency Properties
Defining Metadata
Initializing Dependency Objects
Understanding Attached Properties
Using Attached Properties for Values
Registering an Attached Property
Using Custom Attached Properties in XAML
Implementing an Attached Behavior
Building on Attached Behaviors with Blend Behaviors
Adding a New Property with Snippets
Installing the Snippets for Silverlight
Using the Snippets
Calculating a Dependency Property's Value
Getting the Property's Base Value
Reading the Local Value
6 Working with Data: Binding, Grouping, Sorting, and Filtering
Diving into Data Bindings
Understanding a Binding's Elements
Understanding the Namescope
Setting the Source
Refining the Path
Flowing in Two Directions
Converting the Values
Changing the Format
Handling Special Cases
Property Trigger
Validating Input
Using the Visual Studio Binding Dialog.
Using the Expression Blend Binding Dialog
Debugging Data Bindings
Checking the Output Tab
Creating a Test Converter
Grouping, Filtering, and Sorting Data
Working with the CollectionViewSource
Using a PagedCollectionView
Binding Directly to the Source
7 Understanding the Model-View-ViewModel Pattern
About Design Patterns
Separating the Concerns
Why Is Separation Good?
Classic Separation Patterns
History of MVVM
Developing Expression Blend
Presentation Model for WPF and Silverlight
Architecture of MVVM
Translating to Silverlight
Two Kinds of View-models
Binding the View to the View-model
Understanding the Data Context
Inheriting the Data Context
Binding to the View
Building a Sample Application
The Model's Interface
Building a CustomerViewModel
Calling the Service in the MainViewModel
Binding to Results
Bridging the Separation
Implementing a ViewModelBase Class
Using Commands
Sending Messages
Using an MVVM Framework
What Could Be Better?
8 Using Data Controls
Filtering and Paging with the PagedCollectionView
Preparing the Sample
Building the PagedCollectionView
Filtering Data
Paging Through Data
Optimizing Data Handling
Implementing Custom Sorting
Adding a DataPager Control
Customizing the Display
Validating Data Input
Using Interface-Based Validation
Validating with Data Annotations
Validating Before or After the Data Is Set
Validating on the Client and on the Server
Reviewing the DataGrid
Using the DataGrid with Automatic Columns
Choosing Between DataGrid and ListBox
Editing Data in the DataForm
Adding a Description
Validating the Input
Committing Changes Manually
Defining Fields Manually
Getting More Information.
Making a Simple Property Editor
9 Connecting to the Web
Getting Information from Cross-Domain Servers
Checking Whether a Policy File Exists
Working Around Cross-Domain Restrictions
Placing Simple Calls
Informing the User
Learning with a Sample
Downloading Strings
Detecting Errors, Checking the Result
Opening a Resource for Reading
Uploading a String
Opening a Resource for Writing
Accessing Headers
Sending Complex Messages
Posting a File to the Server with HttpWebRequest
Discovering the New Networking Stack
Using the Client HTTP Stack
Using Other HTTP Methods
Using the CookieContainer
Handling Responses
Handling XML Responses
Handling JSON Responses
Communicating with WCF
Setting Up a Service
Connecting the Client Application
Updating the Code on the Server
Publishing the Service
10 Creating Resources, Styles, and Templates
Working with Resources in XAML
Using Local Resources
Merging Dictionaries
From the Same Assembly
From a Different Assembly
Resolving Resources
Working with Resources in Blend
Merging a Resource Dictionary
Creating New Resources
Selecting a Resource for a Property
Using the Resources Panel
Cleaning Up Unused Resources
Using the Pistachio Tool
Styling a Control
Using Implicit Styles
Creating a Hierarchy of Styles
Creating a New Style in Blend
Templating a Control
Copying a Template in Blend
Creating a Custom Easing Function
Making a Control in Blend
Applying a Theme
11 Mastering Expression Blend
What Is Blend, Exactly?
Working as a Tool for Integrators
Editing XAML Markup
When Should You Use User Controls?
Making an Application Blend
Why Is Some Code Not Executed?
Why Does Some Code Fail?
Detecting the Cause of an Exception.
Isolating Code in Design Mode
Creating Design Time Data in Blend
Understanding the Design-Time Data Context
Using Blend Behaviors
Behavior, Trigger, or Action?
Adding a Blend Behavior in Code
Creating a New Blend Behavior
12 Sketching User Experience
Sketching as a Discovery Process
Using Sketching and Wireframing Tools
Other Kinds of Sketching
Discovering SketchFlow
Creating a New SketchFlow Application
Checking the Panels
Creating and Connecting Screens
Building the UI
Creating a Component Screen
Using Sketch Controls
Exploring the Sketch Controls
Creating States and Transitions
Building an Animation
Deploying the SketchFlow Application
Running the Prototype
Giving Feedback
Importing and Managing User Feedback
Importing and Exporting
Importing from Photoshop and Illustrator
Importing from PowerPoint
Exporting to Word
Integrating and Collaborating
Integrating into SharePoint
Integrating into Team Foundation Server
13 Creating Line-of-Business Applications
Preparing the Server-Side
Prerequisites
Preparing the Server-Side Application
Creating the Silverlight Client
Bringing the Client and the Server Together
Adding a Domain Service
Inspecting the Domain Service Class
Inspecting the Metadata
Creating a New Server-Side Query
Working with the Visual Designer
Understanding the DomainDataSource
Calling a Query with Parameter
Sorting the Data
Adding a Pager
Refactoring the Application to MVVM
Adding a View-model
Adapting the XAML Markup
Customizing the Columns
Localizing the User Interface
Adding a RelayCommand Class
Executing the CRUD Operations in Code
Displaying Messages from the View-model
Deleting an Order
Validating the Values.
Filtering the Data.
Notes:
Bibliographic Level Mode of Issuance: Monograph
Description based on publisher supplied metadata and other sources.
ISBN:
9786612819407
9781282819405
1282819402
9780132640640
0132640643
OCLC:
1027199470

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account