本书以MCAD/MCSD认证考试为目标,内容涵盖了MCAD/MCSD核心考试70-310的所有考试要点,尽可能详细地介绍了MCAD/MCSD应试者所应该掌握的所有技能。\r\n 本书在介绍考试要点时针对每个考试目标,使用了大量的插图、表格、试验、测试等,使读者在牢固掌握知识点的同时,轻松地获得丰富的实践经验。\r\n 本书由具有丰富MCAD/MCSD考试经验的专家编写,是参加MCAD/MCSD考试人员的必备考试教材。本书也是一本学习使用和管理Visual Basic .NET的很好的参考书,还可以作为一些疑难问题的速查手册。
1 Introduction to XML Services \r\n\r\nOverview of .NET \r\n.NET Framework \r\nASP.NET \r\nVisual Basic.NET \r\nObject-Oriented Visual Basic .NET \r\nImplementation in Visual Basic .NET \r\nInheritance \r\nOverloading \r\nException Handling \r\n.NET Assemblies \r\nAssembly Versions \r\nAssembly Deployment \r\n.NET Component Models \r\n√Two-Minute Drill \r\nQ&A Self Test \r\nSelf Test Answers \r\n\r\n2 Developing a Windows Service \r\n\r\nWindows Services Technology \r\nDeveloping a Windows Service \r\nExercise2-1:The Windows Service Skeleton \r\nExercise2-2:Implementing the Pause Event \r\nExercise2-3:The Network Testing Service \r\nWindows Services Architecture \r\nWindows Service Configuration \r\nWindows Service Control \r\nExercise2-4:The Service Controller \r\n√Two-Minute Drill\r\nQ&A Self Test \r\nSelf Test Answers \r\n\r\n3 Creating and Managing Microsoft Windows-Serviced Components \r\n\r\nComponent Services \r\nTransactions\r\nObject Pooling\r\nConstructor Strings\r\nComponent Services \r\nAssembly Component 90\r\nBuilding a Serviced Component 93\r\nExercise3-1:Building the Serviced Component \r\nExercise3-2:Create a Strong-Name Key\r\nConsuming a Serviced Component \r\nExercise3-3:Building the Consumer Application \r\n√Two-Minute Drill \r\nQ&A Self Test\r\nSelf Test Answers \r\n\r\n4 Creating and Managing Microsoft .NET Remoting Objects \r\n\r\nOverview of .NET Remoting \r\nCommunication Issues \r\nThe .NET Remoting Architecture \r\nCreating a .NET Remoting Object Using a TCP Channel \r\nExercise4-1:A .NET Remoting Server Using a TCP Channel \r\nExercise4-2:Building the Remote Server \r\nExercise4-3:Building a Client Application Using a TCP Channel \r\nExercise4-4:Using the .NET Remoting Server and Client \r\nCreating a .NET Remoting Object Using an HTTP Channel \r\nExercise4-5:Building a Remote Object Using an HTTP Channel \r\nExercise4-6:Creating the Server Configuration \r\nExercise4-7:Building the Client Application \r\nExercise4-8:Configuring the Client Application \r\nExercise4-9:Configuring IIS for Remoting \r\nClient-Activated Objects \r\nAsynchronous Methods \r\nHandling Events\r\nDelegates \r\nCallbacks \r\nExercise4-10:Asynchronous Processing \r\n√Two-Minute Drill \r\nQ&A Self Test \r\nSelf Test Answers \r\n\r\n5 Creating and Managing Microsoft XML Web Services\r\n\r\nXML Web Services Explained \r\nDistributed Applications \r\nXML Web Services in a Nutshell \r\nXML Web Services Architecture \r\nXML Web Service Provider\r\nXML Web Service Consumer\r\nXML Web Service Broker\r\nXML Web Services Programming Model\r\nCreating an XML Web Service 188\r\nExercise5-1:The First XML Web Service \r\nExercise5-2:The Web Method\r\nSetting the Web Method Attributes\r\nExercise5-3:The Project Files \r\nConsuming an XML Web Service 204\r\nWSDL \r\nDiscovering XML Web Services\r\nProxies for XML Web Services\r\nBuilding an XML Web Service Consumer \r\nExercise5-4:The XML Web Service Consumer \r\nExercise5-5:A Windows Form Consumer\r\nAsynchronous Web Methods\r\nExercise5-6:Console Consumer\r\nSOAP Extensions\r\n√Two-Minute Drill \r\nQ&A Self Test\r\nSelf Test Answers\r\n\r\n6 Consuming and Manipulating Data \r\n\r\nData Access with ADO.NET \r\nADO.NET Architecture \r\nXML and ADO.NET \r\nAccessing and Manipulating Data from a Microsoft SQL Server \r\nSELECT \r\nJOIN \r\nINSERT \r\nUPDATE \r\nDELETE \r\nStored Procedures \r\nTransactions \r\nCreating and Manipulating DataSets \r\nDataSet Schemas \r\nBuilding a DataSet \r\nExercise6-1:Building a DataSet \r\nDataSet Relationships \r\nExercise6-2:Foreign Key Constraint \r\nExercise6-3:Constraints \r\nExercise6-4:Populating the DataSet \r\nAccessing and Manipulating XML Data \r\nDocument Object Model(DOM) \r\nExercise6-5:XML Access\r\nXmlReader \r\nExercise-6-6:The XmlReader \r\nTransformations and XML \r\nExercise6-7:XSLT \r\nValidating XML\r\nExercise6-8:DTD Validation\r\nWrite SQL Statement That Retrieves XML Data from a SQL Server Database \r\n√Two-Minute Drill \r\nQ&A Self Test \r\nSelf Test Answers\r\n\r\n7 Testing and Debugging\r\n\r\nCreating a Test Plan on the Evolutionary Model\r\nTesting \r\nExercise7-1:Unit Testing \r\nProviding Test Data to Components and Applications\r\nLogging Test Results\r\nInstrumenting and Debugging a Service\r\nImplementing Tracing\r\nExercise7-2:Tracing \r\nUsing the SOAP Extensions for Debugging\r\nExercise7-3:SOAP Headers\r\n√Two-Minute Drill \r\nQ&A Self Test\r\nSelf Test Answers\r\n\r\n8 Security and Unmanaged Code\r\n\r\nImplementing Security\r\nAuthentication\r\nExercise8-1:Using Network Credentials\r\nExercise8-2:Building a Security Client \r\nExercise8-3:Adding Accounts to the Server \r\nAuthorization \r\nExercise8-4:Authorization\r\nSecure Communication \r\nAccessing Unmanaged Code \r\nUsing a COM Component \r\nExercise8-5:Using a COM Component \r\n√Two-Minute Drill \r\nQ&A Self Test \r\nSelf Test Answers\r\n\r\n9 Deployment \r\n\r\nDeploying a .NET Remoting Object \r\nExercise9-1:Deploying a .NET Remoting Object 381\r\nExercise9-2:Installing a .NET Remoting Object\r\nExercise9-3:Uninstalling a .NET Remoting Object\r\nDeploying an XML Web Service\r\nExercise9-4:Deploying a Web Service\r\nExercise9-5:Installing an XML Web Service \r\nPublishing XML Web Service Definitions in the UDDI \r\nRegistering Components and Assemblies\r\n√Two-Minute Drill\r\nQ&A Self Test \r\nSelf Test Answers \r\n\r\nA About the CD-ROM\r\n\r\nSystem Requirements\r\nInstalling and Running MasterExam and MasterSim\r\nMasterExam\r\nMasterSim\r\nElectronic Book\r\nHelp\r\nRemoving Installation(s)\r\nTechnical SupportE\r\nLearnKey Technical Support\r\n\r\nB Command-Line Utilities\r\n\r\nCommand Utilities \r\nDebugging Tools \r\nConfiguration and Deployment Tools \r\nSecurity Tools \r\nGeneral Tools\r\nVisual Basic .NET Compiler(vbc.exe)\r\nCommand-Line Syntax\r\nExamples\r\n\r\nC Exam 70-310 Certification Objective Mapping to the Study Guide\r\n\r\nCreating and Managing Microsoft Windows Services,Serviced Components,.NET Remoting Objects,and XML Web Services<bConsuming and Manipulating Data\r\nTesting and Debugging\r\nDeploying Windows Services,Serviced Components,.NET Remoting Objects,and XML Web Services\r\n\r\nD The Technologies\r\n\r\nHTTP\r\nURIs,URLs,and URNs\r\nBasics\r\nMethods\r\nResponse Codes\r\nHTML\r\nHTML Documents\r\nXML\r\nXML Introduction\r\nXPath\r\nXSLT \r\nIntroduction to XSLT\r\nXSLT Elements\r\nXML Schemas(XSD) \r\nSchema\r\nUDDI\r\nSOAP\r\n\r\nE Creating User Accounts\r\n\r\nThe Windows Authentication Scheme\r\nX.500\r\nKerberos V5\r\nLDAP\r\nActive Directory\r\nCreating an Account in a Domain\r\nExercise E-1:Creating a Domain Account\r\nExercise E-2:Adding the Account to a Group\r\nCreating a Local Account\r\nExercise E-3:Adding Accounts to the Server\r\nExercise E-4:Adding the Account to a Group\r\nCreating an Account in SQL Server\r\nExercise E-5:Adding a Windows Account to SQL Server\r\nExercise E-6:Adding a SQL Authentication Account\r\n\r\nGlossary\r\n\r\nIndex
This book was written to assist you in preparing for and passing the Developing XML Web Services and Server Components with Microsoft Visual Basic .NET and the Microsoft .NET Framework Exam 70-310. The text and exercises were created to help familiarize you with the topics you will be tested on during the actual exam.
In This Book
While this book is designed to be a focused exam preparation tool, you will also find discussion of the theory and methodologies behind working with the .NET Framework. The hands-on exercises were designed to give you additional experience with the .NET Framework while reinforcing understanding of the concepts.
In Every Chapter
The Study Guide series contains a number of chapter elements that were designed to help you identify important items, to reinforce key points, and to offer expert tips for taking the exam. Each chapter contains the following:
Certification Objectives Each chapter begins with a listing of the exam objectives that will be covered in the chapter.
Exam Watch These are tips I have designed to help you focus your studies on areas that will be important for the exam.
Practice Exercises Hands-on experience is a key factor to success on exam day, and these practice exercises are designed to help you reinforce your skills. It's important that you work through these exercises rather than simply reading them, so that you increase your exposure to and familiarity with the .NET Framework.
On the Job Designed to let you benefit from my experience, this element provides insights into the practical application of the theories presented in the text.
Scenarios & Solutions This element introduces you to common real-life situations that you may encounter on the job and provides you with a quick solution.
The Certification Summary This is a general review of the material that was presented in the chapter. These summaries provide a quick-review option prior to taking the exam.
The Two-Minute Drill At the end of every chapter, you will find a listing of the key objective points from the chapter. These are great as a final review study tool.
The Self Test Our self assessment section presents questions similar to those you'll find on the actual exam; it is designed to help you identify those areas in which you may need additional study. Complete answers with explanations are located at the end of each chapter.