Cover image for Microsoft visual studio 2005 professional edition
Title:
Microsoft visual studio 2005 professional edition
Personal Author:
Publication Information:
Redmond, WA : Microsoft Press, 2005
Physical Description:
1 DVD-ROM ; 12 cm.
ISBN:
9780735623323
General Note:
Accompanies text entitle : MCTS self-paced training kit (Exam 70-529) : Microsoft.NET framework 2.0 distibuted application development :(QA76.9.D5 M674 2007)

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010148548 CP 10187 Computer File Accompanies Open Access Book Compact Disc Accompanies Open Access Book
Searching...

On Order

Summary

Summary

EXAM PREP GUIDE

Ace your preparation for the skills measured by MCTS Exam 70-529--and on the job. Work at your own pace through a series of lessons and reviews that fully cover each exam objective. Then, reinforce what you've learned by applying your knowledge to real-world case scenarios and labs. This official Microsoft study guide is designed to help you make the most of your study time.

Maximize your performance on the exam by learning to:

Configure, customize, and deploy a Web service application Format and extend XML Web services with customized SOAP headers and extensions Create, debug, and host remoting server and client applications Invoke methods and manage events with .NET Remoting or .NET Web Services Enable Web Services Enhancements 3.0 and add digital signatures to SOAP messages Create serviced components and manage message queues

PRACTICE TESTS

Assess your skills with practice tests on CD. You can work through hundreds of questions using multiple testing modes to meet your specific learning needs. You get detailed explanations for right and wrong answers?including a customized learning path that describes how and where to focus your studies.

Your kit includes:

Official self-paced study guide. Practice tests with multiple, customizable testing options and a learning plan based on your results. 400+ practice and review questions. Case scenarios and lab exercises. Microsoft Visual Basic and Visual C# code samples on CD. 90-day evaluation version of Microsoft Visual Studio 2005 Professional Edition. Fully searchable eBook of this guide.

For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.


Author Notes

Bill Ryan is an MVP for Windows Embedded and a frequent speaker at industry events including Microsoft Code Camps and .NET User?s Groups. GrandMasters is an IT consulting firm specializing in content development, exam development, and customized technical support.


Table of Contents

