Contents

About the Authors

About the Techincal reviewer

Acknowledgments

Introduction

image Part I: Getting Started

image 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

image 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

image Part II: Laying the Groundwork

image 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

image 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

image 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

image 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

image 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

image Part III: Completing the User Interface Layer

image 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

image 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

image 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

image 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 Store

Windows Dev Center

Summary

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.192.120