You are previewing Developing XML Web Services and Server Components with Visual C# .NET and the .NET Framework, Exam Cram 2 (Exam 70-320).
O'Reilly logo
Developing XML Web Services and Server Components with Visual C# .NET and the .NET Framework, Exam Cram 2 (Exam 70-320)

Book Description

This certification exam measures your ability to develop and implement XML Web Services and server components using Visual C# and the Microsoft .NET Framework. This exam counts as a core credit toward the new MCAD (Microsoft Certified Application Developer) certification as well as a core credit toward the new MCSD .NET track. This book is not intended to teach new material. Instead it assumes that you have a solid foundation of knowledge but can use a refresher on important concepts as well as a guide to exam topics and objectives. This book focuses exactly on what you need to pass the exam - it features test-taking strategies, time-saving study tips, and a special Cram Sheet that includes tips, acronyms, and memory joggers not available anywhere else. The series is supported online at several Web sites: examcram.com, informit.com, and cramsession.com.

The accompanying CD features PrepLogicâ„¢ Practice Tests, Preview Edition. This product includes one complete PrepLogic Practice Test with approximately the same number of questions found on the actual vendor exam. Each question contains full, detailed explanations of the correct and incorrect answers. The engine offers two study modes, Practice Test and Flash Review, full exam customization, and a detailed score report.

