Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

C# ПІДРУЧНИКИ / c# / MS Press - Msdn Training Programming Net Framework With C#

.pdf
Скачиваний:
173
Добавлен:
12.02.2016
Размер:
16.87 Mб
Скачать

Programming with the Microsoft® .NET Framework (Microsoft Visual C#™ .NET)

xi

 

 

 

Trainer Materials Compact Disc Contents

The Trainer Materials compact disc contains the following files and folders:

!Autorun.exe. When the compact disc is inserted into the compact disc drive, or when you double-click the Autorun.exe file, this file opens the compact disc and allows you to browse the Student Materials or Trainer Materials compact disc.

!

!

!

!

!

Autorun.inf. When the compact disc is inserted into the compact disc drive, this file opens Autorun.exe.

Default.htm. This file opens the Trainer Materials Web page.

Readme.txt. This file explains how to install the software for viewing the Trainer Materials compact disc and its contents and how to open the Trainer Materials Web page.

2349B_ms.doc. This file is the Manual Classroom Setup Guide. It contains the steps for manually setting up the classroom computers.

2349B_sg.doc. This file is the Automated Classroom Setup Guide. It contains a description of classroom requirements, classroom configuration, instructions for using the automated classroom setup scripts, and the Classroom Setup Checklist.

!Powerpnt. This folder contains the Microsoft PowerPoint® slides that are used in this course.

!Pptview. This folder contains the Microsoft PowerPoint Viewer, which is used to display the PowerPoint slides.

!Setup. This folder contains the files that install the course and related software to computers in a classroom setting.

!StudentCD. This folder contains the Web page that provides students with links to resources pertaining to this course, including additional reading, review and lab answers, lab files, multimedia presentations, and courserelated Web sites.

!

!

Tools. This folder contains files and utilities used to complete the setup of the instructor computer.

Webfiles. This folder contains the files that are required to view the course Web page. To open the Web page, open Windows Explorer, and in the root directory of the compact disc, double-click Default.htm or Autorun.exe.

xii

Programming with the Microsoft® .NET Framework (Microsoft Visual C#™ .NET)

Student Materials Compact Disc Contents

The Student Materials compact disc contains the following files and folders:

!Autorun.exe. When the compact disc is inserted into the CD-ROM drive, or when you double-click the Autorun.exe file, this file opens the compact disc and allows you to browse the Student Materials compact disc.

!

!

Autorun.inf. When the compact disc is inserted into the compact disc drive, this file opens Autorun.exe.

Default.htm. This file opens the Student Materials Web page. It provides students with resources pertaining to this course, including additional reading, review and lab answers, lab files, multimedia presentations, and course-related Web sites.

!Readme.txt. This file explains how to install the software for viewing the Student Materials compact disc and its contents and how to open the Student Materials Web page.

!2349B_ms.doc. This file is the Manual Classroom Setup Guide. It contains a description of classroom requirements, classroom setup instructions, and the classroom configuration.

!Democode. This folder contains demonstration code.

!Flash. This folder contains the installer for the Macromedia Flash 5.0 browser plug-in.

!Fonts. This folder contains fonts that are required to view the PowerPoint presentation and Web-based materials.

!Labs. This folder contains files that are used in the hands-on labs. These files may be used to prepare the student computers for the hands-on labs.

!Media. This folder contains files that are used in multimedia presentations for this course.

!Mplayer. This folder contains the setup file to install Microsoft Windows MediaPlayer.

!Webfiles. This folder contains the files that are required to view the course Web page. To open the Web page, open Windows Explorer, and in the root directory of the compact disc, double-click Default.htm or Autorun.exe.

!Wordview. This folder contains the Word Viewer that is used to view any Word document (.doc) files that are included on the compact disc.

Programming with the Microsoft® .NET Framework (Microsoft Visual C#™ .NET)

xiii

 

 

 

Document Conventions

The following conventions are used in course materials to distinguish elements of the text.

Convention

Use

"

Indicates an introductory page. This symbol appears next

 

to a topic heading when additional information on the topic

 

is covered on the page or pages that follow it.

bold

Represents commands, command options, and syntax that

 

must be typed exactly as shown. It also indicates

 

commands on menus and buttons, dialog box titles and

 

options, and icon and menu names.

italic

In syntax statements or descriptive text, indicates argument

 

names or placeholders for variable information. Italic is

 

also used for introducing new terms, for book and course

 

titles, and for emphasis in the text.

Title Capitals

Indicate domain names, user names, computer names,

 

directory names, and folder and file names, except when

 

specifically referring to case-sensitive names. Unless

 

otherwise indicated, you can use lowercase letters when

 

you type a directory name or file name in a dialog box or

 

at a command prompt.

ALL CAPITALS

Indicate the names of keys, key sequences, and key

 

combinations—for example, ALT+SPACEBAR.

monospace

[ ]

Represents code samples or examples of screen text.

In syntax statements, enclose optional items. For example, [filename] in command syntax indicates that you can choose to type a file name with the command. Type only the information within the brackets, not the brackets themselves.

{ }

In syntax statements, enclose required items. Type only the

 

information within the braces, not the braces themselves.

|

In syntax statements, separates an either/or choice.

!

Indicates a procedure with sequential steps.

...

In syntax statements, specifies that the preceding item may

 

be repeated.

.

Represents an omitted portion of a code sample.

.

 

.

 

Introduction

Contents

 

Introduction

1

Course Materials

2

Prerequisites

3

Course Outline

4

Microsoft Certified Professional Program

9

Facilities

11

Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.

2001-2002 Microsoft Corporation. All rights reserved.

Microsoft, ActiveX, BizTalk, IntelliMirror, Jscript, MSDN, MS-DOS, MSN, PowerPoint, Visual Basic, Visual C++, Visual C#, Visual Studio, Win32, Windows, Windows Media, and

Window NT are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries.

The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

Introduction iii

Instructor Notes

Presentation: The Introduction module provides students with an overview of the course 30 Minutes content, materials, and logistics for Course 2349B, Programming with the

Microsoft® .NET Framework (Microsoft Visual C#.NET).

Course Materials and Preparation

Required Materials

To teach this course, you need the following materials:

!Delivery Guide

!Trainer Materials compact disc

Preparation Tasks

To prepare for this course, you must complete the Course Preparation Checklist that is included with the trainer course materials.

Module Strategy

Use the following strategy to present this module:

!Course 2349B, Programming with the Microsoft .NET Framework (Microsoft Visual C# .NET)

Show the slide that displays the course number and course title.

!Introduction

Welcome students to the course and introduce yourself. Provide a brief overview of your background to establish credibility.

Have students introduce themselves and provide their background, product experience, and expectations of the course.

Record student expectations on a white board or flip chart that you can reference later in class.

!Course Materials

Explain the purpose of all materials used in this course.

!Prerequisites

Provide the students with the list of prerequisites that they should have met before taking this course. This is an opportunity for you to identify students who may not have the appropriate background or experience to attend this course.

iv Introduction

! Course Outline

!

!

Provide an overview of each module and what students will learn.

Explain how this course will meet students’ expectations by relating the information covered in individual modules to their expectations.

Providing reasonably complete coverage of the Microsoft .NET Framework within a five day class is a challenging undertaking. The thirteen modules that encompass Course 2349B, Programming with the Microsoft.NET Framework (Microsoft Visual C# .NET), will provide most students with a common baseline for working with the .NET Framework.

Note For more information about customizing this course see the Optional Course Presentation Strategies section in this module.

Setup

Provide the students with any necessary setup information for the course. Microsoft Certified Professional Program

Inform students about the Microsoft Certified Professional (MCP) program and the various certification options.

!Facilities

Explain the facility information for the training site.

Introduction v

Optional Course Presentation Strategies

Because of the complexity and amount of material that makes up the .NET Framework, additional resources are included to provide instructors with some flexibility in the course delivery.

Course Customization

The thirteen modules that make up the five day Course 2349B, Programming with the Microsoft .NET Framework (Microsoft Visual C# .NET), will provide most students with a common baseline for working with the .NET Framework. In addition to the first thirteen modules that make up the five days of material, the course contains four optional modules, thus providing you with the opportunity for customization.

You are not required to cover the optional modules as part of Course 2349B,

Programming with the Microsoft .NET Framework (Microsoft Visual C# .NET). The decision about whether to cover the optional modules has been left entirely to you, the instructor, as you will need to consider the circumstances of each class separately, including student levels and preferences, and any requirements of an individual Microsoft Certified Technical Education Center (Microsoft CTEC).

However, as part of the course materials, your students will receive all seventeen modules. While Modules 14 through 17 are considered optional, you should be prepared to discuss what you plan to cover during the course introduction. If you only intend to cover the first thirteen modules that make up the official five days of course delivery of Course 2349B, Programming with the Microsoft .NET Framework (Microsoft Visual C# .NET), then state that clearly and suggest that the optional modules may be used as additional selfstudy. Alternatively, you may want to discuss covering one or more of the optional modules if there is sufficient interest in those topics. You will then need to consider with your students what module(s) you may safely leave out in order to accommodate the optional module(s).

For example, an alternative approach for more advanced students who already have a basic understanding of .NET Framework applications and the Microsoft Visual C#.NET object model would be to omit Modules 2 through 6 and teach Modules 7 through 17.

vi Introduction

Course Flow

As a general guideline, modules may be grouped accordingly, as shown in the following table.

Module

Course Flow

Module 1: Overview of the Microsoft

This short module is designed to provide a

.NET Framework

high level overview of the .NET

 

Framework.

Module 2: Introduction to a Managed Execution Environment

Module 3: Working with Components Module 4: Deployment and Versioning Module 5: Common Type System Module 6: Working with Types

Module 7: Strings, Arrays, and Collections

Module 8: Delegates and Events

Module 9: Memory and Resource Management

Module 10: Data Streams and Files Module 11: Internet Access Module 12: Serialization

Module 13: Remoting and XML Web Services

Module 14: Threading and Asynchronous Programming

Module 15: Interoperating Between Managed and Unmanaged Code

Module 16: Using Microsoft ADO.NET to Access Data

Module 17: Attributes

Modules 2 through 4 cover core .NET Framework concepts, including managed execution, assemblies, and deployment.

Modules 5 and 6 cover core .NET Framework object oriented topics.

Modules 7 through 13 cover more advanced material than the preceding modules and may be considered as standalone material. Modules 10 through 12 have some relevance to Module 13: Remoting and XML Web Services.

Modules 14 through 17 may be considered as optional, standalone, and generally more advanced than modules 1 through 6.

Соседние файлы в папке c#