CONTENTS

Part I: The C# Language

Chapter 1: .NET Architecture

The Relationship of C# to .NET

The Common Language Runtime

A Closer Look at Intermediate Language

Assemblies

.NET Framework Classes

Namespaces

Creating .NET Applications Using C#

The Role of C# in the .NET Enterprise Architecture

Summary

Chapter 2: Core C#

Fundamental C#

Your First C# Program

Variables

Predefined Data Types

Flow Control

Enumerations

Namespaces

The Main() Method

More on Compiling C# Files

Console I/O

Using Comments

The C# Preprocessor Directives

C# Programming Guidelines

Summary

Chapter 3: Objects and Types

Creating and Using Classes

Classes and Structs

Classes

Anonymous Types

Structs

Weak References

Partial Classes

Static Classes

The Object Class

Extension Methods

Summary

Chapter 4: Inheritance

Inheritance

Types of Inheritance

Implementation Inheritance

Modifiers

Interfaces

Summary

Chapter 5: Generics

Generics Overview

Creating Generic Classes

Generics Features

Generic Interfaces

Generic Structs

Generic Methods

Summary

Chapter 6: Arrays and Tuples

Multiple Objects of the Same and Different Types

Simple Arrays

Multidimensional Arrays

Jagged Arrays

Array Class

Arrays as Parameters

Enumerations

Tuples

Structural Comparison

Summary

Chapter 7: Operators and Casts

Operators and Casts

Operators

Type Safety

Comparing Objects for Equality

Operator Overloading

User-Defined Casts

Summary

Chapter 8: Delegates, Lambdas, and Events

Referencing Methods

Delegates

Lambda Expressions

Events

Summary

Chapter 9: Strings and Regular Expressions

Examining System.String

Regular Expressions

Summary

Chapter 10: Collections

Overview

Collection Interfaces and Types

Lists

Queues

Stacks

Linked Lists

Sorted List

Dictionaries

Sets

Observable Collections

Bit Arrays

Concurrent Collections

Performance

Summary

Chapter 11: Language Integrated Query

LINQ Overview

Standard Query Operators

Parallel LINQ

Expression Trees

LINQ Providers

Summary

Chapter 12: Dynamic Language Extensions

Dynamic Language Runtime

The Dynamic Type

Hosting the DLR ScriptRuntime

DynamicObject and ExpandoObject

Summary

Chapter 13: Asynchronous Programming

Why Asynchronous Programming Is Important

Asynchronous Patterns

Foundation of Asynchronous Programming

Error Handling

Cancellation

Summary

Chapter 14: Memory Management and Pointers

Memory Management

Memory Management Under the Hood

Freeing Unmanaged Resources

Unsafe Code

Summary

Chapter 15: Reflection

Manipulating and Inspecting Code at Runtime

Custom Attributes

Using Reflection

Summary

Chapter 16: Errors and Exceptions

Introduction

Exception Classes

Catching Exceptions

User-Defined Exception Classes

Caller Information

Summary

Part II: Visual Studio

Chapter 17: Visual Studio 2012

Working with Visual Studio 2012

Creating a Project

Exploring and Coding a Project

Building a Project

Debugging Your Code

Refactoring Tools

Architecture Tools

Analyzing Applications

Unit Tests

Windows 8, WCF, WF, and More

Summary

Chapter 18: Deployment

Deployment as Part of the Application Life Cycle

Planning for Deployment

Traditional Deployment

ClickOnce

Web Deployment

Windows 8 Apps

Summary

Part III: Foundation

Chapter 19: Assemblies

What are Assemblies?

Application Domains

Shared Assemblies

Configuring .NET Applications

Versioning

Sharing Assemblies Between Different Technologies

Summary

Chapter 20: Diagnostics

Diagnostics Overview

Code Contracts

Tracing

Event Logging

Performance Monitoring

Summary

Chapter 21: Tasks, Threads, and Synchronization

Overview

Parallel Class

Tasks

Cancellation Framework

Thread Pools

The Thread Class

Threading Issues

Synchronization

Timers

Data Flow

Summary

Chapter 22: Security

Introduction

Authentication and Authorization

Encryption

Access Control to Resources

Code Access Security

Distributing Code Using Certificates

Summary

Chapter 23: Interop

.NET and COM

Using a COM Component from a .NET Client

Using a .NET Component from a COM Client

Platform Invoke

Summary

Chapter 24: Manipulating Files and The Registry

File and the Registry

Managing the File System

Moving, Copying, and Deleting Files

Reading and Writing to Files

Mapped Memory Files

Reading Drive Information

File Security

Reading and Writing to the Registry

Reading and Writing to Isolated Storage

Summary

Chapter 25: Transactions

Introduction

Overview

Database and Entity Classes

Traditional Transactions

System.Transactions

Dependent Transactions

Isolation Level

Custom Resource Managers

File System Transactions

Summary

Chapter 26: Networking

