MCAD/MCSD Visual C#.NET

MCAD/MCSD Visual C#.NET
作 者: Kenneth Lind Marj Rempel
出版社: McGraw-Hill Companies
丛编项: 专业认证考试丛书
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: 暂缺
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《MCAD/MCSD Visual C#.NET》作者简介

内容简介

本书是美国著名出版商McGraw-Hill出版的畅销认证系列丛书All-in-One之一,主要介绍了与MCAD/MCSD Visual C# .NET认证考试相关的最新考试信息。并介绍了在MCAD/MCSD Visual C# .NET认证考试70-315、70-316和70-320中的资料。读者可以学习如何使用Visual C# .NET和Visual Studio.NET编程、创建Windows窗体并与控件协同工作等内容。本书在每一章的开始都会给出考试的重点内容,并在讨论过程中介绍考试技巧,且每章的结尾都有精心设计的大量练习题,为应试者提供极具价值的指导与参考。本书是一本全面、权威的考试用书,适用于MCAD/MCSD Visual C# .NET认证考试的备考者及相关的技术人员。

图书目录

PartI C#:The Language

Chapter 1 Introduction to C#.NET and the .NEPartI C#:The Language

Chapter 1 Introduction to C#.NET and the .NET Platform

Overview of .NET

So,What Is .NET?

Application Development in .NET

The .NET Platform

The .NET Framework

The CLS-Common Language Specifications

The CLR-Common Language Runtime

MSIL-Microsoft Intermediate Language

The BCL-Base Class Library

The .NET Languages

Microsoft C# .NET

Basic C# Concepts

Startup

Declarations

Arrays

Access

Scopes

Object-Oriented Programming Concepts

A Brief History of Object-Oriented Programming

Just What Is an Object?

Structs Explained

The convert Routine Using an Object-Oriented Approach

Properties and Methods of an Object

Classes-Putting It All Together

Instance Data vs. Class Data

Static Methods

Abstraction and Encapsulation

Summary

Test Questions

Test Answers

Chapter 2 Variables and Program Structure

Variables

Value-Type Variables

Reference-Type Variables

Memory and Variables

Variable Declarations

Value-Type Variables on the Stack

The Parts of Reference-Type Variables

Type Conversions

Implicit Conversions

Conversion Methods

Boxing and Unboxing

Memory Management

Creating and Destroying Objects

Cleaning Up the Objects

The Structure of a C# Class File

Namespaces and the Using Directive

Coding Conventions

Lexical Structure

Comments

Identifiers

Constants and Read-Only Variables

Keywords

Literals

Operators

Statements and Expressions

Flow Control

Preprocessor Directives

Summary

Text Questions

Test Answers

Chapter3 Advanced Object-Oriented Concepts

Introduction to Advanced OO Topics

Inheritance

Inheritance Explained

Polymorphism

Method Overriding

Using Sealed

Abstract Classes

Interfaces

Why Use Interface?

Extending Interfaces

Overloading

Summary

Text Questions

Test Answers

Chapter 4 Strings,Exceptions,and Events

The String Class

System.String

String Building

String Formatting

Arrays

The System.Array Class

Collections

Overview of Exception Handing

Throwing and Catching Exceptions

Coding to Handle Errors and Exceptions

Creating Your Own Exceptions

Event Handing

Delegates

Events

Summary

Test Questions

Test Answers

Chapter 5 Visula Studio .NET Development Environment

What is Visual Studio .NET?

The Start Page

Get Started

Online Community

Downloads

Projects

Types of Projects

Creating a Project

Building the Project

Grouping Projects into Solutions

Customizing Visual Studio .NET

Customizing with the Start Page

Customizing with the Options Dialog Box

The Interface

Explorers

Tools

Other Highlights of Visual Studio .NET

Summary

Test Questions

Test Answers

Chapter 7 Resources and Localization

String Resources

Localized Formatting

Implementing Right-to-Left Mirroring and Encoding

Best Practices

Summary

Test Questions

Test Answers

Chapter 8 XML and C# Documentation

Introduction to XML

What Is XML?

HTML vs. XML

Why Use XML?

Creating and XML Document

XML Declaration and Precessing Instructions

Comments

Elements

Attributes

A Well-Formed XML Document

XML Documentation in C#

XML Documentation Tags

XML Comments and Visual Studio .NET

Summary

Test Questions

Test Answers

Chapter 9 Debuggign and Testing

Debugging Your Application

The Buggy Application

Two Debuggers-CorDbg and DbgCLR

Using the Visual Studio .NET Debugging Capabilities

.NET Diagnostics

Debugging and ASP.NET Application

Testing Your Application

Purpose of Testing

Developing a Test Plan

Summary

Test Questions

Test Answers

Chapter 10 Basic Data-Access Techniques

ADO.NET

Application Models

ADO.NET Architecture

