Home Page Icon
Home Page
Table of Contents for
Part I: Getting Started
Close
Part I: Getting Started
by Lori Lalonde, Buddy James
Pro XAML with C#: Application Development Strategies
Cover
Title
Copyright
Contents at a Glance
Contents
About the Authors
About the Techincal reviewer
Acknowledgments
Introduction
Part I: Getting Started
Chapter 1: What Is XAML?
A Brief History of Windows User Interface Design
Extensible Application Markup Language
Separation of User Interface Concerns
Declarative vs. Imperative Programming
To Code-Behind or Not to Code-Behind?
The MVVM Design Pattern
Summary
Chapter 2: Software Craftsmanship
Software as an Art and a Science
SOLID Object-Oriented Design
To Unit Test or Not to Unit Test?
Test-Driven Development
Meet the Team
The Development Manager
The Business Analyst
The Junior Developer
The Guru
The DBA
The First Team Design Meeting
Scrum Agile Methodologies
How to “Talk the Talk” When It Comes to Gathering Requirements
User Stories and How to Create Them
Summary
Part II: Laying the Groundwork
Chapter 3: Domain-Driven Design
Introducing Domain-Driven Design
What Is Domain-Driven Design?
Before Domain-Driven Design
Business User? Who’s That?
The Domain Model in Domain-Driven Design
The Source Code Is the Design Documentation
Domain Entities
Domain Aggregate Roots
Domain Value Objects
Domain Services
Domain Events
CQRS: Command Query Responsibility Segregation
Summary
Chapter 4: Design Patterns
Architecture Types
Layered Architecture
User Interface Layer
Presentation Layer
Service Layer
Domain Layer
Infrastructure Layer
Design Patterns Used Throughout the Book
The Repository Pattern
The Adapter Pattern
The MVVM Design Pattern
ICommand: The Cure for the Common Event Handler
Summary
Chapter 5: Unit Testing
Debugging Strategies
Defensive Programming
System Testing
Regression Testing
User Acceptance Testing
Unit Tests to the Rescue
Unit Testing Basics
Characteristics of a Great Unit Test
Automated Unit Test Execution
Unit Test Execution Speed
K.I.S.S. Your Unit Tests
All Team Members Should Be Able to Execute Unit Tests
Great Unit Tests Survive the Test of Time
Unit Test Fixtures
Unit Testing Frameworks
NUnit
Microsoft Unit Testing Project Template
Summary
Chapter 6: Advanced Unit Testing and Test-Driven Development
Test Fixtures Are Classes Too
Use Inheritance to Avoid Duplicate Code
Unit Testing Classes That Have Dependencies
Dealing with Dependencies
Repository Pattern
Stubs
Mock Objects
Using the Moq Framework
Using the Mock Class to Set Up Your Dependencies
Design by Testing: Test-Driven Development
Summary
Chapter 7: Exception Handling and Logging
Enterprise Library Exception Handling Application Block
Installing the Exception Handling Application Block
Installing the Enterprise Configuration Console
Configuring Policies, Exception Types, and Handlers
Modifying the Code
Configuring the Logging Exception Handler
Logging Options for Windows Device Apps
Visual Studio Application Insights
Summary
Part III: Completing the User Interface Layer
Chapter 8: The WPF User Interface
The Basics
Application Class
Windows, Pages, and User Controls
The Code-Behind File
First Look
XAML Designer
Container Controls
Layouts
Resources and Styles
Resources
Styles
Data Binding
XAML Markup
ViewModel and INotifyPropertyChanged
DataContext
Dependency Properties
Summary
Chapter 9: The Windows Phone User Interface
The Basics
Windows Phone 8.1 SDK
Multiresolution Support
Scaling
Themes, Resources, and Styles
Background and Accent Colors
Theme Resources
Predefined Styles
Application Architecture
Page Orientation
Navigation
Caching Pages
Templates
DataTemplate
ItemTemplate
Displaying Collections
ListView
GridView
Presentation Controls
Hub
Pivot
Application Bar
Summary
Chapter 10: The Windows User Interface
The Basics
Windows Software Development Kit
Developer License
Basic Design Principles
Gestures
Managing Layouts
Visual States
Storyboards and Animations
OnSizeChanged
Searching Data
Flyouts
The Basics
Usage and Syntax
Programmatic Display
Flyout Styles
Contracts
Share Contract
Settings Contract
Summary
Chapter 11: Deploying and Maintaining Your Application
Version Control
The Basics
Choosing a Version Control System
Continuous Integration
“Johnny Broke the Build!”
Configure a CI Build
Queue a Build
Deploying WPF Applications Using ClickOnce
Publishing Apps to the Windows StoreWindows Dev Center
Windows Dev Center
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Introduction
Next
Next Chapter
Chapter 1: What Is XAML?
PART I
Getting Started
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset