Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $49.99
Standard view
Full view
of .
Look up keyword or section
Like this
7Activity

Table Of Contents

Part I: Silverlight Fundamentals for ASP.NET Developers
Chapter 3: XAML Condensed
Uphill Struggle
Rich Client or Web Reach?
Silverlight Steps In
The Impact of Silverlight on Your Existing ASP.NET Real Estate
What You Should Still Do in ASP.NET
The Development Environment Overview
Summary
Client/Server Architecture Overview
Platforms
The Server
The Client
Architecture
Presentation Core
Installed Files
ASP.NET Integration
ASP.NET Composite Controls
Using ASP.NET Application Services
Communicating with ASP.NET from Silverlight
Dynamic Generation of XAML from the Server
Using the ASP.NET Server Controls for Silverlight
Application Life Cycle
Updating Silverlight
Why All ASP.NET Developers Should Know the Basics
XAML Syntax and Terminology
Namespaces
White Space
Object and Property Elements
Type Converters
Markup Extensions
Attached Properties
Basic Drawing
The Code-Behind
Dynamically Loading XAML
Available Tools
Piecing It All Together
How a Silverlight Application Is Composed
Packaging a Silverlight Application
System.Windows.Application
Application Instantiation
A Basic Silverlight Page
JavaScript — How Much You Need to Know
JavaScript — The Basics
Object Model
Adding JavaScript to a Page
Variable Usage
Functions
Conditional Statements
Handling Events
DOM Manipulation
The Silverlight Object Model
DependencyObject, UIElement, and FrameworkElement
Walking the Tree
Events, Threading, and Browser Interaction
Events
Threading and Asynchrony
Browser Interaction
On-Demand XAP Loading
System.Net.WebClient
Part II: Developing ASP.NET Applications with Silverlight
Expression Suite — A Whirlwind Tour
Expression Web
Expression Blend
Expression Design
Expression Media
Expression Encoder
Expression Studio
ASP.NET versus Silverlight Layout
Layout Options in ASP.NET
Layout Options in Silverlight
Full-Screen Support
Localization
Introduction to Silverlight Controls
Defining Controls in XAML
Handling Control Events Declaratively
Handling Control Events Programmatically
User Input Controls
The TextBlock Control
The TextBox Control
The PasswordBox Control
The Button Control
The HyperlinkButton Control
The CheckBox Control
The RadioButton Control
The RepeatButton Control
The Slider Control
The Calendar Control
The DatePicker Control
The ToolTip Control
Items Controls
The ListBox Control
The DataGrid Control
The ScrollViewer Control
The ComboBox Control
The Popup Control
Media Controls
The Image Control
The MediaElement Control
Displaying Download Progress with the ProgressBar Control
The MultiScaleImage Control
Silverlight Toolkit Controls
AutoCompleteBox Control
WrapPanel Control
TreeView Control
Chart Control
Styles
Applying Inline Styles
Specifying Styles in a Central Location
Templating
ControlTemplate
ImplicitStyleManager
The Silverlight Interaction Context
Working with UIElements Events
Interacting with Input Devices
Getting the Most from Input Devices
Navigation
Silverlight Navigation in the ASP.NET World
Single Plug-in Navigation
Multiple Plug-in Navigation
Silverlight Networking and Communication Features
What Type of Data Can Silverlight Access and Process?
Supported Domains and URLs
Communication Options
Data-Processing Options
Cross-Domain Support
Flash Cross-Domain Policy Files
Silverlight Cross-Domain Policy Files
Creating Services for Silverlight
Creating a WCF Service for Silverlight
Creating an ASP.NET Web Service for Silverlight
Calling Services with Silverlight
Calling a WCF Service
Calling an ASP.NET Web Service
Calling REST APIs
Making RESTful Calls in Silverlight
Processing XML Data
Using Sockets to Communicate over TCP
Using WCF Polling Duplex Services to Communicate over HTTP
Data Framework
Exploring the Namespaces
Is That All?
Data-Binding Essentials
Binding 101
Binding in Practice
Conversions
Dependency Properties
Performance Considerations
Retrieving and Storing Data
Working with Data Repositories
Caching
Data Controls
Data Templates
DataGrid
Manipulating Data
Traditional Handling
LINQ
LINQ to XML
Validation
Input Validation
Using Dynamic Languages
Data-Binding Validation
User Controls
Understanding User Controls
Creating User Controls
Customizing Current Controls
Understanding Visual Customization
Customizing with Styles
Customizing with Skins
Putting Everything Together
Custom Controls
What Is a Custom Control?
Your First Custom Control
Parts Model
You’re under Attack!
The Security Model
Working in a Sandbox
Cross-Domain Security
Integrating with ASP.NET Security
Obfuscation
Cryptography
First Steps
Embedding Audio and Video in Your ASP.NET Application
Finer Control
Controlling Playback
Controlling Playback from ASP.NET
Timeline Markers
SetSource
Streaming
Breathing Life into ASP.NET
Before Silverlight
Silverlight-Enabled Graphics and Animation
Graphics in Silverlight
The Shape Class
Path and Geometry Objects
Painting with Brush Objects
Transforms
Image Handling
Image and BitmapImage
Advanced Panning and Zooming with Deep Zoom
Animating Your User Interface
Timeline
From/To/By Animations
Key Frame Animations
Is There a Problem?
Common Types of Problems
Your Toolkit
Visual Studio
Debugging Your Application
HTTP Tracers
Red Gate’s Reflector
Reducing the Likelihood of Problems
Unit Testing
UI Testing
Exception Handling
Performance Bottlenecks
Developers versus Designers
High Processor Usage
Low Frame Rate
Unresponsive UI
Instrumentation
Monitoring the Frame Rate
Manual Timing
Improving Performance
Animation
Text
Game Loops
Windowless
Transparent Backgrounds
Opacity and Visibility
Full-Screen Mode
Height and Width
XAML versus Images
Threading
JavaScript versus Managed Code
Element Reuse
Layouts
Reduce Chatty Applications
Runtime Performance
Index
P. 1
Professional Silverlight 2 for ASP.NET Developers