Table of Contents

  1. Copyright
    1. Dedication
  2. A Note from Series Editor Ed Tittel
  3. About the Authors
  4. About the Technical Editors
  5. Acknowledgments
  6. We Want to Hear from You!
  7. Introduction
    1. Taking a Certification Exam
    2. Tracking MCP Status
    3. How to Prepare for the Exam
      1. What This Book Will Not Do
      2. What This Book Is Designed to Do
    4. About This Book
      1. Chapter Formats
  8. Self-Assessment
    1. Microsoft Developer Certifications for Microsoft .NET
      1. The MCAD Certification
        1. MCAD Core Exams
        2. MCAD Elective Exams
        3. The Ideal MCAD Candidate
      2. The MCSD for Microsoft .NET Certification
        1. MCSD for Microsoft .NET Track Core Exams
        2. MCSD for Microsoft .NET Track Elective Exams
        3. The Ideal MCSD for Microsoft .NET Candidate
    2. Put Yourself to the Test
    3. Onward, Through the Fog!
  9. 1. Microsoft Certification Exams
    1. Assessing Exam-Readiness
    2. What to Expect at the Testing Center
    3. Exam Layout and Design: New Case Study Format
      1. Multiple-Choice Question Format
      2. Build-List-and-Reorder Question Format
      3. Create-a-Tree Question Format
      4. Drag-and-Connect Question Format
      5. Select-and-Place Question Format
    4. Microsoft's Testing Formats
    5. Strategies for Various Testing Formats
      1. Case Study Exam Strategy
      2. Fixed-Length and Short-Form Exam Strategy
      3. Adaptive Exam Strategy
    6. Question-Handling Strategies
    7. Mastering the Inner Game
    8. Additional Resources
  10. 2. Consuming and Manipulating DataSets
    1. The ADO.NET Object Model
    2. Data Provider Classes
      1. The SqlConnection Class
      2. The SqlCommand and SqlParameter Classes
      3. The SqlDataReader Class
      4. The SqlDataAdapter Class
    3. The DataSet Classes
      1. The DataTable Class
      2. The DataRelation Class
      3. The DataRow Class
      4. The DataColumn Class
      5. The DataView Class
    4. Using DataSet Objects
      1. Using DataSet Objects with Multiple Tables
      2. Finding and Sorting Data in DataSet Objects
    5. Editing Data with ADO.NET
      1. Updating Data
      2. Adding Data
      3. Deleting Data
    6. Handling Data Errors
      1. Handling Database Errors
      2. Handling Multiuser Errors
    7. Strongly Typed DataSet Objects
    8. Manipulating a DataSet Schema
      1. Creating a DataSet Schema
      2. Using Simple Types
    9. Manipulating DataSet Relationships
      1. Adding Keys to a DataSet Schema
      2. One-to-Many Relationships
      3. Nested Relationships
      4. Creating a Strongly Typed DataSet from a DataSet Schema
    10. Exam Prep Questions
    11. Need to Know More?
  11. 3. Accessing and Manipulating XML Data
    1. Accessing an XML File
      1. Understanding the DOM
      2. Using an XmlReader Object
      3. The XmlNode Class
      4. The XmlDocument Class
    2. The XmlDataDocument Class
    3. Understanding XPath
      1. The XPath Language
      2. Using the XPathNavigator Class
        1. Selecting Nodes with XPath
        2. Navigating Nodes with XPath
    4. Generating and Using XSD Schemas
      1. Generating an XSD Schema
      2. Using an XSD Schema
    5. Using XML with SQL Server
      1. Using ExecuteXmlReader() Method
      2. Updating SQL Server Data by Using XML
    6. Exam Prep Questions
    7. Need to Know More?
  12. 4. .NET Remoting
    1. Using the .NET Framework to Develop Distributed Applications
    2. .NET Remoting Architecture
      1. Object Marshaling
        1. Marshal-by-Value Objects
        2. Marshal-by-Reference Objects
      2. Channels
      3. Formatters
      4. Remote Object Activation
      5. Lifetime Leases
    3. Applying .NET Remoting
      1. Creating a Remotable Class
      2. Creating a Server-Activated Object
        1. Using the SingleCall Activation Mode to Register a Remotable Class As a Server-Activated Object
        2. Instantiating and Invoking a Server-Activated Object
        3. Using the Singleton Activation Mode to Register a Remotable Class As a Server-Activated Object
      3. Creating a Client-Activated Object
        1. Registering a Remotable Class As a Client-Activated Object
        2. Instantiating and Invoking a Client-Activated Object
      4. Using Configuration Files to Configure the Remoting Framework
        1. Server-Side Configuration
        2. Client-Side Configuration
      5. Using IIS As an Activation Agent
    4. Asynchronous Remoting
    5. Exam Prep Questions
    6. Need to Know More?
  13. 5. Basic Web Services
    1. Understanding Web Services
      1. SOAP
      2. Disco and UDDI
      3. WSDL
      4. Invoking a Web Service
    2. Creating Web Services
      1. Creating a Web Service Project
      2. Testing the Web Service Project
    3. Customizing the WebMethod Attribute
    4. Using Web Services
      1. Discovering Web Services with Disco and UDDI
      2. Using the Web Services Discovery Tool (disco.exe)
    5. Creating Proxy Classes with the Web Services Description Language Tool (wsdl.exe)
      1. Using Web References
      2. Testing a Web Service
    6. Exam Prep Questions
    7. Need to Know More?
  14. 6. Advanced Web Services
    1. Creating and Using SOAP Extensions
    2. Testing the SOAP Extensions
    3. Creating Asynchronous Web Methods
      1. Using a Callback Delegate
      2. Using the WaitHandle Object
    4. Controlling XML Wire Format
      1. Using Literal Parameter Formatting
      2. Using Encoded Parameter Formatting
      3. Using RPC-Style Body Formatting
      4. Wrapped and Bare Parameters
      5. Using the XmlElement Attribute
    5. Exam Prep Questions
    6. Need to Know More?
  15. 7. Windows Services
    1. Introduction
    2. Understanding Windows Services
    3. Architecture of Windows Services
    4. The FCL Support for Windows Services
    5. The ServiceBase Class
      1. Understanding How the SCM Interacts with a Windows Service
      2. Creating the Windows Service Application
    6. Installing a Windows Service
      1. The ServiceProcessInstaller and the ServiceInstaller Classes
      2. Adding Installer Classes to a Windows Service Project
      3. Using the Installer Tool (installutil.exe) to Install a Windows Service Application
        1. Starting and Testing a Windows Service
    7. Using Tools to Monitor and Control a Windows Service
      1. Using the Services MMC Snap-In
      2. Using Visual Studio .NET Server Explorer
      3. Using the NET Utility (net.exe)
      4. Using the Service Control Utility (sc.exe)
    8. Controlling a Windows Service
    9. Exam Prep Questions
    10. Need to Know More?
  16. 8. Component Services
    1. COM+ Services
    2. Exposing .NET Components to COM/COM+
      1. Calling a .NET Component from COM/COM+
      2. Exporting .NET Components As COM Type Libraries
    3. Architecture of Component Services
      1. Serviced Components
      2. Declarative Programming Model
      3. COM+ Applications
      4. COM+ Catalog
      5. Serviced Component Activation
    4. Creating and Consuming a Serviced Component
      1. Creating a Serviced Component
      2. Consuming a Serviced Component
    5. Understanding and Using Enterprise Services
      1. Object Pooling
      2. Just-in-Time Activation
      3. Design Considerations for Using Just-in-Time Activation
      4. Automatic Transaction Processing
      5. Queued Components
    6. Exam Prep Questions
    7. Need to Know More?
  17. 9. Calling Unmanaged Code
    1. COM Components
      1. Understanding Runtime Callable Wrappers (RCW)
      2. Using the Type Library Importer Tool (tlbimp.exe)
      3. Using COM Components Directly
    2. Platform Invoke
    3. Exam Prep Questions
    4. Need to Know More?
  18. 10. Testing and Debugging
    1. Testing
    2. Tracing
      1. Using the Trace and Debug Classes
      2. Trace Listeners
      3. Trace Switches
      4. Conditional Compilation
    3. ASP.NET Tracing
    4. Debugging
      1. Setting Breakpoints and Stepping Through Program Execution
      2. Analyzing Program State to Resolve Errors
      3. Debugging on Exceptions
      4. Debugging a Running Process
      5. Debugging a Remote Process
      6. Debugging the Code in DLL Files
      7. Debugging Client-Side Scripts
      8. Debugging a Windows Service
      9. Debugging a Serviced Component
      10. Debugging a .NET Remoting Object
      11. Debugging an XML Web Service
    5. Working with Event Logs
    6. Working with Performance Counters
    7. Exam Prep Questions
    8. Need to Know More?
  19. 11. Deployment
    1. Deploying Private Assemblies
      1. Binding Policy for Privately Deployed Assemblies
      2. How the CLR Binds to a Privately Deployed Assembly
      3. Using the .NET Framework Configuration Tool to Specify Additional Probing Location
    2. Deploying Shared Assemblies
      1. Assigning a Strong Name to an Assembly
      2. Adding an Assembly to the GAC
      3. Binding Policy for Shared Assemblies
      4. How the CLR Binds to a Shared Assembly
    3. Delay Signing an Assembly
      1. Using the Assembly Generation Tool for Delay Signing
    4. Packaging a .NET Application for Deployment
      1. Packaging an Application for Deployment by Copying the Files
      2. Using Microsoft Windows Installer to Package an Application for Deployment
      3. Customizing Visual Studio .NET Setup and Deployment Projects
    5. Deploying a Web Service
    6. Deploying a Windows Service
    7. Deploying a Serviced Component
    8. Deploying a .NET Remoting Object
    9. Installation Components
    10. Exam Prep Questions
    11. Need to Know More?
  20. 12. Security Issues
    1. Configuring Security
      1. Understanding Code Access Security
        1. Permissions
        2. Code Groups and Permission Sets
        3. Granting Permission
        4. Imperative Security
        5. Computing Permissions
        6. Requesting Other Types of Permissions
      2. Using Custom Security Attributes
    2. Configuring Authentication
      1. No Authentication
      2. IIS and ASP.NET Authentication
      3. Authentication Providers
      4. Configuring Windows Authentication
      5. Passport Authentication
      6. Forms Authentication
    3. Configuring Authorization
      1. Implementing Impersonation
        1. Using Role-Based Authorization
    4. Security for Windows Services
    5. Security for Web Services
      1. Platform and Application Security
      2. Configuring Web Services for Security
    6. Remoting Security
    7. Enterprise Services Security
    8. Exam Prep Questions
    9. Need to Know More?
  21. 13. Practice Exam #1
    1. How to Take the Practice Exams
    2. Exam-Taking Tips
    3. Practice Exam
  22. 14. Answer Key for Practice Exam #1
    1. Answer Key
    2. Detailed Answers
  23. 15. Practice Exam #2
  24. 16. Answer Key for Practice Exam #2
    1. Answer Key
    2. Detailed Answers
  25. A. What's on the CD-ROM
    1. PrepLogic Practice Tests, Preview Edition
    2. An Exclusive Electronic Version of the Text
    3. Complete Code Samples
  26. B. Using the PrepLogic Practice Tests, Preview Edition Software
    1. Exam Simulation
    2. Question Quality
    3. Interface Design
    4. Effective Learning Environment
    5. Software Requirements
    6. Installing PrepLogic Practice Tests, Preview Edition
      1. Removing PrepLogic Practice Tests, Preview Edition from Your Computer
    7. Using PrepLogic Practice Tests, Preview Edition
      1. Starting a Practice Test Mode Session
      2. Starting a Flash Review Mode Session
      3. Standard PrepLogic Practice Tests, Preview Edition Options
      4. Time Remaining
      5. Your Examination Score Report
      6. Review Your Exam
    8. Get More Exams
      1. Contacting PrepLogic
    9. Customer Service
      1. Product Suggestions and Comments
      2. License Agreement
  27. Glossary
  28. The Exam 70-320 Cram Sheet