Introductionp. xxvii
Hardware Requirementsp. xxvii
Software Requirementsp. xxviii
Installing SQL Server 2005 Expressp. xxx
Installing the Adventure Works Databasep. xxxi
Using the CD and DVDp. xxxi
How to Install the Practice Testsp. xxxii
How to Use the Practice Testsp. xxxii
Microsoft Certified Professional Programp. xxxiv
Technical Supportp. xxxiv
Foundation Edition Software Supportp. xxxv
1 Creating an XML Web Servicep. 1
Before You Beginp. 1
Lesson 1 How to Create a Web Servicep. 3
What Is a Web Service?p. 3
How to Create a New Web Service Projectp. 4
The WebMethods Frameworkp. 7
Lab 1 Creating a Web Service Project Using Visual Studiop. 11
Lesson Summaryp. 13
Lesson Reviewp. 13
Lesson 2 How to Create a Web Service Methodp. 15
Applying the WebMethod Attributep. 15
Configuring a Web Service Methodp. 16
Creating a One-Way Methodp. 17
Lab 2 Creating a Public Web Service Methodp. 20
Lesson Summaryp. 22
Lesson Reviewp. 23
Lesson 3 How to Test and Consume a Web Servicep. 24
Testing Your Web Servicep. 24
Consuming a Web Servicep. 28
Lab 3 Testing and Consuming a Web Servicep. 29
Lesson Summaryp. 31
Lesson Reviewp. 31
Chapter Reviewp. 33
Chapter Summaryp. 33
Key Termsp. 33
Case Scenariosp. 34
Case Scenario 1 Deciding to Use Web Servicesp. 34
Case Scenario 2 Testing your Web Servicep. 34
Suggested Practicesp. 34
Take a Practice Testp. 35
2 Extending XML Web Services with SOAP Formatting, Custom Headers, and Extensionsp. 37
Before You Beginp. 38
Lesson 1 How to Configure SOAP Messagesp. 39
Configuring SOAP Messagesp. 39
Customizing SOAP Messages with XML Serializationp. 49
Lab 1 How to Configure SOAP Messagesp. 52
Lesson Summaryp. 54
Lesson Reviewp. 54
Lesson 2 How to Implement SOAP Headersp. 56
What Is a SOAP Header?p. 56
Adding a Custom SOAP Header Classp. 57
Building a Client that Processes the SOAP Headerp. 60
How to Handle Unknown SOAP Headersp. 62
Lab 2 How to Implement a Custom SOAP Headerp. 63
Lesson Summaryp. 70
Lesson Reviewp. 70
Lesson 3 How to Implement SOAP Extensionsp. 72
What Is a SOAP Extension?p. 72
Creating a Custom SOAP Extension Classp. 74
Configuring the SOAP Extensionp. 78
Lab 3 How to Implement a Custom SOAP Extensionp. 80
Lesson Summaryp. 85
Lesson Reviewp. 85
Chapter Reviewp. 87
Chapter Summaryp. 87
Key Termsp. 88
Case Scenariosp. 88
Case Scenario 1 Creating a Custom SOAP Headerp. 88
Case Scenario 2 Creating a SOAP Extensionp. 88
Suggested Practicesp. 89
Take a Practice Testp. 89
3 Configuring and Publishing XML Web Servicesp. 91
Before You Beginp. 92
Lesson 1 How to Manage State in a Web Servicep. 93
Using the Application Objectp. 93
Using the Session Objectp. 95
Handling Session State on the Client with Cookiesp. 96
Performance Implicationsp. 99
Lab 1 Using the Session Object to Maintain State in a Web Servicep. 99
Lesson Summaryp. 101
Lesson Reviewp. 102
Lesson 2 How to Configure a Web Service Applicationp. 104
Using a Configuration Filep. 104
Using the Machine.config Filep. 107
Configuring the Session State Modep. 108
Lab 2 Configuring a Web Service Applicationp. 109
Lesson Summaryp. 110
Lesson Reviewp. 111
Lesson 3 How to Deploy and Publish a Web Servicep. 112
Publishing Your Web Servicep. 112
Using a Static Discovery Filep. 113
Using a Dynamic Discovery Filep. 114
Deploying a Web Service Applicationp. 115
Lab 3 Deploying a Web Service Using a Web Setup Projectp. 117
Lesson Summaryp. 119
Lesson Reviewp. 119
Chapter Reviewp. 121
Chapter Summaryp. 121
Key Termsp. 122
Case Scenariosp. 122
Case Scenario 1 Creating a Session Variable to Store the Selected Vendor IDp. 122
Case Scenario 2 Creating a Custom Service Help Page for All Your Web Servicesp. 122
Case Scenario 3 Creating Setup Projects to Deploy Your Web Servicesp. 123
Suggested Practicesp. 123
Take a Practice Testp. 124
4 Creating a Remoting Server Applicationp. 125
Before You Beginp. 126
Lesson 1 Remoting Basicsp. 127
What Is Remoting?p. 127
Types of Remote Objectsp. 129
Hosting a Remote Server Applicationp. 129
Activating Your Remote Objectp. 130
Selecting a Communication Channelp. 131
Marshal-by-Valuep. 132
Creating a Remote Server Objectp. 132
Lab 1 Creating a Remote Server Applicationp. 136
Lesson Summaryp. 139
Lesson Reviewp. 140
Lesson 2 How to Configure a Server Application Programmaticallyp. 141
Specifying the Name of the Server Applicationp. 142
Registering the Remote Objectp. 142
Configuring Versioningp. 144
Registering a Communication Channelp. 145
Lab 2 How to Configure a Remote Server Application Programmaticallyp. 147
Lesson Summaryp. 150
Lesson Reviewp. 150
Lesson 3 How to Configure a Server Application with a Configuration Filep. 152
Creating a Configuration Filep. 152
The Application Elementp. 156
Configuring Versioningp. 158
Configuring Formattingp. 158
Configuration Examplesp. 159
Lab 3 How to Configure a Server Application Using a Configuration Filep. 161
Lesson Summaryp. 162
Lesson Reviewp. 162
Chapter Reviewp. 164
Chapter Summaryp. 164
Key Termsp. 164
Case Scenariosp. 165
Case Scenario 1 Suggesting a Distributed Technologyp. 165
Case Scenario 2 Using a Configuration File to Configure Your Remoting Applicationp. 165
Suggested Practicesp. 165
Take a Practice Testp. 166
5 Creating a Remoting Client Applicationp. 167
Before You Beginp. 167
Lesson 1 Creating a Client Application to Access a Remote Objectp. 169
How to Create a Client Instance of a Remote Objectp. 169
How to Configure a Client Application Programmaticallyp. 171
Lab 1 Creating a Client Applicationp. 185
Lesson Summaryp. 191
Lesson Reviewp. 192
Lesson 2 How to Configure a Client Application Using a Configuration Filep. 193
Configuring the Communication Channelp. 197
Configuring the Activation Modep. 201
Lab 2 Creating a Client Applicationp. 205
Lesson Summaryp. 207
Lesson Reviewp. 208
Lesson 3 How to Access a Remote Methodp. 209
Lab 3 How to Access a Remote Methodp. 210
Lesson Summaryp. 212
Lesson Reviewp. 212
Chapter Reviewp. 214
Chapter Summaryp. 214
Key Termsp. 215
Case Scenariosp. 215
Case Scenario 1 Creating a Secure Globally Distributed Applicationp. 215
Case Scenario 2 Improving the Remoting Client Using Interfacesp. 216
Suggested Practicesp. 216
Take a Practice Testp. 217
6 Debugging and Deploying Remote Applicationsp. 219
Before You Beginp. 219
Lesson 1 How to Deploy a Remoting Applicationp. 222
.NET Remoting Deploymentp. 222
Hosting Remote Objectsp. 222
Deploying Remote Objectsp. 225
Creating a Web Setup Projectp. 228
Lab 1 Creating and Installing a Web Setup Projectp. 235
Lesson Summaryp. 237
Lesson Reviewp. 237
Lesson 2 How to Debug a Remoting Applicationp. 239
Visual Studio 2005 Debuggerp. 239
The RemotingException Classp. 242
Using Performance Countersp. 243
.NET Remoting Tracking Servicesp. 246
Lab 2 Debugging a Remoting Applicationp. 249
Lesson Summaryp. 253
Lesson Reviewp. 253
Lesson 3 How to Manage the Lifetime of Remote Objectsp. 255
Lab 3 Managing the Lifetime of Remote Objectsp. 261
Lesson Summaryp. 261
Lesson Reviewp. 261
Chapter Reviewp. 263
Chapter Summaryp. 263
Key Termsp. 264
Case Scenariosp. 264
Case Scenario 1 Tracking and Improving the Performance of a Distributed Applicationp. 264
Case Scenario 2 Simplifying Remote Object Deploymentp. 265
Suggested Practicesp. 265
Take a Practice Testp. 266
7 Method Invocations and Event Management with .NET Web Servicesp. 267
Before You Beginp. 268
Lesson 1 Calling Web Methodsp. 269
Calling a Web Method Synchronouslyp. 269
Calling a Web Method Asynchronouslyp. 272
Lab 1 Calling a Web Methodp. 280
Lesson Summaryp. 281
Lesson Reviewp. 282
Lesson 2 Polling Web Methods for Completionp. 284
Pollingp. 284
Begin[left angle bracket]methodName[right angle bracket] and IAsyncResultp. 285
Lab 2 Calling a Web Method Asynchronouslyp. 290
Lesson Summaryp. 292
Lesson Reviewp. 293
Chapter Reviewp. 295
Chapter Summaryp. 295
Key Termsp. 296
Case Scenariosp. 296
Case Scenario 1 Exposing Functionality Through .NET Web Servicesp. 296
Case Scenario 2 Refining the Use of Web Servicesp. 298
Suggested Practicesp. 298
Take a Practice Testp. 299
8 Method Invocations and Event Management with .NET Remotingp. 301
Before You Beginp. 302
Lesson 1 Calling Remoting Methodsp. 303
Calling a Remoting Method Synchronouslyp. 304
Stateless Invocation Using One-Way Callsp. 306
Calling a Remoting Method Asynchronouslyp. 309
Lab 1 Invoking a Remoting Methodp. 311
Lesson Summaryp. 317
Lesson Reviewp. 317
Lesson 2 Callbacks and Remotingp. 319
Pollingp. 319
Determining Whether an Asynchronous Call Has Finishedp. 320
Polling for Completionp. 322
Polling Using a Callback Methodp. 324
Lab 2 Calling a Remoting Method Asynchronouslyp. 327
Lesson Summaryp. 334
Lesson Reviewp. 334
Lesson 3 Implementing and Responding to Eventsp. 336
Handled Remote Eventsp. 337
Lab 3 Handle Events from a Remote Objectp. 339
Lesson Summaryp. 345
Lesson Reviewp. 345
Chapter Reviewp. 347
Chapter Summaryp. 347
Key Termsp. 347
Case Scenariosp. 348
Case Scenario 1 Building Robust, Scalable Enterprise Applicationsp. 348
Suggested Practicesp. 349
Take a Practice Testp. 349
9 Web Services Enhancements 3.0 in Client and Server Applicationsp. 351
Before You Beginp. 352
Lesson 1 Enabling and Referencing WSE 3.0p. 354
Adding References to WSE Assemblies in Client Applicationsp. 356
Inheriting from the WebServicesClientProtocol Classp. 358
Editing the Proxy Classp. 360
Lab 1 Adding WSE 3.0 to a Projectp. 362
Lesson Summaryp. 363
Lesson Reviewp. 363
Lesson 2 Using soapExtensionTypesp. 365
Configuration File Structurep. 366
Adding a Child Element with the [left angle bracket]add[right angle bracket] Elementp. 369
Specifying a Priorityp. 369
Specifying a Groupp. 369
Lab 2 Creating a Class That Inherits from WebServicesClientProtocolp. 370
Lesson Summaryp. 377
Lesson Reviewp. 377
Lesson 3 Using Digital Signatures to Ensure Message Integrityp. 379
Digital Signature Basicsp. 379
X.509 Certificatesp. 381
Kerberos Tokenp. 381
UserNameTokenp. 382
Lab 3 Creating a Policy for Digital Signaturesp. 383
Lesson Summaryp. 388
Lesson Reviewp. 389
Chapter Reviewp. 390
Chapter Summaryp. 390
Key Termsp. 390
Case Scenariosp. 391
Case Scenario 1 Where Does WSE Fit into My Application Development Strategy?p. 391
Case Scenario 2 Refining the Process?p. 392
Suggested Practicesp. 393
Take a Practice Testp. 393
10 WSE Securityp. 395
Before You Beginp. 396
Lesson 1 Web Service Policyp. 399
Creating a Policyp. 400
Using a Policy Filep. 406
Lab 1 Configuring Securityp. 406
Lesson Summaryp. 408
Lesson Reviewp. 409
Lesson 2 Custom Policiesp. 410
Overviewp. 410
Basic Encryptionp. 411
Creating a Custom Policy Assertionp. 413
Encryption with a Security Tokenp. 421
Decryptionp. 424
Using a Security Token Issuing Servicep. 424
Lab 2 Signing and Encrypting a Message Exchange Using Custom Policyp. 427
Lesson Summaryp. 439
Lesson Reviewp. 440
Lesson 3 Message Filtersp. 441
Message Filters Overviewp. 442
Implementation and Migrationp. 443
Lab 3 Creating a Custom Filterp. 446
Lesson Summaryp. 448
Lesson Reviewp. 448
Chapter Reviewp. 450
Chapter Summaryp. 450
Key Termsp. 452
Case Scenariop. 452
Case Scenario 1 How Secure Is Secure Enough?p. 452
Suggested Practicesp. 454
Take a Practice Testp. 454
11 Messaging and Routingp. 455
Before You Beginp. 456
Lesson 1 How to Configure WSE Messagingp. 457
WSE Soap Messagingp. 457
Selecting a Communication Protocolp. 458
Implementing One-Way Messagingp. 459
Implementing Two-Way (Bidirectional) Messagingp. 463
Sending Attachmentsp. 466
Lab 1 Data Transfer with MTOMp. 469
Lesson Summaryp. 479
Lesson Reviewp. 479
Lesson 2 How to Create a WSE Routerp. 481
What Is a WSE Router?p. 481
Creating a WSE Router Applicationp. 482
Configuring the WSE Router Applicationp. 484
Configuring a Referral Cache for Routingp. 486
Lab 2 Creating a WSE Routerp. 489
Lesson Summaryp. 492
Lesson Reviewp. 492
Lesson 3 How to Add and Verify Security Credentialsp. 494
Why Add Security Credentials?p. 494
Adding Security Credentials Using an X.509 Certificatep. 494
Other Security Tokensp. 498
Verifying the Security Credentialp. 499
Lab 3 Adding Security to Your WSE Routerp. 500
Lesson Summaryp. 502
Lesson Reviewp. 503
Chapter Reviewp. 505
Chapter Summaryp. 505
Key Termsp. 506
Case Scenariosp. 506
Case Scenario 1 Performing a Server Upgradep. 506
Case Scenario 2 Selecting a Security Method for Your WSE Routerp. 506
Suggested Practicesp. 507
Implement WSE SOAP Messagingp. 507
Route SOAP Messages by using a WSE Routerp. 507
Add and Verify Security Credentialsp. 508
Take a Practice Testp. 508
12 Creating Serviced Componentsp. 509
Before You Beginp. 509
Lesson 1 Serviced Component Overviewp. 511
COM+ Servicesp. 513
Creating a Serviced Componentp. 517
Register a Serviced Componentp. 521
Adding Attributes to a Serviced Componentp. 525
Implementing Security on a Serviced Componentp. 537
Services Without Componentsp. 542
System.Transactionsp. 544
Lab 1 Building a Simple Serviced Componentp. 546
Lesson Summaryp. 552
Lesson Reviewp. 553
Lesson 2 Consuming the Serviced Componentp. 555
Referencing the Assembly that Contains the Componentp. 555
Declaring and Instantiating the Componentp. 556
Access Properties, Methods, and Events of the Componentp. 557
Lab 2 Using the Serviced Component in a Separate Applicationp. 558
Lesson Summaryp. 559
Lesson Reviewp. 559
Chapter Reviewp. 561
Chapter Summaryp. 561
Key Termsp. 561
Case Scenariop. 562
Case Scenario 1 Reliability Through Transactionsp. 562
Case Scenario 2 Optimizing Performancep. 563
Suggested Practicesp. 563
Create, Configure, and Access a Serviced Componentp. 563
Implement Security in a Serviced Componentp. 564
Using Automatic Transactionsp. 564
Take a Practice Testp. 565
13 Serviced Component Managementp. 567
Before You Beginp. 568
Lesson 1 Message Queuesp. 570
Message Queuing Basicsp. 570
Setting Up a Message Queuep. 572
Sending a Message to a Message Queuep. 577
Reading a Message from a Queuep. 586
Deleting a Messagep. 588
Sending and Receiving a Message Asynchronouslyp. 588
Sending and Receiving a Message Synchronouslyp. 588
Listening to a Queue Asynchronouslyp. 589
Sending Objects Using Messagesp. 589
Sending a Message Using Queued Componentsp. 595
Setting Permissions on a Message Queuep. 597
Peeking and Enumerating Messagesp. 602
Correlating Messagesp. 606
Rules and Triggersp. 610
Lab 1 Creating a Message and Sending It to a Queuep. 610
Lesson Summaryp. 617
Lesson Reviewp. 618
Lesson 2 Securing Messagingp. 620
Signing a Messagep. 620
Validating a Messagep. 627
Encrypting a Messagep. 631
Lab 2 Encrypting a Message and Verifying Its Authenticity After Transmissionp. 634
Lesson Summaryp. 637
Lesson Reviewp. 638
Chapter Reviewp. 640
Chapter Summaryp. 640
Key Termsp. 640
Case Scenariosp. 641
Case Scenario 1 Online Shopp. 641
Case Scenario 2 Batchesp. 642
Suggested Practicesp. 642
Create, Delete, and Set Permissions on a Message Queuep. 642
Send and Receive Messagesp. 643
Sign and Encrypt Messagesp. 644
Take a Practice Testp. 644
Answersp. 645
Glossaryp. 687
Indexp. 693