Accelerated Silverlight 2

Jeff Scanlon

Author Jeff Scanlon assumes you’re already comfortable with the basics of .NET coding and with WPF, and they help you build on your existing knowledge to make your journey to Silverlight 2 proficiency as quick and painless as possible.

  • Published on Nov 01 2008
  • Pages 368
  • Downloaded 1
  • Type PDF
Download
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 8.4k
  • 0

Introduction:

Introduction

Accelerated Silverlight 2 will get you up to speed with the latest version of Silverlight quickly and efficiently. Author Jeff Scanlon assumes you’re already comfortable with the basics of .NET coding and with WPF, and they help you build on your existing knowledge to make your journey to Silverlight 2 proficiency as quick and painless as possible. Where coding techniques are similar to other, more established, areas of .NET, they’ll say so. Likewise, where there’s a syntax or conceptual “gotcha” that you’re existing coding habits will walk you into, they’ll point that out, too.

You’ll find fast–track coverage of all the most important elements of the Silverlight 2 technology ranging from XAML to standard controls, from dealing with media to networking, from testing to deployment. Two fully worked sample applications conclude your path to Silverlight 2 mastery because nothing reinforces your understanding of how concepts fit together as much as looking at finished code.

The book is based on the assumption that readers will already be very comfortable with the workings of the .NET Framework. Knowledge of Expression Blend is useful, but the authors don’t assume that you’re a master of it. You’ll learn the Blend techniques that you need to know as you go along. By the end of the book, the authors will have provided you with a sound, concise, path to mastery of Silverlight 2.

What you’ll learn

  • Emigrate your existing .NET skills to Silverlight 2 as quickly as possible.
  • Learn everything you need to know to start developing quality Silverlight 2 applications with confidence.
  • Explore techniques and best practices in code–heavy case studies that you can relate to.

Who is this book for

This book is for .NET developers, whether they are already using .NET 3.5 or are in the process of migrating up from .NET 2.0. The book aims to ease people’s migration paths as much as possible. The authors include notes to highlight important features of .NET 3.5 that people need to be aware of and also to highlight where Silverlight’s working and syntax differs substantially than that of WPF.

Author Information

Jeff Scanlon is an independent Microsoft consultant with extensive experience developing software using a variety of technologies. He designs and implements software across all layers with a focus on web–based applications. Jeff has led developer training sessions on software engineering practices and introductions to new technologies at nearly every company he has worked. His current work includes prototyping applications using technologies such as Silverlight, Windows Communication Foundation, and ASP.NET. His writing includes Professional Java JDK 6 Edition and its updated edition and has written articles on .NET in Software Development magazine. He holds several Microsoft certifications and a bachelor of science degree in computer science.

What is in this book

Contents 

About the Author
About the Technical Reviewer
Acknowledgments
Introduction

CHAPTER 1 Introducing Silverlight

                Cross-Platform Frameworks
                                Qt
                                The Java Platform 
                                Flash/Flex  
                                Silverlight  
                The History of Silverlight
                Creating Your First Application
                Summary    

CHAPTER 2  Getting to Know XAML

                Introducing XAML  
                                Namespaces  
                                Dependency Property System
                                Type Converters  
                                Markup Extensions
                More About Silverlight Applications
                Events in Silverlight 
                Summary

CHAPTER 3 Creating User Interfaces

                Building Blocks
                                DependencyObject
                                UIElement
                                FrameworkElement
                Positioning Objects on Screen
                                Canvas
                                StackPanel
                                Grid
                Customizing Silverlight Controls
                                ContentControl
                                Border  
                                The Button Controls
                                TextBlock
                                TextBox
                                ItemsControl
                                Popup
                                ToolTipService
                                RangeBase
                                ScrollViewer
                Incorporating SDK Controls
                                GridSplitter
                                Calendar and DatePicker
                                TabControl
                Implementing Navigation
                Summary

CHAPTER 4 Network Communication

                Enabling Cross-Domain Communication                
                Using Services
                                Creating and Using a Client Service Proxy
                                Communicating Over HTTP Directly
                                The HttpWebRequest Class
                                Raw Network Communication
                                The Socket Class 
                                The SocketAsyncEventArgs Class
                                Using the Socket Class
                Considerations for Using Networking     
                Summary     

CHAPTER 5 Working with Data

                Displaying Data    
                                Data Binding   
                                Introducing the DataGrid     
                Processing Data   
                                Parsing XML   
                                Serializing XML 
                                Using LINQ   
                Saving State on the Client
                Summary     

CHAPTER 6 Working with Media

                Images    
                                Multiscale Images (Deep Zoom)     
                Media (Video and Audio)
                                Timeline Markers
                Silverlight Streaming 
                                Preparing an Application     
                Packaging Images and Media18
                Summary

CHAPTER 7 Extending the User Interface                     

                2D Graphics   
                Using Geometries     
                Using Shapes  
                Transforms   
                                Translation   
                                Rotation  
                                Skewing 
                                Scaling  
                                Arbitrary Linear Transforms
                                Combining Multiple Transformations      
                Brushes     
                                The SolidColorBrush
                                The Tile Brushes
                                The Gradient Brushes
                Summary    

CHAPTER 8 Styling and Templating                                  

                Using Styles  
                Using Control Templates
                                Creating a Control Template
                                Control Templates for Other Controls     
                                Developing a Templated Control     
                Summary    

CHAPTER 9 Animation  

                Animation Basics   
                                Timelines   
                Storyboards and Animation
                                From/To/By Animations     
                                Keyframe Animations
                Animating with Expression Blend
                Summary

CHAPTER 10 Dynamic Languages and the Browser     

                Introducing Dynamic Languages
                                The DynamicApplication Class     
                                Creating a Dynamic Language Application     
                                Executing a Dynamic Language Application    
                                Developing with Dynamic Languages     
                Interoperating with the Browser
                Summary   

CHAPTER  11 Security  

                Security in the CoreCLR
                Application-Level Security
                                Securing Information in Transit     
                                Securing Information with Cryptography   
                Division of Responsibility    
                Summary    

CHAPTER 12 Testing and Debugging

                Testing     
                                Unit Testing   
                                Automated User Interface Testing    
                Debugging   
                                The Debugging Process
                                Conditional Compilation
                                Debugging with Visual Studio
                                Handling Unhandled Exceptions    
                Summary     

CHAPTER 13 Packaging and Deploying Silverlight Applications   

                Client Considerations 
                Silverlight Deployment Packages
                Hosting Silverlight on a Web Page
                                Silverlight Versioning
                                Custom Initialization Parameters    
                                Resources    
                Silverlight and the Build Process
                Silverlight Assemblies
                Summary    

CHAPTER 14 Advanced Topics 

                Threading    
                                The Thread Class
                                Creating and Managing Threads     
                                The Dispatcher  
                                The BackgroundWorker Class
                                Working with Shared Data
                Using Timers  
                                The DispatcherTimer
                                The SystemThreading Timer     
                Dynamically Loading Applications
                Summary     

CHAPTER 15 Case Study: Campus Explorer    

                Application Features  
                Design of the Application 
                                User Interface Design
                                Data Representation
                                Packaging of the Application
                Application Implementation
                                Helper Methods 
                                XAML Organization 
                                MainPage    
                                Map.xaml    
                Summary    

INDEX

Note:

Mindcracker Network accepts no liability for providing the customer with the hard copy of the book purchased. Mindcracker is not responsible for any dispute relating to the above. All eBooks listed in this section are in "PDF" Format. Contact [email protected] for further assistant.