did-you-know? rent-now

Rent More, Save More! Use code: ECRENTAL

did-you-know? rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780735615861

Developing XML Web Services and Server Components with Microsoft Visual Basic .NET and Microsoft Visual C# .NET MCAD/MCSD Self-Paced Training Kit

by
  • ISBN13:

    9780735615861

  • ISBN10:

    0735615861

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2003-01-15
  • Publisher: Microsoft Press
  • Purchase Benefits
List Price: $69.99

Summary

This official MCSD Training Kit teaches professional developers how to create Web applications with the Microsoft .NET framework as they prepare for MCSD Exam 70- 310, a core requirement on the MCSD track. In MCAD/MCSD Self-Paced Training Kit: Developing XML Web Services and Server Components with Microsoft Visual Basic .NET and Microsoft Visual C# .NET students learn through an integrated system of skill-building tutorials, case study examples, and self-assessment tools while topics map directly to MCSD exam objectives. An economical alternative to classroom instruction, this kit enables students to set their own pace and learn by doing.

Author Biography

Developed by senior editors and content managers at Microsoft Corporation.

Table of Contents

About This Book xiii
Intended Audience xiii
Prerequisites xiii
Reference Materials xiv
About the CD-ROM xiv
About the DVD xiv
Features of This Book xv
Notes xv
Notational Conventions xv
Chapter and Appendix Overview xvi
Finding the Best Starting Point for You xviii
Where to Find Specific Skills in This Book xix
Getting Started xxii
Hardware Requirements xxii
Software Requirements xxiii
Setup Instructions xxiii
The Microsoft Certified Professional Program xxiv
Microsoft Certification Benefits xxv
Requirements for Becoming a Microsoft Certified Professional xxvii
Technical Training for Computer Professionals xxviii
Technical Support xxix
Understanding the .NET Framework
1(46)
About This Chapter
1(1)
Before You Begin
2(1)
Overview of the .NET Framework
3(5)
Understanding .NET
3(1)
Understanding the .NET Framework and Its Role in .NET
4(2)
Understanding the .NET Framework Architecture
6(2)
Understanding the Common Language Runtime
8(4)
Common Language Runtime Architecture
8(1)
Common Language Runtime Components
9(3)
Understanding the Managed Execution Process
12(9)
Defining the Managed Execution Process
12(1)
Automatic Memory Management
12(9)
Understanding Assemblies and the Global Assembly Cache
21(6)
Overview of Assemblies
21(1)
Understanding Namespaces
22(1)
Types of Assemblies
22(2)
Assembly Identity
24(1)
Assembly Deployment
25(2)
Understanding Configuration and Security
27(4)
Application Configuration
27(4)
Understanding Application Domains and Run-Time Hosts
31(2)
Understanding Processes and Application Domains
31(1)
Understanding Run-Time Hosts
32(1)
Introducing the .NET Framework Tools
33(14)
Assembly Linker
33(1)
Using the Ilasm.exe Tool
34(1)
Using the Ildasm.exe Tool
35(1)
Using the Caspol.exe Tool
36(1)
Mscorcfg.msc
37(2)
Summary
39(1)
Lab: Creating Assemblies and Examining MSIL
40(1)
Exercise 1: Creating a Single-File Assembly
40(1)
Exercise 2: Using Ildasm to Examine the MSIL Code
41(2)
Exercise 3: Creating a Multiple-File Assembly
43(3)
Review
46(1)
Creating and Managing Windows Services
47(78)
About This Chapter
47(1)
Before You Begin
47(1)
Understanding Windows Services
48(6)
Overview of Windows Services
48(2)
Differences Between Service Applications and Other Visual Studio .NET Applications
50(1)
Programming Model of Windows Service Applications
50(4)
Creating Windows Services
54(10)
Creating a Windows Service Application
54(2)
Changing the Default Properties of a Windows Service Application
56(2)
Adding Functionality to a Service Application
58(6)
Handling Events and Logging Information from a Windows Service Application
64(10)
Handling Events of a Windows Service
64(1)
Logging Information in System Event Logs
65(2)
Creating Custom Event Logs
67(2)
Using Performance Counters
69(5)
Adding Installers, Specifying Security Context, and Installing and Uninstalling a Windows Service
74(10)
Understanding the Role of Installers
74(1)
Adding Installers
75(6)
Specifying Security Context for a Service Application
81(1)
Installing and Uninstalling a Windows Service
81(3)
Managing Windows Services
84(12)
Using the Service Control Manager
84(4)
Using the Service Controller Class
88(8)
Configuring and Debugging Windows Services
96(29)
Configuring a Windows Service
96(2)
Debugging a Windows Service
98(3)
Summary
101(1)
Lab: Creating and Managing Windows Services
102(1)
Exercise 1: Creating and Installing a Windows Service
102(5)
Exercise 2: Creating a Client Application
107(5)
Exercise 3: Managing Windows Services
112(10)
Review
122(3)
Creating and Consuming Serviced Components
125(72)
About This Chapter
125(1)
Before You Begin
126(1)
Overview of COM+ Programming
127(7)
Evolution of COM+
127(3)
Component Services of COM+
130(4)
Understanding, Creating, and Registering Serviced Components
134(13)
Developing a Serviced Component
134(13)
Utilizing COM+ Services
147(8)
Enabling COM+ Transactions
147(3)
Enabling JIT Activation
150(1)
Using the Loosely Coupled Events Service
150(3)
Using the Object Pooling Service
153(1)
Using the Queued Components Service
153(1)
Using Object Construction
154(1)
Managing Serviced Components Using the Component Services Tool
155(14)
Component Services Tool
155(4)
Configuring Activation Using the Component Services Tool
159(2)
Configuring Transactions Using the Component Services Tool
161(2)
Configuring Security Using the Component Services Tool
163(6)
Implementing Security for Serviced Components
169(28)
Implementation of Security for Serviced Components
169(1)
Role-Based Security
169(2)
Component Level Security Checks in Applications
171(1)
Implementing Component Security Programmatically
172(1)
Security Call Context Information
172(3)
Interoperability Between COM+ Security Services and the .NET Framework
175(1)
Summary
176(1)
Lab: Creating, Configuring, and Managing Serviced Components
177(1)
Exercise 1: Creating a Serviced Component
177(7)
Exercise 2: Creating the Client Application
184(6)
Exercise 3: Creating the Accounts Table
190(1)
Exercise 4: Configuring Serviced Components Using the Component Services Tool
191(2)
Review
193(4)
Creating and Consuming .NET Remoting Objects
197(52)
About This Chapter
197(1)
Before You Begin
198(1)
Understanding .NET Remoting
199(5)
Overview of .NET Remoting
199(1)
Accessing Objects Across Remoting Boundaries
200(1)
The .NET Remoting Architecture
201(1)
Remotable and Nonremotable Objects
202(2)
Implementing Server-Activated and Client-Activated Objects
204(9)
Understanding Remote Object Activation
204(6)
Using Lifetime Leases
210(2)
Scope of Publication
212(1)
Transporting Messages Across Application Domains Using Channels
213(11)
Understanding Channels
213(2)
Selecting Channels for Remoting
215(1)
HTTP Channels
216(3)
TCP Channels
219(3)
Sinks and Sink Chains
222(2)
Implementing Events and Delegates
224(5)
Understanding Events and Delegates
224(1)
Implementing Events and Delegates in Remoting Applications
225(4)
Implementing Asynchronous Methods
229(3)
Asynchronous Methods
229(1)
Implementing Asynchronous Methods in Remoting Applications
230(2)
Configuring and Securing .NET Remoting Objects
232(17)
Remote Object Configuration
232(2)
Securing .NET Remoting Objects
234(2)
Summary
236(1)
Lab: Creating and Consuming .NET Remoting Objects
237(1)
Exercise 1: Create the ChatCoordinator.dll Library
237(3)
Exercise 2: Create a Configuration File for Configuring the ChatCoordinator Object
240(1)
Exercise 3: Create a Console Application to Activate the ChatCoordinator Object
240(1)
Exercise 4: Create a Chat Client
241(3)
Exercise 5: Create a Configuration File to Configure the ChatClient Object
244(1)
Exercise 6: Executing the Chat Application
244(3)
Review
247(2)
Database Programming Using ADO.NET
249(56)
About This Chapter
249(1)
Before You Begin
249(1)
Understanding ADO.NET
250(7)
Overview of ADO.NET
250(1)
ADO.NET Architecture
251(3)
Benefits of ADO.NET
254(1)
Differences Between ADO and ADO.NET
255(2)
Understanding .NET Data Providers
257(16)
Overview of .NET Data Providers
257(1)
The OleDbConnection Class
258(1)
The SqlConnection Class
259(1)
The OleDbCommand Class
259(4)
Using Data Adapters
263(3)
The DataReader Class
266(2)
Creating Data Access Components Using the Data Adapter Configuration Wizard
268(5)
Working with DataSets
273(32)
Understanding ADO.NET DataSets
273(1)
Creating ADO.NET DataSets
274(3)
Manipulating an ADO.NET DataSet
277(3)
Creating Data Views
280(1)
Handling ADO.NET DataSet Events
281(1)
Creating a Typed ADO.NET DataSet
282(1)
Summary
283(1)
Lab: Creating and Using Data Access Components
284(1)
Exercise 1: Creating the Airline Database
284(4)
Exercise 2: Creating Data Access Components
288(5)
Exercise 3: Creating a Remote Data Access Component
293(3)
Exercise 4: Creating a Windows Service to Host the Remote Data Access Component
296(2)
Exercise 5: Creating a Remote Client Application
298(5)
Review
303(2)
Accessing and Manipulating XML Data
305(64)
Understanding the XML Document Object Model
306(8)
Overview of the XML Document Object Model
306(1)
The XML Document Object Model
307(5)
Creating an XML Parser
312(2)
Working with XmlReader and XmlWriter
314(6)
Overview of XmlReader
314(1)
Reading XML Using XmlTextReader
314(4)
Overview of XmlWriter
318(1)
Writing XML Using XmlTextWriter
318(2)
Working with XPathNavigator
320(5)
Understanding the XPathNavigator Class
320(1)
Performing XPath Queries
321(4)
Understanding the XML Schema Object Model
325(4)
Overview of the XML Schema Object Model
325(4)
Validating an XML Document
329(8)
Understanding XML Validation
329(1)
Validating XML Documents Using XmlValidatingReader
330(4)
Reading XML Fragments Using XmlValidatingReader
334(3)
Working with XML and DataSets
337(32)
Overview of XML and DataSets
337(1)
Working with XML Files and DataSets
338(3)
Populating a DataSet with XML Data
341(2)
Summary
343(2)
Lab: Accessing and Manipulating XML Data
345(1)
Exercise 1: Creating the Product Catalog
345(1)
Exercise 2: Creating the Product Catalog Windows Application
346(18)
Exercise 3: Running the Product Catalog Application
364(3)
Review
367(2)
Creating and Consuming XML Web Services
369(62)
Understanding XML Web Services
370(5)
Overview of XML Web Services
370(1)
XML Web Services Infrastructure
371(2)
Communication Between the Client and the XML Web Service
373(2)
Creating XML Web Services
375(18)
Creating an XML Web Service
375(18)
Deploying and Discovering XML Web Services
393(6)
Publishing an XML Web Service
393(2)
Items Published with a Web Service
395(1)
Understanding the XML Web Services Discovery Mechanism
396(1)
Configuring Discovery Information for a Web Service
397(2)
Consuming an XML Web Service
399(32)
Consuming an XML Web Service
399(3)
Consuming the Methods Exposed by a Web Service
402(13)
Summary
415(1)
Lab: Creating and Consuming XML Web Services
416(1)
Exercise 1: Creating an XML Web Service
416(7)
Exercise 2: Creating a Windows Client Application
423(6)
Review
429(2)
Advanced XML Web Services Programming
431(58)
About This Chapter
431(1)
Before You Begin
431(1)
Controlling the Characteristics of a Web Method Using Attributes
432(6)
Attributes of a Web Method
432(1)
Buffering Responses for a Web Method
433(1)
Caching the Results for a Web Method
434(1)
Specifying a Description for a Web Method
434(1)
Enabling a Session State for a Web Method
435(1)
Identifying Overloaded Web Methods Using an Alias
436(1)
Enabling a Web Method to Participate as the Root Object of a Transaction
436(2)
Creating Asynchronous Methods
438(8)
Overview of Asynchronous Programming
438(8)
Using SOAP Extensions
446(7)
Overview of SOAP Extensions
446(1)
Building SOAP Extensions
447(6)
Configuring and Securing a Web Service
453(36)
Understanding the Structure of the Web.config File
453(1)
Using the Elements of the Web.config File to Configure a Web Service
454(1)
Securing a Web Service
455(2)
Summary
457(1)
Lab: Implementing Transactions, Asynchronous Methods, and SOAP Extensions
458(1)
Exercise 1: Creating the LabTest Database and Authors Table
458(2)
Exercise 2: Implementing the Transaction Property of the WebMethod Attribute
460(1)
Exercise 3: Implementing a SOAP Extension in an XML Web Service
461(9)
Exercise 4: Creating the XML Web Service Client
470(3)
Exercise 5: Calling Web Methods Asynchronously
473(14)
Review
487(2)
Testing and Debugging XML Web Services
489(44)
About This Chapter
489(1)
Before You Begin
489(1)
Designing Unit Test Plans
490(4)
Overview of the Testing Process
490(1)
Organizing the Testing Effort
491(1)
Requirements-Based Testing
492(1)
Developing a Test Plan
492(1)
Approaches to Develop Test Plans
492(2)
Overview of Visual Studio .NET Debugging Tools
494(15)
Introduction to the Visual Studio .NET Debugging Process
494(1)
Debugging Visual Studio .NET Applications Using the DbgClr Tool
495(5)
Debugging .NET Applications Using the CorDbg Tool
500(3)
Debugging XML Web Services in Visual Studio .NET
503(6)
Code Instrumentation
509(10)
Overview of Code Instrumentation
509(1)
Using Tracing to Instrument Code
510(3)
Exception Handling
513(6)
Creating and Testing Multicultural Satellite Assemblies and Test Data
519(14)
Overview of Satellite Assemblies
519(1)
Creating Satellite Assemblies
520(2)
Compiling Satellite Assemblies with Strong Names
522(1)
Installing a Satellite Assembly
523(1)
Retrieving Data from the Resource Files
523(2)
Summary
525(1)
Lab: Tracing and Debugging
526(1)
Exercise 1: Implementing Tracing
526(4)
Exercise 2: Debugging a Deployed XML Web Service
530(2)
Review
532(1)
Deploying XML Web Services and Windows Services
533(46)
About This Chapter
533(1)
Before You Begin
533(1)
Understanding .NET Deployment Features
534(6)
Understanding .NET Deployment
534(3)
Packaging and Distribution Options
537(1)
Deployment Scenarios
538(2)
.NET Deployment Options and Setup Programs
540(21)
Overview of .NET Deployment Projects
540(1)
Deploying a Windows Service
541(8)
Deploying an XML Web Service
549(5)
Deploying Components Using a Merge Module Project
554(5)
Deploying .NET Components and Applications Using a Cabinet Project
559(2)
Registering and Locating Components and Assemblies
561(6)
Registering Components and Assemblies
561(3)
Locating Assemblies
564(3)
Implementing Versioning and Side-by-Side Deployment
567(12)
Implementing Versioning in Assemblies
567(2)
Deploying Multiple Versions of an Assembly in the Global Assembly Cache
569(4)
Summary
573(1)
Lab: Creating Setup Projects
574(1)
Exercise 1: Creating a Setup Project
574(2)
Exercise 2: Deploying a Web Service with a Web Setup Project
576(1)
Review
577(2)
Appendix A: Questions and Answers 579(22)
Chapter 1: Understanding the .NET Framework
579(2)
Chapter 2: Creating and Managing Windows Services
581(3)
Chapter 3: Creating and Consuming Serviced Components
584(5)
Chapter 4: Creating and Consuming .NET Remoting Objects
589(2)
Chapter 5: Database Programming Using ADO.NET
591(1)
Chapter 6: Accessing and Manipulating XML Data
592(1)
Chapter 7: Creating and Consuming XML Web Services
593(2)
Chapter 8: Advanced XML Web Services Programming
595(1)
Chapter 9: Testing and Debugging XML Web Services
596(2)
Chapter 10: Deploying XML Web Services and Windows Services
598(3)
Appendix B: COM Interoperability 601(4)
Accessing COM Components from Managed Code
601(4)
Glossary 605(8)
Index 613

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program