Networking

The WebClient Class

WebRequest and WebResponse Classes

Displaying Output As an HTML Page

Utility Classes

Lower-Level Protocols

Summary

Chapter 27: Windows Services

What Is a Windows Service?

Windows Services Architecture

Creating a Windows Service Program

Monitoring and Controlling Windows Services

Troubleshooting and Event Logging

Summary

Chapter 28: Localization?

Global Markets

Namespace System.Globalization

Resources

Windows Forms Localization Using Visual Studio

Localization with ASP.NET Web Forms

Localization with WPF

A Custom Resource Reader

Creating Custom Cultures

Localization with Windows Store Apps

Summary

Chapter 29: Core XAML

Uses of XAML

XAML Foundation

Dependency Properties

Bubbling and Tunneling Events

Attached Properties

Markup Extensions

Reading and Writing XAML

Summary

Chapter 30: Managed Extensibility Framework

Introduction

MEF Architecture

Defining Contracts

Exporting Parts

Importing Parts

Containers and Export Providers

Catalogs

Summary

Chapter 31: Windows Runtime

Overview

Windows Runtime Components

Windows 8 Apps

The Life Cycle of Applications

Application Settings

Webcam Capabilities

Summary

Part IV: Data

Chapter 32: Core ADO.NET

ADO.NET Overview

Using Database Connections

Commands

Fast Data Access: The Data Reader

Asynchronous Data Access: Using Task and Await

Managing Data and Relationships: The DataSet Class

XML Schemas: Generating Code with XSD

Populating a DataSet

Persisting DataSet Changes

Working with ADO.NET

Summary

Chapter 33: ADO.NET Entity Framework

Programming with the Entity Framework

Entity Framework Mapping

Entities

Object Context

Relationships

Querying Data

Writing Data to the Database

Using POCO Objects

Using the Code First Programming Model

Summary

Chapter 34: Manipulating XML

XML

XML Standards Support in .NET

Introducing the System.Xml Namespace

Using System.Xml Classes

Reading and Writing Streamed XML

Using the DOM in .NET

Using XPathNavigators

XML and ADO.NET

Serializing Objects in XML

LINQ to XML and .NET

Working with Different XML Objects

Using LINQ to Query XML Documents

More Query Techniques for XML Documents

Summary

Part V: Presentation

Chapter 35: Core WPF

Understanding WPF

Shapes

Geometry

Transformation

Brushes

Controls

Layout

Styles and Resources

Triggers

Templates

Animations

Visual State Manager

3-D

Summary

Chapter 36: Business Applications with WPF

Introduction

Menu and Ribbon Controls

Commanding

Data Binding

TreeView

DataGrid

Summary

Chapter 37: Creating Documents with WPF

Introduction

Text Elements

Flow Documents

Fixed Documents

XPS Documents

Printing

Summary

Chapter 38: Windows Store APPS

Overview

Windows 8 Modern UI Design

Sample Application Core Functionality

App Bars

Launching and Navigation

Layout Changes

Storage

Pickers

Sharing Contract

Tiles

Summary

Chapter 39: Core ASP.NET

.NET Frameworks for Web Applications

Web Technologies

Hosting and Configuration

Handlers and Modules

Global Application Class

Request and Response

State Management

Membership and Roles

Summary

Chapter 40: ASP.NET Web Forms

Overview

ASPX Page Model

Master Pages

Navigation

Validating User Input

Accessing Data

Security

Ajax

Summary

Chapter 41: ASP.NET MVC

ASP.NET MVC Overview

Defining Routes

Creating Controllers

Creating Views

Submitting Data from the Client

HTML Helpers

Creating a Data-Driven Application

Action Filters

Authentication and Authorization

ASP.NET Web API

Summary

Chapter 42: ASP.NET Dynamic Data

Overview

Creating Dynamic Data Web Applications

Customizing Dynamic Data Websites

Summary

Part VI: Communication

Chapter 43: Windows Communication Foundation

WCF Overview

Creating a Simple Service and Client

Contracts

Service Behaviors

Binding

Hosting

Clients

Duplex Communication

Routing

Summary

Chapter 44: WCF Data Services

Overview

Custom Hosting with CLR Objects

HTTP Client Application

Queries with URLs

Using WCF Data Services with the ADO.NET Entity Framework

Summary

Chapter 45: Windows Workflow Foundation

A Workflow Overview

Hello World

Activities

Custom Activities

Workflows

Summary

Chapter 46: Peer-to-Peer Networking

Peer-to-Peer Networking Overview

Peer Name Resolution Protocol (PNRP)

Building P2P Applications

Summary

Chapter 47: Message Queuing

Overview

Message Queuing Products

Message Queuing Architecture

Message Queuing Administrative Tools

Programming Message Queuing

Course Order Application

Receiving Results

Transactional Queues

Message Queuing with WCF

Message Queue Installation

Summary

Introduction

Advertisements

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

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