1. Trang chủ
  2. » Công Nghệ Thông Tin

Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease)

560 427 1
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 560
Dung lượng 11,45 MB

Nội dung

Course Number: 2415A Released: 10/2001 Delivery Guide Programming the Microsoft ® .NET Framework with Visual Basic ® .NET (Prerelease) Part Number: X08-54449 This course is based on the prerelease Beta 2 version of Microsoft ® Visual Studio .NET. Content in the final release of the course may be different from the content included in this prerelease version. All labs in the course are to be completed with the Beta 2 version of Visual Studio .NET. 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 Microsoft Corporation. All rights reserved. Microsoft, MS-DOS, Windows, Windows NT, ActiveX, IntelliMirror, JScript, MSDN, PowerPoint, Visual Basic, Visual C++, Visual C#, Visual Studio, Win32, and Windows Media 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. Course Number: 2415A Part Number: X08-54449 Released: 10/2001 Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease) iii Contents Introduction Course Materials 2 Prerequisites .3 Course Outline .4 Microsoft Certified Professional Program .8 Facilities .10 Module 1: Overview of the Microsoft .NET Framework Overview 1 Overview of the Microsoft .NET Framework 2 Overview of Namespaces 12 Review .15 Module 2: Introduction to a Managed Execution Environment Overview 1 Writing a .NET Application .2 Compiling and Running a .NET Application .9 Multimedia: Application Loading and Single-File Assembly Execution 25 Lab 2: Building a Simple .NET Application 27 Review .30 Module 3: Working with Components Overview 1 An Introduction to Key .NET Framework Development Technologies 2 Creating a Simple .NET Framework Component 4 Lab 3.1: Creating a .NET Framework Component 11 Creating a Simple Console Client 13 Lab 3.2: Creating a Simple Console-Based Client .18 Demonstration: Creating a Windows Forms Client .21 Creating an ASP .NET Client 25 Multimedia: ASP .NET Execution Model .26 Lab 3.3: Calling a Component Through an ASP .NET Page .34 Review .38 Module 4: Deployment and Versioning Overview 1 Introduction to Application Deployment .2 Application Deployment Scenarios .7 Related Topics and Tools .31 Lab 4: Packaging and Deployment 37 Review .42 Module 5: Common Type System Overview 1 An Introduction to the Common Type System 2 Elements of the Common Type System .8 Object-Oriented Characteristics .24 Lab 5: Building Simple Types .39 Review .44 iv Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease) Module 6: Working with Types Overview . 1 System.Object Class Functionality . 2 Specialized Constructors . 12 Type Operations 18 Interfaces . 27 Managing External Types . 34 Lab 6: Working with Types 37 Review 42 Module 7: Strings, Arrays, and Collections Overview . 1 Strings . 2 Terminology – Collections 19 .NET Framework Arrays . 20 .NET Framework Collections . 36 Lab 7: Working with Strings, Enumerators, and Collections 54 Review 60 Module 8: Delegates and Events Overview . 1 Delegates . 2 Demonstration: Using Delegates . 8 Multicast Delegates . 12 Demonstration: Multicast Delegates . 19 Events 22 When to Use Delegates, Events, and Interfaces 30 Lab 8: Creating a Simple Chat Server . 31 Review 41 Module 9: Memory and Resource Management Overview . 1 Memory Management Basics 2 Multimedia: Simple Garbage Collection 10 Non-Memory Resource Management . 12 Implicit Resource Management 13 Multimedia: Garbage Collection . 18 Explicit Resource Management 25 Optimizing Garbage Collection 34 Lab 9: Memory and Resource Management . 47 Review 53 Module 10: Data Streams and Files Overview . 1 Streams 2 Readers and Writers 4 Basic File I/O 7 Lab 10: Files . 21 Review 26 Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease) v Module 11: Internet Access Overview 1 Internet Application Scenarios .2 The WebRequest and WebResponse Model 3 Application Protocols .16 Handling Errors 24 Security 27 Lab 11: Creating a DateTime Client/Server Application .35 Review .39 Customer Evaluation 41 Module 12: Serialization Overview 1 Serialization Scenarios .2 Serialization Attributes 4 Object Graph 5 Serialization Process 7 Serialization Example 9 Deserialization Example 10 Custom Serialization 12 Custom Serialization Example .14 Security Issues .17 Lab 12: Serialization 18 Review .27 Module 13: Remoting and Web Services Overview 1 Remoting 2 Remoting Configuration Files 19 Lab 13.1: Building an Order-Processing Application by Using Remoted Servers 29 Web Services .37 Lab 13.2: Using a Web Service .49 Review .53 Customer Evaluation 55 Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease) vii About This Course This section provides you with a brief description of the course, audience, suggested prerequisites, and course objectives. Description The goal of this course is to help application developers understand the Microsoft ® .NET Framework. In addition to offering an overview of the .NET Framework and an introduction to key concepts and terminology, the course provides a series of labs, which introduce and explain .NET Framework features that are used to code, debug, tune, and deploy applications. Audience This course is intended for experienced, professional software developers who work in independent software vendors or software companies or work on corporate enterprise development teams. Most students will be Microsoft Visual Basic ® developers. Student Prerequisites This course requires that students meet the following prerequisites:  Students should be proficient in the Visual Basic programming language and have been exposed to the Visual Basic .NET language.  Students can meet these prerequisites by taking Course 2373, Programming with Microsoft Visual Basic .NET (Prerelease). Course Objectives After completing this course, the student will be able to:  List the major elements of the .NET Framework and explain how they fit into the .NET platform.  Explain the main concepts behind the common language runtime and use the features of the .NET Framework to create a simple application.  Create and use components in Microsoft Windows ® Forms-based and ASP.NET-based applications.  Use the deployment and versioning features of the .NET runtime to deploy multiple versions of a component.  Create, use, and extend types by understanding the Common Type System architecture.  Create classes and interfaces that are functionally efficient and appropriate for given programming scenarios.  Use the .Net Framework class library to efficiently create and manage strings, arrays, collections, and enumerators.  Use delegates and events to have an event sender object signal the occurrence of an “action” to an event receiver object.  Describe and control how memory and other resources are managed in the .NET Framework. viii Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease)  Read from and write to data streams and files.  Use the basic request/response model to send and receive data over the Internet.  Serialize and deserialize an object graph.  Create distributed applications by using Web Services and Object Remoting. Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease) ix Course Timing The following schedule is an estimate of the course timing. Your timing may vary. Day 1 Start End Module 9:00 9:30 Introduction 9:30 10:00 Module 1: Overview of the Microsoft .NET Framework 10:00 10:15 Break 10:15 11:00 Module 2: Introduction to a Managed Execution Environment 11:00 11:15 Lab 2: Building a Simple .NET Application 11:15 11:45 Module 3: Working with Components 11:45 12:00 Lab 3.1: Creating a .NET Framework Component 12:00 1:00 Lunch 1:00 1:15 Module 3: Working with Components (continued) 1:15 1:30 Lab 3.2: Creating a Simple Console-Based Client 1:30 2:00 Module 3: Working with Components (continued) 2:00 2:30 Lab 3.3: Calling a Component Through an ASP .NET Page 2:30 2:45 Break 2:45 4:15 Module 4: Deployment and Versioning Day 2 Start End Module 9:00 9:50 Lab 4: Packaging and Deployment 9:50 10:00 Break 10:00 11:30 Module 5: Common Type System 11:30 12:30 Lunch 12:30 1:15 Lab 5: Building Simple Types 1:15 2:30 Module 6: Working with Types 2:30 2:45 Break 2:45 3:30 Lab 6: Working with Types 3:30 4:00 Module 7: Strings, Arrays, and Collections x Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease) Day 3 Start End Module 9:00 10:30 Module 7: Strings, Arrays, and Collections (continued) 10:30 10:45 Break 10:45 11:45 Lab 7: Working with Strings, Enumerators, and Collections 11:45 12:45 Lunch 12:45 2:00 Module 8: Delegates and Events 2:00 2:15 Break 2:15 3:25 Lab 8: Creating a Simple Chat Server 3:25 4:00 Module 9: Memory and Resource Management Day 4 Start End Module 9:00 10:30 Module 9: Memory and Resource Management (continued) 10:30 10:45 Break 10:45 11:45 Lab 9: Memory and Resource Management 11:45 12:45 Lunch 12:45 1:30 Module 10: Data Streams and Files 1:30 2:15 Lab 10: Files 2:15 2:30 Break 2:30 3:30 Module 11: Internet Access 3:30 4:15 Lab 11: Creating a DateTime Client/Server Application Day 5 Start End Module 9:00 9:30 Module 12: Serialization 9:30 10:15 Lab 12: Serialization 10:15 10:30 Break 10:30 11:30 Module 13: Remoting and Web Services 11:30 12:30 Lunch 12:30 1:20 Lab 13.1: Building an Order-Processing Application by Using Remoted Servers 1:20 2:20 Module 13: Remoting and Web Services (continued) 2:20 2:35 Break 2:35 3:25 Lab 13.2: Using a Web Service [...].. .Programming the Microsoft® NET Framework with Visual Basic® NET (Prerelease) xi Trainer Materials Compact Disc Contents The Trainer Materials compact disc contains the following files and folders: Autorun.exe When the CD is inserted into the CD-ROM drive, or when you double-click the autorun.exe file, this file opens the CD and allows you to browse the Student Materials or... 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... herein may be the trademarks of their respective owners Module 1: Overview of the Microsoft NET Framework iii Instructor Notes Presentation: 30 Minutes Lab: 00 Minutes This module provides students with an overview of the Microsoft® NET Framework It defines some of the terminology that is specific to the NET Framework and describes the NET Framework s key features and benefits The module starts with an... Support, and COM Marshaler • NET Framework Class Library Support ! The NET Framework Class Library Explain the benefits of the NET Framework class library Explain that the common type system is covered in more detail in Module 5, “Common Type System,” and Module 6, “Working with Types,” in Course 2415A, Programming the Microsoft NET Framework with Visual Basic NET (Prerelease) Specific classes are... based on the prerelease Beta 2 version of Microsoft® Visual Studio NET Content in the final release of the course may be different from the content included in this prerelease version All labs in the course are to be completed with the Beta 2 version of Visual Studio NET Information in this document, including URL and other Internet Web site references, is subject to change without notice Unless otherwise... 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 the Microsoft® NET Framework with Visual Basic® NET (Prerelease) xiii Document Conventions The following conventions are used in course materials to distinguish elements of the text Convention... Microsoft® NET Framework with Visual Basic® NET (Prerelease) Student Materials Compact Disc Contents The Student Materials compact disc contains the following files and folders: Autorun.exe When the CD is inserted into the CD-ROM drive, or when you double-click the autorun.exe file, this file opens the CD and allows you to browse the Student Materials CD Default.htm This file opens the Student Materials... Describe the contents of the student workbook and the Student Materials compact disc Have students write their names on both sides of the name card Tell students where they can send comments with feedback on the course Delivery Tip Demonstrate how to open the Web page provided on the Student Materials compact disc On the Trainer Materials compact disc, double-click Autorun.exe or Default.htm in the StudentCD... available for them to use during class breaks Also make sure that the students are aware of the recycling program if one is available Module 1: Overview of the Microsoft NET Framework Contents Overview Overview of the Microsoft NET Framework 1 2 Overview of Namespaces 12 Review 15 This course is based on the prerelease Beta 2 version of Microsoft® Visual Studio NET Content in the final release of the course... herein may be the trademarks of their respective owners Introduction iii Instructor Notes Presentation: 30 Minutes The Introduction module provides students with an overview of the course content, materials, and logistics for Course 2415A, Programming the Microsoft NET Framework with Visual Basic NET (Prerelease) Course Materials and Preparation Required Materials To teach this course, you need the following . .44 iv Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease) Module 6: Working with Types Overview 26 Programming the Microsoft® .NET Framework with Visual Basic® .NET (Prerelease) v Module 11: Internet Access Overview 1

Ngày đăng: 22/10/2013, 16:15

TỪ KHÓA LIÊN QUAN