Professional Silverlight 2 for ASP.NET Developers

Ratings: (0)|Views: 842|Likes:
Published by Wiley
Our overarching goal in writing this book was to give ASP.NETdevelopers the power to quickly and easily create visually stunningInternet applications, coupled with rich interactivity to fullyimmerse the user in a new online experience. Silverlight gives youeverything you need to do just this, and in serious style!As well as taking you through each feature that ships withSilverlight, this book will make sure you’re able to debug,troubleshoot, and performance-tune your Silverlight applications,as well as seamlessly hook into your existing ASP.NET architectureand code base.This book is aimed at .NET developers and architects who want toquickly get up to speed with all that Silverlight 2 has tooffer.As well as covering the breadth of features that Silverlight 2provides, this book makes a point of demonstrating where necessaryhow the particular feature can be integrated tightly with theASP.NET host application. An example is in Chapter 7, where theASP.NET Profile service is utilized directly from withinSilverlight to obtain user-specific data.It’s fair to say that although this book is aimed atASP.NET developers, it covers all of the salient features ofSilverlight 2 to the degree that it’s a useful programmingresource for developers not using ASP.NET also.If you’re fresh to .NET development, however, you mightwant to check out a beginning .NET book first, to help you overcomethe syntax and set-up queries when learning a new language.Otherwise, take a deep breath and dive in!This book covers the full feature set of Silverlight 2, divinginto each of the subject areas to give depth and breadth coverage.As well as teaching you about the component parts of theSilverlight API, the book also covers debugging, troubleshooting,and performance-tuning your Silverlight applications, arming youwith all the skills and knowledge you’ll need to createadvanced Silverlight-based applications in record time.Importantly, this book covers the integration points betweenASP.NET and Silverlight, taking you through the differenttechniques you can use to seamlessly augment your existing or newASP.NET web sites with the power of Silverlight.If you want to program in Silverlight and potentially useASP.NET as the host, then this book covers it all.The book is split into two distinct parts. Part I is titled“Silverlight Fundamentals for ASP.NET Developers,” andPart II is titled “Developing ASP.NET Applications withSilverlight.” Part I is intended to give you grounding inwhat Silverlight is as a technology and how it fits into theWeb-based landscape. The component pieces of a Silverlightapplication are also laid out at a high level, and any knowledgerequired before putting an application together is explained.Part II is written to give you depth of knowledge across theSilverlight feature-set and show you how to leverage the power ofboth Silverlight and ASP.NET to create compelling applications.A brief synopsis of the content follows:“Silverlight in a Nutshell”—This willteach you at a high level what Silverlight is and how it can helpyou deliver engaging, immersive web applications. DifferentiatingSilverlight from other Web-based technologies is also covered here,and a description of the required development environment isprovided. In short, after reading this, you’ll be able todescribe Silverlight and explain why you’d want to use it andwhat gives it the edge over the competition.“Silverlight Architecture”—Silverlightallows you to rapidly build a well-rounded application with a greatuser interface, but if you encounter any problems duringdevelopment, it is going to be important for you to understand theunderlying architecture upon which you are developing. Thisoutlines the core features of Silverlight 2 and guides you aroundthe building blocks of this highly flexible framework, payingparticular attention throughout to your ASP.NET heritage.“XAML Condensed”—Quickly getting up tospeed with XAML is what this is all about, helping you brush asidethe syntax queries an
Our overarching goal in writing this book was to give ASP.NETdevelopers the power to quickly and easily create visually stunningInternet applications, coupled with rich interactivity to fullyimmerse the user in a new online experience. Silverlight gives youeverything you need to do just this, and in serious style!As well as taking you through each feature that ships withSilverlight, this book will make sure you’re able to debug,troubleshoot, and performance-tune your Silverlight applications,as well as seamlessly hook into your existing ASP.NET architectureand code base.This book is aimed at .NET developers and architects who want toquickly get up to speed with all that Silverlight 2 has tooffer.As well as covering the breadth of features that Silverlight 2provides, this book makes a point of demonstrating where necessaryhow the particular feature can be integrated tightly with theASP.NET host application. An example is in Chapter 7, where theASP.NET Profile service is utilized directly from withinSilverlight to obtain user-specific data.It’s fair to say that although this book is aimed atASP.NET developers, it covers all of the salient features ofSilverlight 2 to the degree that it’s a useful programmingresource for developers not using ASP.NET also.If you’re fresh to .NET development, however, you mightwant to check out a beginning .NET book first, to help you overcomethe syntax and set-up queries when learning a new language.Otherwise, take a deep breath and dive in!This book covers the full feature set of Silverlight 2, divinginto each of the subject areas to give depth and breadth coverage.As well as teaching you about the component parts of theSilverlight API, the book also covers debugging, troubleshooting,and performance-tuning your Silverlight applications, arming youwith all the skills and knowledge you’ll need to createadvanced Silverlight-based applications in record time.Importantly, this book covers the integration points betweenASP.NET and Silverlight, taking you through the differenttechniques you can use to seamlessly augment your existing or newASP.NET web sites with the power of Silverlight.If you want to program in Silverlight and potentially useASP.NET as the host, then this book covers it all.The book is split into two distinct parts. Part I is titled“Silverlight Fundamentals for ASP.NET Developers,” andPart II is titled “Developing ASP.NET Applications withSilverlight.” Part I is intended to give you grounding inwhat Silverlight is as a technology and how it fits into theWeb-based landscape. The component pieces of a Silverlightapplication are also laid out at a high level, and any knowledgerequired before putting an application together is explained.Part II is written to give you depth of knowledge across theSilverlight feature-set and show you how to leverage the power ofboth Silverlight and ASP.NET to create compelling applications.A brief synopsis of the content follows:“Silverlight in a Nutshell”—This willteach you at a high level what Silverlight is and how it can helpyou deliver engaging, immersive web applications. DifferentiatingSilverlight from other Web-based technologies is also covered here,and a description of the required development environment isprovided. In short, after reading this, you’ll be able todescribe Silverlight and explain why you’d want to use it andwhat gives it the edge over the competition.“Silverlight Architecture”—Silverlightallows you to rapidly build a well-rounded application with a greatuser interface, but if you encounter any problems duringdevelopment, it is going to be important for you to understand theunderlying architecture upon which you are developing. Thisoutlines the core features of Silverlight 2 and guides you aroundthe building blocks of this highly flexible framework, payingparticular attention throughout to your ASP.NET heritage.“XAML Condensed”—Quickly getting up tospeed with XAML is what this is all about, helping you brush asidethe syntax queries an

More info:

Publish date: Apr 15, 2009
Added to Scribd: Feb 05, 2010
Copyright:Traditional Copyright: All rights reservedISBN:9780470478172
List Price: $49.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
This book can be read on up to 6 mobile devices.
See more
See less

02/17/2015

676

9780470478172

$49.99

USD

You're Reading a Free Preview
Pages 14 to 257 are not shown in this preview.
You're Reading a Free Preview
Pages 271 to 357 are not shown in this preview.
You're Reading a Free Preview
Pages 371 to 417 are not shown in this preview.
You're Reading a Free Preview
Pages 431 to 676 are not shown in this preview.

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Evgeniy Vinnikov liked this
Sanjeev Singh liked this
Subhadip Das liked this
Ajay Bramhe liked this
amiyanayak1112 liked this

You're Reading a Free Preview

Download
scribd