Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover
Title Page
Copyright
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
CHAPTER 1: Introducing WPF and XAML
The XAML Syntax
Namespaces and Root Elements
Objects and Common Elements
The Code Behind
Attached Properties
Introduction to WPF
WPF Architecture
WPF 4 Tools
Summary
CHAPTER 2: Sample Application: Overview and Getting Started
Requirements
Tools and Software
Icons and Templates
Third-Party Library and Controls
Application Overview
Application Architecture
User Stories
Domain Model
Database Schema
Application Configuration
Visual Studio Solution
Resources and Third-Party Components
Summary
CHAPTER 3: Microsoft Expression Blend
Overview
Blend Workspace
Workspace Panels
Drawing
Shapes and Objects
Text and Text Effects
Animations
Styling and Templating Controls
Modifying Properties
Creating Styles
Design-Time Data
SketchFlow and the Mockups
Summary
CHAPTER 4: Creating the Views
Overview
Creating a Mock-up and Prototyping
The Main Screen
The List Views
The Details Views
The View Models
Base ViewModel Implementation
Details ViewModel
List ViewModel
Navigation Between the Views
The App.xaml File
Wrapping Up with IoC
Inversion of Control
A Classic Implementation, Navigation Service
Summary
CHAPTER 5: Adding Controls to the Views
Resources and Styles
Differences Between Static and Dynamic Resources
The Resource Dictionary
Controls' Styles
Creating the Views
Login View
Details View
List View
User Controls for the Dashboard
The Dashboard (MainView)
Add Features to the Application
Custom Effects
Summary
CHAPTER 6: The Entity Framework
Object Relational Mappers
Active Record Pattern
Code First Development
The TimeTracker Domain
Mapping the Domain Model
The TimeTracker Data Layer
The Unit of Work
The Repository
Summary
CHAPTER 7: Data Binding
WPF Data Binding Engine
The INotifyPropertyChanged Interface
Binding Direction
The IValueConverter Interface
DataTemplate
UI Validation
Binding Syntax
ViewModels
A Generic ViewModel Validator
Employee ViewModels
Additional ViewModels and Properties
Summary
CHAPTER 8: Command Handling and Event Routing
Introduction to Commands
The Command Pattern
Command in WPF
Interactive Command, Listen for Changes
TimeTracker Commands
The EmployeeListView
Summary
CHAPTER 9: Testing with TDD
Test Driven Development
Code Coverage
TDD with MSTest
Code Coverage with Visual Studio
TDD: the TimeTracker Application
Test the Business (Domain) Layer
Testing the Data Layer
Testing the UI
Summary
CHAPTER 10: Reports with Microsoft Reporting Services
SQL Server Reporting services
Configure SQL Server Reporting services
TimeTracker Reports
First Report: EmployeeListReport
EmployeeDetailsReport
Additional Reports
Hosting the Reports in a WPF Control
Display the Report in a WPF View
Load a List of Employees Report
Load a Detailed Report
Summary
CHAPTER 11: Deploy the Application Using ClickOnce
ClickOnce Deployment
ClickOnce Security
Publishing Options
Updates
Application Files and Prerequisites
Additional Options
Deploy the TimeTracker Application
Create a Temporary Certificate
Security
Publish TimeTracker
Summary
CHAPTER 12: Design Patterns in WPF
Patterns for the UI
Model View Presenter
Model View ViewModel
Summary
CHAPTER 13: WPF and Multithreading
Writing Multithreading Code in .NET
The Thread Object
Asynchronous Operations
The Task Object
The Background Worker Component
Summary
CHAPTER 14: Interacting with WCF
Introduction to WCF
Brief Overview of WCF Architecture
A Sample WCF Project
The WCF Test Client Utility
Customize the Sample Service
Test the Sample Service
Conclusion and Considerations
Integrate WCF into the TimeTracker Application
WCF Data Service
Navigate the Data using oData Queries
Integrate the WCF Data Service in WPF
WCF Security
Security Requirements
Bindings
Provide the Credentials
Authenticate and Authorize the Code
Summary
Index
← Prev
Back
Next →
← Prev
Back
Next →