McAd/McSd Self-Paced Trainig Kit Developing Xml Web Services and Server Comnents with Microsoft Visual Basic.Net and Microsoft Visualc#.Net : Exams 70 (HAR/CDR/DV)

McAd/McSd Self-Paced Trainig Kit Developing Xml Web Services and Server Comnents with Microsoft Visual Basic.Net and Microsoft Visualc#.Net : Exams 70 (HAR/CDR/DV)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Hardcover:ハードカバー版/ページ数 651 p.
  • 言語 ENG,ENG
  • 商品コード 9780735615861
  • DDC分類 005.2768

Full Description


Build real-world programming skills-and prepare for MCP Exams 70-310 and 70-320-with this official Microsoft? study guide. Work at your own pace through the lessons and hands-on exercises to learn how to build XML Web services and server components using Visual Basic?.NET and Visual C# (TM) .NET. Then extend your expertise through additional skill-building exercises. As you gain practical experience with essential development tasks, you're also preparing for MCAD or MCSD certification for Microsoft .NET. COVERAGE INCLUDES: Creating and managing Microsoft Windows? services, serviced components, .NET remoting objects, and XML Web services Consuming and manipulating data Testing and debugging Deploying Windows services, serviced components, .NET remoting objects, and XML Web services YOUR KIT INCLUDES: 60-day evaluation version of Microsoft Visual Studio? .NET Professional Edition development software on DVD Testing tool that generates timed, 50-question practice exams featuring scenarios and case studies for both Visual Basic .NET and C# programmers, plus automated scoring Comprehensive self-paced study guide that maps to MCP exam goals and objectives Learn-by-doing exercises for skills you can apply to the job Fully searchable eBook For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.

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 xxvii
Professional
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 4 (2)
Its Role in .NET
Understanding the .NET Framework 6 (2)
Architecture
Understanding the Common Language Runtime 8 (4)
Common Language Runtime Architecture 8 (1)
Common Language Runtime Components 9 (3)
Understanding the Managed Execution 12 (9)
Process
Defining the Managed Execution Process 12 (1)
Automatic Memory Management 12 (9)
Understanding Assemblies and the Global 21 (6)
Assembly Cache
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 31 (2)
Run-Time Hosts
Understanding Processes and Application 31 (1)
Domains
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 40 (1)
MSIL
Exercise 1: Creating a Single-File 40 (1)
Assembly
Exercise 2: Using Ildasm to Examine the 41 (2)
MSIL Code
Exercise 3: Creating a Multiple-File 43 (3)
Assembly
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 50 (1)
Applications and Other Visual Studio
.NET Applications
Programming Model of Windows Service 50 (4)
Applications
Creating Windows Services 54 (10)
Creating a Windows Service Application 54 (2)
Changing the Default Properties of a 56 (2)
Windows Service Application
Adding Functionality to a Service 58 (6)
Application
Handling Events and Logging Information 64 (10)
from a Windows Service Application
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 74 (10)
Context, and Installing and Uninstalling
a Windows Service
Understanding the Role of Installers 74 (1)
Adding Installers 75 (6)
Specifying Security Context for a 81 (1)
Service Application
Installing and Uninstalling a Windows 81 (3)
Service
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 102 (1)
Services
Exercise 1: Creating and Installing a 102 (5)
Windows Service
Exercise 2: Creating a Client 107 (5)
Application
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 134 (13)
Serviced Components
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 155 (14)
Component Services Tool
Component Services Tool 155 (4)
Configuring Activation Using the 159 (2)
Component Services Tool
Configuring Transactions Using the 161 (2)
Component Services Tool
Configuring Security Using the 163 (6)
Component Services Tool
Implementing Security for Serviced 169 (28)
Components
Implementation of Security for Serviced 169 (1)
Components
Role-Based Security 169 (2)
Component Level Security Checks in 171 (1)
Applications
Implementing Component Security 172 (1)
Programmatically
Security Call Context Information 172 (3)
Interoperability Between COM+ Security 175 (1)
Services and the .NET Framework
Summary 176 (1)
Lab: Creating, Configuring, and 177 (1)
Managing Serviced Components
Exercise 1: Creating a Serviced 177 (7)
Component
Exercise 2: Creating the Client 184 (6)
Application
Exercise 3: Creating the Accounts Table 190 (1)
Exercise 4: Configuring Serviced 191 (2)
Components Using the Component Services
Tool
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 200 (1)
Boundaries
The .NET Remoting Architecture 201 (1)
Remotable and Nonremotable Objects 202 (2)
Implementing Server-Activated and 204 (9)
Client-Activated Objects
Understanding Remote Object Activation 204 (6)
Using Lifetime Leases 210 (2)
Scope of Publication 212 (1)
Transporting Messages Across Application 213 (11)
Domains Using Channels
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 225 (4)
Remoting Applications
Implementing Asynchronous Methods 229 (3)
Asynchronous Methods 229 (1)
Implementing Asynchronous Methods in 230 (2)
Remoting Applications
Configuring and Securing .NET Remoting 232 (17)
Objects
Remote Object Configuration 232 (2)
Securing .NET Remoting Objects 234 (2)
Summary 236 (1)
Lab: Creating and Consuming .NET 237 (1)
Remoting Objects
Exercise 1: Create the 237 (3)
ChatCoordinator.dll Library
Exercise 2: Create a Configuration File 240 (1)
for Configuring the ChatCoordinator
Object
Exercise 3: Create a Console 240 (1)
Application to Activate the
ChatCoordinator Object
Exercise 4: Create a Chat Client 241 (3)
Exercise 5: Create a Configuration File 244 (1)
to Configure the ChatClient Object
Exercise 6: Executing the Chat 244 (3)
Application
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 268 (5)
the Data Adapter Configuration Wizard
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 284 (1)
Components
Exercise 1: Creating the Airline 284 (4)
Database
Exercise 2: Creating Data Access 288 (5)
Components
Exercise 3: Creating a Remote Data 293 (3)
Access Component
Exercise 4: Creating a Windows Service 296 (2)
to Host the Remote Data Access Component
Exercise 5: Creating a Remote Client 298 (5)
Application
Review 303 (2)
Accessing and Manipulating XML Data 305 (64)
Understanding the XML Document Object 306 (8)
Model
Overview of the XML Document Object 306 (1)
Model
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 330 (4)
XmlValidatingReader
Reading XML Fragments Using 334 (3)
XmlValidatingReader
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 346 (18)
Catalog Windows Application
Exercise 3: Running the Product Catalog 364 (3)
Application
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 373 (2)
the XML Web Service
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 396 (1)
Discovery Mechanism
Configuring Discovery Information for a 397 (2)
Web Service
Consuming an XML Web Service 399 (32)
Consuming an XML Web Service 399 (3)
Consuming the Methods Exposed by a Web 402 (13)
Service
Summary 415 (1)
Lab: Creating and Consuming XML Web 416 (1)
Services
Exercise 1: Creating an XML Web Service 416 (7)
Exercise 2: Creating a Windows Client 423 (6)
Application
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 432 (6)
Method Using Attributes
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 434 (1)
Method
Enabling a Session State for a Web 435 (1)
Method
Identifying Overloaded Web Methods 436 (1)
Using an Alias
Enabling a Web Method to Participate as 436 (2)
the Root Object of a Transaction
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 453 (1)
Web.config File
Using the Elements of the Web.config 454 (1)
File to Configure a Web Service
Securing a Web Service 455 (2)
Summary 457 (1)
Lab: Implementing Transactions, 458 (1)
Asynchronous Methods, and SOAP
Extensions
Exercise 1: Creating the LabTest 458 (2)
Database and Authors Table
Exercise 2: Implementing the 460 (1)
Transaction Property of the WebMethod
Attribute
Exercise 3: Implementing a SOAP 461 (9)
Extension in an XML Web Service
Exercise 4: Creating the XML Web 470 (3)
Service Client
Exercise 5: Calling Web Methods 473 (14)
Asynchronously
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 494 (15)
Tools
Introduction to the Visual Studio .NET 494 (1)
Debugging Process
Debugging Visual Studio .NET 495 (5)
Applications Using the DbgClr Tool
Debugging .NET Applications Using the 500 (3)
CorDbg Tool
Debugging XML Web Services in Visual 503 (6)
Studio .NET
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 519 (14)
Satellite Assemblies and Test Data
Overview of Satellite Assemblies 519 (1)
Creating Satellite Assemblies 520 (2)
Compiling Satellite Assemblies with 522 (1)
Strong Names
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 530 (2)
Web Service
Review 532 (1)
Deploying XML Web Services and Windows 533 (46)
Services
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 554 (5)
Module Project
Deploying .NET Components and 559 (2)
Applications Using a Cabinet Project
Registering and Locating Components and 561 (6)
Assemblies
Registering Components and Assemblies 561 (3)
Locating Assemblies 564 (3)
Implementing Versioning and Side-by-Side 567 (12)
Deployment
Implementing Versioning in Assemblies 567 (2)
Deploying Multiple Versions of an 569 (4)
Assembly in the Global Assembly Cache
Summary 573 (1)
Lab: Creating Setup Projects 574 (1)
Exercise 1: Creating a Setup Project 574 (2)
Exercise 2: Deploying a Web Service 576 (1)
with a Web Setup Project
Review 577 (2)
Appendix A: Questions and Answers 579 (22)
Chapter 1: Understanding the .NET 579 (2)
Framework
Chapter 2: Creating and Managing Windows 581 (3)
Services
Chapter 3: Creating and Consuming 584 (5)
Serviced Components
Chapter 4: Creating and Consuming .NET 589 (2)
Remoting Objects
Chapter 5: Database Programming Using 591 (1)
ADO.NET
Chapter 6: Accessing and Manipulating XML 592 (1)
Data
Chapter 7: Creating and Consuming XML Web 593 (2)
Services
Chapter 8: Advanced XML Web Services 595 (1)
Programming
Chapter 9: Testing and Debugging XML Web 596 (2)
Services
Chapter 10: Deploying XML Web Services 598 (3)
and Windows Services
Appendix B: COM Interoperability 601 (4)
Accessing COM Components from Managed Code 601 (4)
Glossary 605 (8)
Index 613