XML and ADO.NET

Data-Access Basics

SQL

ACID Rules(Transactions)

Connecting to a Data Provider

Database Security

Connection Strings

Connections

Connection Pooling

Error Handling

The Command Object

The DataSet Object

ADO.NET and XML

Loading XML into a DataSet

Writing XML from a DataSet

Using the XmlDataDocument Object

Using the DataAdapter to Access Existing Data

Dreating the DataAdapter

Updating the Data Source

Resolving Conflicats

Summary

Test Questions

Test Answers

Part III Exam 70-315:Developing and Implementing Web Applications

Chapter 11 Welcome to the Internet and ASP.NET

The Internet:Its Standards

The TCP/IP Protocols

HTML

HTTP

XML

Internet Architecture

Static Web Pages-the Beginning

Dynamic Web Pages-the Client Story

Dynamic Web Pages-the Server Story

The Internet Technologies

Server-Side Technologies

ASP.NET

Hello Web World!

The Object Model of ASP.NET

The Request Object

The Response Object

The Server Object

State or No State

The Application Object

The Session Object

Summary

Test Questions

Test Answers

Chapter 12 Web Forms:Client-Side Programs

Introduction to Web Forms

Building Your First Web Form

Adding Controls to a Form

HTML Server Controls

Web Server Controls

Validation Controls

Custom and User Controls

Creating an Address Book Web Form

Summary

Test Questions

Test Answers

Chapter 13 Server-Side Programs and Postback Operations

The ASP.NET Object Model

ASP.NET Namespaces

The Page Class

State Managment

Web Services

How to Write a Web Service

How to Consume a Web Service

COM Interoperability

Platform Invoke

ASP.NET and Events

The Postback Event

Summary

Test Questions

Test Answers

Chapter 14 Server Controls in ASP.NET

Working with ASP Controls

Base Properties of Server Controls

HTML Server Controls

Web Server Controls

User Controls and Custom Controls

Building and Usng a User Control

Building and Using a Custom Control

Dynamic Control Creation

Summary

Test Questions

Test Answers

Chapter 15 Web Form and User Interface

The Importance of the User Interface

Localization

The Resource Manager Class

Page Navigation

Validation Revisited

Error Handling

Custom Error Pages

Page_Error()

Event Log

Page-Level Tracing

Summary

Test Questions

Test Answers

Chapter 16 Consuming and Manipulating Data from Data Sources

Visual Studio .NET Support for Data

Using a DataGrid Server Control

Creating and Using Stored Procedures

Data Binding

Error Handling

Accessing Data Programmtically

Connecting to a Data Source

Creating and Configuring a Command Object

Populate the DataSet with the Data from the Command

The Completed Web Form

Building a Data Form

Creating the SQL Statement

Buildig the Form

Retrieving Real-Time Data

Looking Up the Address Info

Summary

Test Questions

Test Answers

Chapter 17 Making the Web Application Available to Our Users

Deploying a Web Application

Caching and Improving Performance

Configuring a Web Application

Securing a Web Application

Deploying a Web Application

Installing a Web Application

Installing IIS

Installing FrontPage Server Extensions

Summary

Test Questions

Test Answers

Part IV Exam 70-316:Developing and Implementing Windows-Based Applications with Microsoft Visual C# .NET and Microsoft Visual Studio .NET

Chapter18 Introduction to Windows Forms

Windows Forms

System.Windows.Forms Namespace and More

What Is a Form?

The Windows Forms Designer

A Closer Look at Forms

Using Visual Inheritance

Localizing Your Form

Controls

Adding Controls to a Form

Types of Controls

Setting Properties of Controls

Event Handling

What Is an Enent?

What Happens When an Event Occurs?

Delegates

Dreating Event Handlers

Summary

Test Questions

Test Answers

Chapter 19 User-Interface Components

Working with Controls

Specifying a Control's Location on a Form

Aligning Controls on a Form

Managing Contorl Focus

Windows Forms Controls

Buttons,Text Boxes,and Labels,Oh My!

List Boxes,Combo Boxes,Checked List Boxes,and Such

Tab Controls

Status Bars

Toolbars

Dialog Boxes

Working with Controls at Run Time

Working with Menus

Creating a Main Menu

Looking at the Code of a Main Menu

Handing Menu Events

Context Menus

Validating User Imput

Validating Events

ErrorProvider Control

Summary

Test Questions

Test Answers

Chapter 20 Data in Windows Forms

Review of ADO.NET Object Model

Accessing Data Using Visual Studio .NET

The College Application

ADO.NET Objects in Visual Studio .NET

Using Stored Procedures

What's Next?

Data Binding

The Theory of Data Binding

Binding Data at Design Time

Binding Data at Run Time

Binding Context and CurrencyManager

Exception Handing

Accessing Data Programmatically

Creatig a Connection Object

Creating a Command Object

