1. Trang chủ
  2. » Giáo án - Bài giảng

developing asp.net web application with visual studio .net

918 395 0

Đ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 918
Dung lượng 12,02 MB

Nội dung

Part Number: X08-90700 Course Number: 2310B Released: 07/2002 Delivery Guide Developing Microsoft® ASP.NET Web Applications Using 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, places or events 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.  2002 Microsoft Corporation. All rights reserved. Microsoft, MS-DOS, Windows, Windows NT, Active Directory, ActiveX, BizTalk, Hotmail, IntelliSense, JScript, MSN, MSDN, PowerPoint, Visio, Visual Basic, Visual C++, Visual C#, Visual J#, 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: 2310B Part Number: X08-90700 Released: 07/2002 Developing Microsoft® ASP.NET Web Applications Using Visual Studio® .NET iii Contents Introduction Course Materials 2 Prerequisites 3 Course Outline 4 Setup 9 Microsoft Official Curriculum 10 Microsoft Certified Professional Program 12 Facilities 15 Module 1: Overview of the Microsoft .NET Framework Overview 1 Lesson: Introduction to the .NET Framework 2 Lesson: Overview of ASP.NET 12 Lesson: Overview of the Lab Application 17 Lesson: Resources 23 Review 25 Module 2: Using Microsoft Visual Studio .NET Overview 1 Lesson: Overview of Visual Studio .NET 2 Lesson: Creating an ASP.NET Web Application Project 22 Review 32 Lab 2: Using Microsoft Visual Studio .NET 34 Module 3: Using Microsoft .NET-Based Languages Overview 1 Lesson: Overview of the .NET-Based Languages 2 Lesson: Comparison of the .NET-Based Languages 12 Lesson: Creating a Component Using Visual Studio .NET 19 Review 29 Lab 3: Building a Microsoft Visual Studio .NET Component 31 Module 4: Creating a Microsoft ASP.NET Web Form Overview 1 Lesson: Creating Web Forms 2 Lesson: Using Server Controls 12 Review 30 Lab 4: Creating a Microsoft ASP.NET Web Form 32 Module 5: Adding Code to a Microsoft ASP.NET Web Form Overview 1 Lesson: Using Code-Behind Pages 2 Lesson: Adding Event Procedures to Web Server Controls 8 Lesson: Using Page Events 21 Review 36 Lab 5: Adding Functionality to a Web Application 39 iv Developing Microsoft® ASP.NET Web Applications Using Visual Studio® .NET Module 6: Tracing in Microsoft ASP.NET Web Applications Overview 1 Lesson: Understanding Tracing 2 Lesson: Remote Debugging 18 Review 21 Lab 6: Tracing in Microsoft ASP.NET Web Applications 23 Module 7: Validating User Input Overview 1 Lesson: Overview of User Input Validation 2 Lesson: Using Validation Controls 8 Lesson: Page Validation 28 Review 34 Lab 7: Validating User Input 36 Module 8: Creating User Controls Overview 1 Lesson: Adding User Controls to an ASP.NET Web Form 2 Lesson: Creating User Controls 12 Review 18 Lab 8: Creating User Controls 20 Module 9: Accessing Relational Data Using Microsoft Visual Studio .NET Overview 1 Lesson: Overview of ADO.NET 2 Lesson: Creating a Connection to a Database 9 Lesson: Displaying a DataSet in a List-Bound Control 20 Review 29 Lab 9: Accessing Relational Data Using Microsoft Visual Studio .NET 31 Module 10: Accessing Data with Microsoft ADO.NET Overview 1 Lesson: Introduction to Using ADO.NET 2 Lesson: Connecting to a Database 8 Lesson: Accessing Data with DataSets 16 Lesson: Using Multiple Tables 36 Lesson: Accessing Data with DataReaders 46 Review 58 Lab 10: Accessing Data with Microsoft ADO.NET 60 Module 11: Calling Stored Procedures with Microsoft ADO.NET Overview 1 Lesson: Overview of Stored Procedures 2 Lesson: Calling Stored Procedures 9 Review 22 Lab 11: Calling Stored Procedures with Microsoft ADO.NET 24 Developing Microsoft® ASP.NET Web Applications Using Visual Studio® .NET v Module 12: Reading and Writing XML Data Overview 1 Lesson: Overview of XML Architecture in ASP.NET 2 Lesson: XML and the DataSet Object 10 Lesson: Working with XML Data 25 Lesson: Using the XML Web Server Control 35 Review 41 Lab 12: Reading XML Data 43 Module 13: Consuming and Creating XML Web Services Overview 1 Lesson: Overview of Using XML Web Services 2 Lesson: Calling an XML Web Service Using HTTP 13 Lesson: Using a Proxy to Call an XML Web Service 18 Lesson: Creating an XML Web Service 30 Review 40 Lab 13: Consuming and Creating XML Web Services 42 Module 14: Managing State Overview 1 Lesson: State Management 2 Lesson: Application and Session Variables 13 Lesson: Cookies and Cookieless Sessions 22 Review 31 Lab 14: Storing Application and Session Data 33 Module 15: Configuring, Optimizing, and Deploying a Microsoft ASP.NET Web Application Overview 1 Lesson: Using the Cache Object 2 Lesson: Using ASP.NET Output Caching 14 Lesson: Configuring an ASP.NET Web Application 23 Lesson: Deploying an ASP.NET Web Application 41 Review 48 Lab 15: Configuring, Optimizing, and Deploying a Microsoft ASP.NET Web Application 50 Course Evaluation 69 Module 16: Securing a Microsoft ASP.NET Web Application Overview 1 Lesson: Web Application Security Overview 2 Lesson: Working with Windows-Based Authentication 13 Lesson: Working with Forms-Based Authentication 23 Lesson: Overview of Microsoft Passport Authentication 34 Review 37 Lab 16: Securing a Microsoft ASP.NET Web Application 39 vi Developing Microsoft® ASP.NET Web Applications Using Visual Studio® .NET Module 17: Review Overview 1 Content Review 2 Lab 17: Review Game 4 Course Evaluation 6 Appendix A: Lab Recovery Appendix B: Debugging with Microsoft Visual Studio .NET Appendix C: Using Templates with List-Bound Controls Appendix D: XML Web Service Responses Developing Microsoft® ASP.NET Web Applications Using Visual Studio® .NET vii About This Course This section provides you with a brief description of the course, audience, suggested prerequisites, and course objectives. This course provides students with the knowledge and skills that are needed to develop Web applications by using Microsoft ® Visual Studio® .NET and Microsoft ASP.NET. This course is designed for two types of students: beginner Web developers and Microsoft Visual Basic ® or C# developers who want to learn Visual Studio .NET and ASP.NET:  Beginner Web developer. These developers have minimal experience with programming. However, they should know the basic constructs of programming, such as loops and conditional statements. Beginning Web developers need to have experience with Hypertext Markup Language (HTML) and some scripting language, such as Visual Basic Scripting Edition or Microsoft JScript ®. This audience includes both HTML developers and dynamic HTML (DHTML) developers.  Visual Basic developer. These developers have experience developing Microsoft Windows ® applications by using Visual Basic 6. This course requires that students meet the following prerequisites:  Knowledge of HTML or DHTML, including: • Tables • Images • Forms  Programming experience using Visual Basic .NET, including: • Declaring variables • Using loops • Using conditional statements The completion of either Course 2559, Introduction to Visual Basic .NET Programming with Microsoft .NET, or Course 2373, Programming with Microsoft Visual Basic .NET, satisfies the preceding prerequisite skills requirements. After completing this course, the student will be able to:  Describe the Microsoft .NET Framework and ASP.NET.  Create an ASP.NET Web application project by using Visual Studio.NET.  Create a component in Visual Basic .NET or C#.  Add server controls to an ASP.NET page.  Add functionality to server controls that are located on an ASP.NET page.  Use the tracing features of Visual Studio .NET.  Use validation controls to validate user input. Description Audience Student prerequisites Course objectives viii Developing Microsoft® ASP.NET Web Applications Using Visual Studio® .NET  Create a user control.  Access data by using the built-in data access tools that are in Visual Studio .NET.  Use Microsoft ADO.NET to access data in an ASP.NET Web application.  Call a stored procedure from an ASP.NET Web application.  Access Extensible Markup Language (XML) data and read it into a DataSet object.  Consume and create an XML Web service from an ASP.NET Web application.  Store ASP.NET Web application and session data by using a variety of methods.  Configure and deploy an ASP.NET Web application.  Secure an ASP.NET Web application by using a variety of technologies. There are four appendices included with Course 2310B, Developing Microsoft ASP.NET Web Applications Using Visual Studio .NET:  Appendix A, “Lab Recovery” This appendix provides the steps that are required to recover from an incomplete or broken lab solution.  Appendix B, “Debugging with Microsoft Visual Studio .NET” This appendix is an optional lesson for Module 6, “Tracing in Microsoft ASP.NET Web Applications.” This Appendix is a lesson that includes three topic slides and one demonstration; it should take 30 minutes to deliver this appendix.  Appendix C, “Using Templates with List-Bound Controls” This appendix is an optional lesson for Module 9, “Accessing Relational Data Using Microsoft Visual Studio .NET.” This appendix lesson includes two topic slides and one demonstration; it should take 15 minutes to deliver this appendix.  Appendix D, “XML Web Service Responses” This appendix is an optional lesson for Module 13, “Consuming and Creating XML Web Services.” This lesson includes three topic slides and one demonstration; it should take 20 minutes to deliver this appendix. Appendices Developing Microsoft® ASP.NET Web Applications Using Visual Studio® .NET 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:30 Module 1: Overview of the Microsoft .NET Framework 10:30 10:45 Break 10:45 11:45 Module 2: Using Microsoft Visual Studio .NET 11:45 12:00 Lab 2: Using Microsoft Visual Studio .NET 12:00 1:00 Lunch 1:00 1:45 Module 3: Using Microsoft .NET-Based Languages 1:45 2:15 Lab 3: Building a Microsoft Visual Studio .NET Component 2:15 2:30 Break 2:30 3:45 Module 4: Creating a Microsoft ASP.NET Web Form 3:45 4:15 Lab 4: Creating a Microsoft ASP.NET Web Form Day 2 Start End Module 9:00 9:30 Day 1 review 9:30 10:45 Module 5: Adding Code to a Microsoft ASP.NET Web Form 10:45 11:00 Break 11:00 11:45 Lab 5: Adding Functionality to a Web Application 11:45 12:45 Lunch 12:45 1:30 Module 6: Tracing in Microsoft ASP.NET Web Applications 1:30 2:00 Lab 6: Tracing in Microsoft ASP.NET Web Applications 2:00 2:15 Break 2:15 3:15 Module 7: Validating User Input 3:15 3:30 Lab 7: Validating User Input 3:30 4:15 Module 8: Creating User Controls 4:15 4:45 Lab 8: Creating User Controls x Developing Microsoft® ASP.NET Web Applications Using Visual Studio® .NET Day 3 Start End Module 9:00 9:30 Day 2 review 9:30 10:30 Module 9: Accessing Relational Data Using Microsoft Visual Studio .NET 10:30 10:45 Break 10:45 11:45 Module 9 (continued) 11:45 12:15 Lab 9: Accessing Relational Data Using Microsoft Visual Studio .NET 12:15 1:15 Lunch 1:15 2:45 Module 10: Accessing Data with Microsoft ADO.NET 2:45 3:15 Lab 10: Accessing Data with Microsoft ADO.NET 3:15 3:30 Break 3:30 4:15 Module 11: Calling Stored Procedures with Microsoft ADO.NET 4:15 4:45 Lab 11: Calling Stored Procedures with Microsoft ADO.NET Day 4 Start End Module 9:00 9:30 Day 3 review 9:30 10:45 Module 12: Reading and Writing XML Data 10:45 11:00 Break 11:00 11:30 Lab 12: Reading XML Data 11:30 12:30 Lunch 12:30 1:45 Module 13: Consuming and Creating XML Web Services 1:45 2:30 Lab 13: Consuming and Creating XML Web Services 2:30 2:45 Break 2:45 3:45 Module 14: Managing State 3:45 5:15 Lab 14: Storing Application and Session Data [...]... Developing and Implementing Web 70-305: Developing and Implementing Web Applications with Microsoft Visual Basic Applications with Microsoft Visual Basic NET and Microsoft Visual Studio NET NET and Microsoft Visual Studio NET MCSD & MCAD MCSD & MCAD 70-315: Developing and Implementing Web 70-315: Developing and Implementing Web Applications with Microsoft Visual C# NET Applications with Microsoft Visual. .. relate to ASP.NET Web Application design: Exam 70-305: Developing and Implementing Web Applications with Microsoft Visual Basic NET and Microsoft Visual Studio NET, measures your ability to develop and implement Web applications with Web Forms, ASP.NET, and the NET Framework When you pass the Developing and Implementing Web Applications with Microsoft Visual Basic NET and Microsoft Visual Studio NET... Certified Application Developer for Microsoft NET certification Exam 70-315: Developing and Implementing Web Applications with Microsoft Visual C# NET and Microsoft Visual Studio NET, measures your ability to develop and implement Web applications with Web Forms, ASP.NET, and the NET Framework When you pass the Developing and Implementing Web Applications with Microsoft Visual C# NET and Microsoft Visual Studio. .. the Web Applications with ADO.NET Microsoft NET Platform Microsoft NET Framework Web Applications with ADO.NET Microsoft NET Platform Microsoft NET Framework Application Development 2300: Developing Secure 2300: Developing Secure Web Applications Web Applications 2524: Developing 2524: Developing XML Web Services Using XML Web Services Using Microsoft ASP.NET Microsoft ASP.NET http://www.microsoft.com/traincert... Microsoft ASP.NET Web Application, ” describes how to set up and deploy your ASP.NET Web application After completing this module, you will be able to use the Cache object and page output caching, and be able to configure a Web application by using the Machine.config and Web. config files You will also be able to deploy an ASP.NET Web application Module 16, “Securing a Microsoft ASP.NET Web Application, ”... 2310B: Developing Microsoft ASP.NET 2310B: Developing Microsoft ASP.NET Web Applications Using Visual Studio NET Web Applications Using Visual Studio NET Data Access 1905: Building 2389: 2500: Introduction 2663: Programming 1905: Building 2389: 2500: Introduction 2663: Programming XML-Based Programming to XML and the with XML in the XML-Based Programming to XML and the with XML in the Web Applications with. .. Module 4, “Creating a Microsoft ASP.NET Web Form,” describes how to create and populate Web Forms Web Forms are programmable Web pages that serve as the user interface (UI) for an ASP.NET Web application project After completing this module, you will be able to add a Web Form to an ASP.NET Web application project and use the Visual Studio NET toolbox to add server controls to a Web Form Introduction 5 Module... throughout an ASP.NET Web application After completing this module, you will be able to create a user control, and then add that user control to an ASP.NET Web Form Module 9, “Accessing Relational Data Using Microsoft Visual Studio NET,” describes what Microsoft ADO.NET is, and describes how you can incorporate ADO.NET into an ASP.NET Web application by using the data tools that are built into Visual Studio. .. Module 5, “Adding Code to a Microsoft ASP.NET Web Form,” describes the various methods that can be used to add code to your ASP.NET Web application After completing this module, you will be able to create event procedures for server controls, use code-behind pages in a Web application, and use Page events in a Web application Module 6, “Tracing in Microsoft ASP.NET Web Applications,” describes how to catch... Deploying a Microsoft ASP.NET Web Application 2:15 2:30 Break 2:30 3:45 Module 16: Securing a Microsoft ASP.NET Web Application 3:45 4:30 Lab 16: Securing a Microsoft ASP.NET Web Application 4:30 4:45 Module 17: Review 4:45 5:15 Lab 17: Review Game xii Developing Microsoft® ASP.NET Web Applications Using Visual Studio NET Trainer Materials Compact Disc Contents The Trainer Materials compact disc contains . Adding Functionality to a Web Application 39 iv Developing Microsoft® ASP. NET Web Applications Using Visual Studio .NET Module 6: Tracing in Microsoft ASP. NET Web Applications Overview 1. Microsoft .NET Framework and ASP. NET.  Create an ASP. NET Web application project by using Visual Studio .NET.  Create a component in Visual Basic .NET or C#.  Add server controls to an ASP. NET. Microsoft Visual Studio .NET Overview 1 Lesson: Overview of Visual Studio .NET 2 Lesson: Creating an ASP. NET Web Application Project 22 Review 32 Lab 2: Using Microsoft Visual Studio .NET 34

Ngày đăng: 29/04/2014, 15:13

TỪ KHÓA LIÊN QUAN