Mastering LOB Development for Silverlight 5: A Case Study in Action
Formats:
save 15%!
save 37%!
Free Shipping!
| Also available on: |
|
- Dive straight into Silverlight 5 with the advanced techniques in this expert guide
- Fully up-to-date content for Silverlight 5 and RIA Services SP2
- Complete your knowledge with a gradually built upon case study with this book and e-book
Book Details
Language : EnglishPaperback : 430 pages [ 235mm x 191mm ]
Release Date : February 2012
ISBN : 1849683549
ISBN 13 : 9781849683548
Author(s) : Braulio Díez , Rocío Serrano , José Fernando Almoguera , Pablo Núñez Navarro , Sebastian Stehle, Reyes García Rosado
Topics and Technologies : All Books, Microsoft Development , Enterprise, Microsoft, Microsoft Silverlight
Table of Contents
PrefaceChapter 1: Express Introduction to Silverlight
Chapter 2: Forms and Browsing
Chapter 3: Data Binding
Chapter 4: Architecture
Chapter 5: RIA Services Data Access
Chapter 6: Out of Browser (OOB) Applications
Chapter 7: Testing your LOB Application
Chapter 8: Error Control
Chapter 9: Integration with other Web Applications
Chapter 10: Consuming Web Services
Chapter 11: Security
Index
- Chapter 1: Express Introduction to Silverlight
- Introduction to Silverlight
- Installation
- Silverlight architecture
- Creating the Hello World project
- Creating a new project
- Coding directly into the markup language
- Dragging-and-dropping controls
- Interacting with Code-Behind
- XAML basic concepts
- What is XAML?
- Basic elements for layout definition
- Canvas
- StackPanel
- Grid
- Controls
- LOB application case study: applying what we have learned
- Summary
- Additional resources
- Chapter 2: Forms and Browsing
- Controls definitions
- Creating windows and controls
- UserControl
- Example of UserControl
- Instantiating the control from code (Code-Behind)
- Page control
- Creating modal dialogs
- Example of modal dialogs
- Navigation
- Navigating the Web
- Silverlight Navigation Framework
- Integrating Navigation Framework in the browser
- UriMapper
- Frame
- Creating a sample Navigation Application
- Adding a new page
- Navigation control services
- URI parameters
- Deep Linking
- LOB application case study: applying what we have learnt
- MapView.XAML page
- AdminView.XAML Page
- Modal AdminEditionView.xaml dialog
- Summary
- Additional resources
- Chapter 3: Data Binding
- Understanding DataSource
- Path
- Binding sources
- DataContext
- Change notifications
- Data binding modes
- Introducing the ViewModel
- ViewModel example
- Dependency properties
- Data binding from Code-Behind
- Adding validations
- BindingValidationError
- DataAnnotations
- Converters
- IValueConverter
- LOB application case study: applying what we have learned
- Entity classes
- ObservableCollection
- AdminViewModel object
- Data binding
- Summary
- Additional resources
- Chapter 4: Architecture
- Patterns
- MVVM pattern
- Creating an MVVM-based sample application
- Creating the project structure
- Coding the project
- MVVM Light Toolkit
- ViewModelBase
- RelayCommand
- Messenger
- Managed Extensibilty Framework (MEF)
- MEF definitions
- Parts and contracts
- Composition
- Creating a mock model using MEF
- Solution and folder structure
- LOB application case study: applying what we have learned
- Project structure
- Folder structure
- Main solution structure
- Libraries
- Packt.Libs.Navigation
- Packt.Libs.Threading
- Packt.Libs.Utils
- Packt.Libs.Windows
- Summary
- Additional resources
- Chapter 5: RIA Services Data Access
- Accessing data
- RIA Services pieces
- Creating a Domain Service and consuming it from a Silverlight application
- CRUD
- Read
- Create
- Update
- Delete
- Error control
- Simple data binding
- Validation
- DataAnnotations
- Simple validations
- Custom and shared validations
- Entity-level validations
- Domain Services validations
- Server validations
- Asynchronous validations
- Advanced topics
- Cancelling changes
- Transactions
- Domain Service and partial classes
- Include
- Composition
- Solving the many-to-many relationship issue
- RIA Services and MVVM
- Encapsulating RIA Services in a model
- Context lifetime discussion and model factory
- LOB application case study: applying what we have learned
- Server
- Test
- Model
- Modules
- Summary
- Additional resources
- Chapter 6: Out of Browser (OOB) Applications
- Out of Browser (OOB)
- Executing an application in OOB mode
- Enhancing the experience—tooling up and updating
- In-browser/OOB detection
- Detecting the application installed
- Installing the custom interface
- Uninstalling an OOB application
- Offline installation
- Updates
- Offline work
- How it works
- Breaking the sandbox—trusted applications
- Enabling trusted mode
- Advantages of trusted applications
- Accessing files
- Making calls to COM+
- P/Invoke
- Cross-domain calls
- WebBrowser control
- Real windows
- In-browser trusted applications
- LOB application case study: applying what we have learned
- Summary
- Additional resources
- Chapter 7: Testing your LOB Application
- Types of testing
- Methodologies
- Unit testing with Silverlight
- Testing server code
- Testing client code with MSTest
- Libraries to test Silverlight code
- Testing synchronous client code with Silverlight Unit Testing
- Testing asynchronous client code with Silverlight Unit Testing
- Isolating unit tests via substitutes
- LOB application case study: applying what we have learned
- Summary
- Additional resources
- Chapter 8: Error Control
- Following best practices
- Exception handling
- Getting started
- Try and catch
- The "finally" expression
- Strategies
- Asynchronous patterns
- AsyncCompletedEventArgs
- ExceptionRoutedEventArgs/UnhandledExceptionEventHandler
- Global exception handling
- Understanding the exception types
- Fatal exception
- Boneheaded exceptions
- Vexing exceptions
- Exogenous exceptions
- Logging
- Enterprise application framework
- Architecture
- Practice
- Exception handling
- PostSharp
- Reporting bugs
- Architecture
- Service implementation
- Client implementation
- LOB application case study: applying what we have learned
- Server side
- Client side
- Summary
- Additional resources
- Chapter 9: Integration with other Web Applications
- Page architecture
- Communication between an ASPX page and Silverlight
- Accessing Silverlight from JavaScript
- Exposing methods and functions
- Returning complex data
- Registering a Silverlight object
- Accessing JavaScript from Silverlight
- HtmlPage object
- DOM handling from Silverlight
- HtmlDocument
- HtmlElement
- Interaction between Silverlight and JavaScript
- Address book
- Visual Studio solution
- Login page
- Contact list
- Contact edition
- Calling JavaScript code
- LOB application case study: applying what we have learned
- Summary
- Additional resources
- Chapter 10: Consuming Web Services
- Definitions
- Implementing and consuming a WCF service
- Proposal for sample projects
- Building the server
- Enabling WCF service for Silverlight 4
- Designing the client UI
- Referencing a WCF service from client
- Consuming a WCF service from Silverlight
- Using complex types via WCF
- Consuming a public API web service
- Twitter API
- Starting the Twitter project
- Calling the Twitter API
- Processing JSON format
- LOB application case study: applying what we have learned
- Implementation of the service client
- Summary
- Chapter 11: Security
- Client-side security
- Critical information
- Signing assemblies
- XAP and certificates
- XAP and obfuscation
- Server-side and communication security
- Validations
- Cross-domain calls
- Security in our communications
- Authentication and authorization with RIA Services
- Authentication
- Authorization
- Authentication and authorization in WCF Services
- Protecting communications with SSL
- LOB application case study: applying what we have learned
- Server side
- Client side
- Summary
- Additional resources
Braulio Díez
Rocío Serrano
José Fernando Almoguera
Pablo Núñez Navarro
Sebastian Stehle
Reyes García Rosado
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- Get up and running with coverage of LOB development challenges like building forms, navigation, and service and database access
- Get to grips with the MVVM pattern and how to integrate it with RIA Services
- Dig deeper by implementing both in Browser and Out of Browser trusted applications
- Become fully acquainted with Silverlight and HTML/JavaScript integration
- Understand how to add authentication and authorization to your Silverlight application
- Gain advanced knowledge of error control topics like error notification to TFS
- Become fully equipped with everything an expert developer should know about building Line of Business applications using Silverlight 5
- Take advantage of a complete LOB case study built gradually from start to finish throughout each chapter
Microsoft Silverlight is fully established as a powerful tool for creating and delivering Rich Internet Applications and media experiences on the Web. This book will help you dive straight into utilizing Silverlight 5, which now more than ever is a top choice in the Enterprise for building Business Applications.
“Mastering LOB Development for Silverlight 5: A Case Study in Action” focuses on the development of a complete Silverlight 5 LOB application, helping you to take advantage of the powerful features available along with expert advice.
Fully focused on LOB development, this expert guide takes you from the beginning of designing and implementing a Silverlight 5 LOB application, all the way through to completion. Accompanied by a gradually built upon case study, you will learn about data access via RIA and Web services, architecture with MEF and MVVM applied to LOB development, testing and error control, and much more.
With “Mastering LOB Development for Silverlight 5: A Case Study in Action” in hand, you will be fully equipped to expertly develop your own Silverlight Line of Business application, without dwelling on the basics of Enterprise Silverlight development.
This highly practical, expert level tutorial teaches you to build a Line of Business application with the aid of a case study which gradually builds throughout the book. It also includes a jumpstart chapter for developers coming from other technologies.
If you already have a firm grasp of Silverlight development and are keen to advance your specialist knowledge of Line of Business (LOB) application development, then Mastering LOB Development for Silverlight 5: A Case Study in Action is for you.
If you are a developer with experience of other technologies, you may also find this book useful.