DataAdapter and DataSet

DataReader

using Format and Parse

The Format Event

The Parse Event

Summary

Test Questions

Test Answers

Chapter 21 Web Servces and COM

Web Services

How Do Web Services Work?

Building a Simple Web Service

Comsuming a Simple Web Service

How Web Services Work

COM and COM+

.NET and COM

Working with COM

Behind the Scenes with COM

Platform Invoke

Summary

Test Questions

Test Answers

Chapter 22 Build Your Own Windows Control

Methods of Buildig Windows Controls

Extending an Existing Control

Creating Composite Controls

Building Custom Controls

Visual Studio .NET Support

Using Visual Inheritance

Adding Design-Time Support to Your Control

Adding a Toolbox Bitmap

Adding Attributs to Properties

Providing Other Design-Time Support

Hosting Your Control in Internet Explorer

Licensing a Control

Summary

Test Questions

Test Answers

Chapter 23 Deploying a Windows-Based Application

Review of Assemblies

Strong Named Assemblies

Installing an Assembly into GAC

Precompiling Assemblies

Depolying a Windows Application

Creating a Setup Project

Creating a Web Setup Project

Creating a CAB Project

Creating a Merge Module Project

Conforming to Windows Standards

Security Policies

Summary

Test Questions

Test Answers

Chapter 24 Configuring a Windows Application

Configuring a Windows Application

Machine Configuration File

Application Configuratio File

Security Configuratio File

.NET Framework Configuration Tool

XML Configuration Tags

Optimizing a Windows Application

Debug vs. Release Versions

Precompiling

Other Performance Enhancements

Securing a Windows Application

Code-Access Security

Role-Based Security

Providing User Assistance

Providing User Help

Adding Accessibility Features

Localizing a Windows Form

Using System.Drawing

Summary

Test Questions

Test Answers

Part V Exam 70-320:Developing XML Web Serivces

Chapter 25 Introduction to XML Web Services and Server Components

The Standards

XML(Extensible Markup Language)

SOAP(Simple Object Access Protocol)

XML Web Services

UDDI(Universal Description,Discovery,and Integration)

XSD,XSLT,and XPath

Logging Test Results and Debugging

Control Debugging in web.config

Logging Text Results in and XML Web Service

Implementing Tracing in an XML Web Service

Summary

Test Questions

Test Answers

Chapter 26 Windows Services

Introducing Windows Services

Building a Windows Service

Creating an Installder for the Service

Creating the Setup Project for the Windows Service

Installing the Windows Service

Verifying the Service Logging

Windows Service Architecture

Quick Facts on Windows Services

Monitoring the Windows Service

Server Components

Multi-Tiered Architecture

COM and COM+

Serviced Components

Using the Component Services Tool

Summary

Test Questions

Test Answers

Chapter 27 .NET Remoting

What Is .NET Remoting?

Terms and Terminology

.NET Remoting Architecture

Steps for Invoking a Server Object's Methods

Using .NET Remoting

Building the Remote Object

Building the Remote Server

Building the Client

Running the Remote Application

Configuring .NET Remoting

Creating the Remote Object

Creating the Remote Object Configuratio File

Creating the Client

Creating the Client Configuration File

Setting Up IIS to Host the Server

Client-Activated Objects

Managing the Lifetime of a Server Object

Final Considerations

Performance Considerations

.NET Remoting vs. Web Services

Points to Remember

Summary

Test Questions

Test Answers

Chapter 28 XML Web Services

Introducing XML Web Services

Distributed Applications

XML Web Services in a Nutshell

XML Web Service Provider

XML Web Service Consumer

XML Web Service Broker

XML Web Service Programming Model

Building an XML Web Service

Creating the Project

Implementing the Web Methods

Settign the Web Method Attributes

The Project Files

XML Web Service Consumers

WSDL

Discovering XML Web Services

Proxies for XML Web Services

Building and XML Web Service Consumer

Asynchronous Web Methods

SOAP Extensions

Summary

Test Questions

Test Answers

Chapter 29 Data Again

ADO.NET and XML Web Services

The ADO Objects Revisited

DataSets

DataSet Schemas

DataSet Relationships

XML Data

Document Object Model(DOM)

XmlReader

Transformations and XML

Validating XML

Transformations and XML

Validatign XML

Microsoft SQL Server and XML Support

Summary

Test Questions

Test Answers

Chapter 30 Deployment and Security

Deploying and XML Wehb Service

UDDI Registry

Deployment

Securing and XML Web Service

Authentication

Authorization

Secure Communication

Access Unmanaged Code Using InterOp

Using a COM Component

Summary

Test Questions

Test Answers

Part VI Appendixes

Appendix A About the CD-ROM

Appendix B The New Microsoft Developer Tracks

Appendix C Command-Line Syntax

Appendix D The .NET Class Library

Appendix E Glossary