本书是美国著名出版商McGraw-Hill出版的畅销认证系列丛书All-in-One之一,主要介绍了与MCAD/MCSD Visual C# .NET认证考试相关的最新考试信息。并介绍了在MCAD/MCSD Visual C# .NET认证考试70-315、70-316和70-320中的资料。读者可以学习如何使用Visual C# .NET和Visual Studio.NET编程、创建Windows窗体并与控件协同工作等内容。本书在每一章的开始都会给出考试的重点内容,并在讨论过程中介绍考试技巧,且每章的结尾都有精心设计的大量练习题,为应试者提供极具价值的指导与参考。\r\n 本书是一本全面、权威的考试用书,适用于MCAD/MCSD Visual C# .NET认证考试的备考者及相关的技术人员。
PartI C#:The Language \r\n\r\nChapter 1 Introduction to C#.NET and the .NEPartI C#:The Language \r\n\r\nChapter 1 Introduction to C#.NET and the .NET Platform\r\nOverview of .NET\r\nSo,What Is .NET?\r\nApplication Development in .NET\r\nThe .NET Platform\r\nThe .NET Framework\r\nThe CLS-Common Language Specifications\r\nThe CLR-Common Language Runtime\r\nMSIL-Microsoft Intermediate Language\r\nThe BCL-Base Class Library\r\nThe .NET Languages\r\nMicrosoft C# .NET\r\nBasic C# Concepts\r\nStartup\r\nDeclarations\r\nArrays\r\nAccess\r\nScopes\r\nObject-Oriented Programming Concepts\r\nA Brief History of Object-Oriented Programming\r\nJust What Is an Object?\r\nStructs Explained\r\nThe convert Routine Using an Object-Oriented Approach\r\nProperties and Methods of an Object\r\nClasses-Putting It All Together\r\nInstance Data vs. Class Data\r\nStatic Methods\r\nAbstraction and Encapsulation\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 2 Variables and Program Structure\r\nVariables\r\nValue-Type Variables\r\nReference-Type Variables \r\nMemory and Variables\r\nVariable Declarations\r\nValue-Type Variables on the Stack\r\nThe Parts of Reference-Type Variables\r\nType Conversions\r\nImplicit Conversions\r\nConversion Methods\r\nBoxing and Unboxing\r\nMemory Management\r\nCreating and Destroying Objects\r\nCleaning Up the Objects\r\nThe Structure of a C# Class File\r\nNamespaces and the Using Directive\r\nCoding Conventions\r\nLexical Structure\r\nComments\r\nIdentifiers\r\nConstants and Read-Only Variables\r\nKeywords \r\nLiterals\r\nOperators\r\nStatements and Expressions\r\nFlow Control\r\nPreprocessor Directives\r\nSummary\r\nText Questions\r\nTest Answers \r\n\r\nChapter3 Advanced Object-Oriented Concepts\r\nIntroduction to Advanced OO Topics\r\nInheritance\r\nInheritance Explained\r\nPolymorphism\r\nMethod Overriding\r\nUsing Sealed\r\nAbstract Classes\r\nInterfaces\r\nWhy Use Interface?\r\nExtending Interfaces\r\nOverloading\r\nSummary\r\nText Questions\r\nTest Answers \r\n\r\nChapter 4 Strings,Exceptions,and Events\r\nThe String Class\r\nSystem.String\r\nString Building\r\nString Formatting\r\nArrays\r\nThe System.Array Class\r\nCollections\r\nOverview of Exception Handing\r\nThrowing and Catching Exceptions\r\nCoding to Handle Errors and Exceptions\r\nCreating Your Own Exceptions\r\nEvent Handing\r\nDelegates\r\nEvents\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 5 Visula Studio .NET Development Environment\r\nWhat is Visual Studio .NET?\r\nThe Start Page\r\nGet Started\r\nOnline Community\r\nDownloads\r\nProjects\r\nTypes of Projects\r\nCreating a Project\r\nBuilding the Project\r\nGrouping Projects into Solutions\r\nCustomizing Visual Studio .NET\r\nCustomizing with the Start Page\r\nCustomizing with the Options Dialog Box\r\nThe Interface\r\nExplorers\r\nTools\r\nOther Highlights of Visual Studio .NET\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 7 Resources and Localization\r\nString Resources\r\nLocalized Formatting\r\nImplementing Right-to-Left Mirroring and Encoding\r\nBest Practices\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 8 XML and C# Documentation \r\n\r\nIntroduction to XML\r\nWhat Is XML?\r\nHTML vs. XML\r\nWhy Use XML?\r\nCreating and XML Document\r\nXML Declaration and Precessing Instructions\r\nComments\r\nElements\r\nAttributes\r\nA Well-Formed XML Document\r\nXML Documentation in C#\r\nXML Documentation Tags\r\nXML Comments and Visual Studio .NET\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 9 Debuggign and Testing\r\nDebugging Your Application\r\nThe Buggy Application\r\nTwo Debuggers-CorDbg and DbgCLR\r\nUsing the Visual Studio .NET Debugging Capabilities\r\n.NET Diagnostics\r\nDebugging and ASP.NET Application\r\nTesting Your Application\r\nPurpose of Testing\r\nDeveloping a Test Plan\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 10 Basic Data-Access Techniques\r\nADO.NET\r\nApplication Models\r\nADO.NET Architecture\r\nXML and ADO.NET\r\nData-Access Basics\r\nSQL \r\nACID Rules(Transactions)\r\nConnecting to a Data Provider\r\nDatabase Security\r\nConnection Strings\r\nConnections\r\nConnection Pooling\r\nError Handling\r\nThe Command Object\r\nThe DataSet Object\r\nADO.NET and XML\r\nLoading XML into a DataSet\r\nWriting XML from a DataSet\r\nUsing the XmlDataDocument Object\r\nUsing the DataAdapter to Access Existing Data\r\nDreating the DataAdapter\r\nUpdating the Data Source\r\nResolving Conflicats\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nPart III Exam 70-315:Developing and Implementing Web Applications \r\n\r\nChapter 11 Welcome to the Internet and ASP.NET\r\nThe Internet:Its Standards\r\nThe TCP/IP Protocols\r\nHTML\r\nHTTP\r\nXML\r\nInternet Architecture\r\nStatic Web Pages-the Beginning\r\nDynamic Web Pages-the Client Story\r\nDynamic Web Pages-the Server Story\r\nThe Internet Technologies\r\nServer-Side Technologies\r\nASP.NET\r\nHello Web World!\r\nThe Object Model of ASP.NET\r\nThe Request Object\r\nThe Response Object\r\nThe Server Object\r\nState or No State\r\nThe Application Object\r\nThe Session Object\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 12 Web Forms:Client-Side Programs\r\nIntroduction to Web Forms\r\nBuilding Your First Web Form\r\nAdding Controls to a Form\r\nHTML Server Controls\r\nWeb Server Controls\r\nValidation Controls\r\nCustom and User Controls\r\nCreating an Address Book Web Form\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 13 Server-Side Programs and Postback Operations\r\nThe ASP.NET Object Model\r\nASP.NET Namespaces\r\nThe Page Class\r\nState Managment\r\nWeb Services\r\nHow to Write a Web Service\r\nHow to Consume a Web Service\r\nCOM Interoperability\r\nPlatform Invoke\r\nASP.NET and Events\r\nThe Postback Event\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 14 Server Controls in ASP.NET\r\nWorking with ASP Controls\r\nBase Properties of Server Controls\r\nHTML Server Controls\r\nWeb Server Controls\r\nUser Controls and Custom Controls\r\nBuilding and Usng a User Control\r\nBuilding and Using a Custom Control\r\nDynamic Control Creation\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 15 Web Form and User Interface\r\nThe Importance of the User Interface\r\nLocalization\r\nThe Resource Manager Class\r\nPage Navigation\r\nValidation Revisited\r\nError Handling\r\nCustom Error Pages\r\nPage_Error()\r\nEvent Log\r\nPage-Level Tracing\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 16 Consuming and Manipulating Data from Data Sources\r\nVisual Studio .NET Support for Data\r\nUsing a DataGrid Server Control\r\nCreating and Using Stored Procedures\r\nData Binding\r\nError Handling\r\nAccessing Data Programmtically\r\nConnecting to a Data Source\r\nCreating and Configuring a Command Object\r\nPopulate the DataSet with the Data from the Command\r\nThe Completed Web Form\r\nBuilding a Data Form\r\nCreating the SQL Statement\r\nBuildig the Form\r\nRetrieving Real-Time Data\r\nLooking Up the Address Info\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 17 Making the Web Application Available to Our Users\r\nDeploying a Web Application\r\nCaching and Improving Performance\r\nConfiguring a Web Application \r\nSecuring a Web Application\r\nDeploying a Web Application\r\nInstalling a Web Application\r\nInstalling IIS\r\nInstalling FrontPage Server Extensions\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nPart IV Exam 70-316:Developing and Implementing Windows-Based Applications with Microsoft Visual C# .NET and Microsoft Visual Studio .NET \r\n\r\nChapter18 Introduction to Windows Forms\r\nWindows Forms\r\nSystem.Windows.Forms Namespace and More\r\nWhat Is a Form?\r\nThe Windows Forms Designer\r\nA Closer Look at Forms\r\nUsing Visual Inheritance\r\nLocalizing Your Form\r\nControls\r\nAdding Controls to a Form\r\nTypes of Controls\r\nSetting Properties of Controls\r\nEvent Handling\r\nWhat Is an Enent?\r\nWhat Happens When an Event Occurs?\r\nDelegates\r\nDreating Event Handlers\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 19 User-Interface Components\r\nWorking with Controls\r\nSpecifying a Control's Location on a Form\r\nAligning Controls on a Form\r\nManaging Contorl Focus\r\nWindows Forms Controls\r\nButtons,Text Boxes,and Labels,Oh My!\r\nList Boxes,Combo Boxes,Checked List Boxes,and Such\r\nTab Controls\r\nStatus Bars\r\nToolbars\r\nDialog Boxes\r\nWorking with Controls at Run Time\r\nWorking with Menus\r\nCreating a Main Menu\r\nLooking at the Code of a Main Menu\r\nHanding Menu Events\r\nContext Menus\r\nValidating User Imput\r\nValidating Events\r\nErrorProvider Control\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 20 Data in Windows Forms\r\nReview of ADO.NET Object Model\r\nAccessing Data Using Visual Studio .NET\r\nThe College Application\r\nADO.NET Objects in Visual Studio .NET\r\nUsing Stored Procedures\r\nWhat's Next?\r\nData Binding\r\nThe Theory of Data Binding\r\nBinding Data at Design Time\r\nBinding Data at Run Time\r\nBinding Context and CurrencyManager\r\nException Handing\r\nAccessing Data Programmatically\r\nCreatig a Connection Object\r\nCreating a Command Object\r\nDataAdapter and DataSet \r\nDataReader\r\nusing Format and Parse\r\nThe Format Event\r\nThe Parse Event\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 21 Web Servces and COM\r\nWeb Services\r\nHow Do Web Services Work?\r\nBuilding a Simple Web Service\r\nComsuming a Simple Web Service\r\nHow Web Services Work\r\nCOM and COM+\r\n.NET and COM\r\nWorking with COM\r\nBehind the Scenes with COM\r\nPlatform Invoke\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 22 Build Your Own Windows Control\r\nMethods of Buildig Windows Controls\r\nExtending an Existing Control\r\nCreating Composite Controls\r\nBuilding Custom Controls\r\nVisual Studio .NET Support\r\nUsing Visual Inheritance\r\nAdding Design-Time Support to Your Control\r\nAdding a Toolbox Bitmap\r\nAdding Attributs to Properties\r\nProviding Other Design-Time Support\r\nHosting Your Control in Internet Explorer\r\nLicensing a Control\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 23 Deploying a Windows-Based Application\r\nReview of Assemblies\r\nStrong Named Assemblies\r\nInstalling an Assembly into GAC\r\nPrecompiling Assemblies\r\nDepolying a Windows Application\r\nCreating a Setup Project\r\nCreating a Web Setup Project\r\nCreating a CAB Project\r\nCreating a Merge Module Project\r\nConforming to Windows Standards\r\nSecurity Policies\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 24 Configuring a Windows Application\r\nConfiguring a Windows Application\r\nMachine Configuration File\r\nApplication Configuratio File\r\nSecurity Configuratio File\r\n.NET Framework Configuration Tool\r\nXML Configuration Tags\r\nOptimizing a Windows Application\r\nDebug vs. Release Versions\r\nPrecompiling\r\nOther Performance Enhancements\r\nSecuring a Windows Application\r\nCode-Access Security\r\nRole-Based Security\r\nProviding User Assistance\r\nProviding User Help\r\nAdding Accessibility Features\r\nLocalizing a Windows Form\r\nUsing System.Drawing\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nPart V Exam 70-320:Developing XML Web Serivces\r\n\r\nChapter 25 Introduction to XML Web Services and Server Components\r\nThe Standards\r\nXML(Extensible Markup Language)\r\nSOAP(Simple Object Access Protocol)\r\nXML Web Services\r\nUDDI(Universal Description,Discovery,and Integration)\r\nXSD,XSLT,and XPath\r\nLogging Test Results and Debugging\r\nControl Debugging in web.config\r\nLogging Text Results in and XML Web Service\r\nImplementing Tracing in an XML Web Service\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 26 Windows Services\r\n\r\nIntroducing Windows Services\r\nBuilding a Windows Service\r\nCreating an Installder for the Service\r\nCreating the Setup Project for the Windows Service\r\nInstalling the Windows Service\r\nVerifying the Service Logging\r\nWindows Service Architecture\r\nQuick Facts on Windows Services\r\nMonitoring the Windows Service\r\nServer Components\r\nMulti-Tiered Architecture\r\nCOM and COM+\r\nServiced Components\r\nUsing the Component Services Tool\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 27 .NET Remoting \r\n\r\nWhat Is .NET Remoting?\r\nTerms and Terminology\r\n.NET Remoting Architecture\r\nSteps for Invoking a Server Object's Methods\r\nUsing .NET Remoting\r\nBuilding the Remote Object\r\nBuilding the Remote Server\r\nBuilding the Client\r\nRunning the Remote Application\r\nConfiguring .NET Remoting\r\nCreating the Remote Object\r\nCreating the Remote Object Configuratio File\r\nCreating the Client\r\nCreating the Client Configuration File\r\nSetting Up IIS to Host the Server\r\nClient-Activated Objects\r\nManaging the Lifetime of a Server Object\r\nFinal Considerations\r\nPerformance Considerations\r\n.NET Remoting vs. Web Services\r\nPoints to Remember\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 28 XML Web Services \r\n\r\nIntroducing XML Web Services\r\nDistributed Applications\r\nXML Web Services in a Nutshell\r\nXML Web Service Provider\r\nXML Web Service Consumer\r\nXML Web Service Broker\r\nXML Web Service Programming Model\r\nBuilding an XML Web Service\r\nCreating the Project\r\nImplementing the Web Methods\r\nSettign the Web Method Attributes\r\nThe Project Files\r\nXML Web Service Consumers\r\nWSDL\r\nDiscovering XML Web Services\r\nProxies for XML Web Services\r\nBuilding and XML Web Service Consumer\r\nAsynchronous Web Methods\r\nSOAP Extensions\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 29 Data Again \r\n\r\nADO.NET and XML Web Services\r\nThe ADO Objects Revisited\r\nDataSets\r\nDataSet Schemas\r\nDataSet Relationships\r\nXML Data\r\nDocument Object Model(DOM)\r\nXmlReader\r\nTransformations and XML\r\nValidating XML\r\nTransformations and XML\r\nValidatign XML\r\nMicrosoft SQL Server and XML Support\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nChapter 30 Deployment and Security \r\n\r\nDeploying and XML Wehb Service\r\nUDDI Registry\r\nDeployment\r\nSecuring and XML Web Service\r\nAuthentication\r\nAuthorization\r\nSecure Communication\r\nAccess Unmanaged Code Using InterOp\r\nUsing a COM Component\r\nSummary\r\nTest Questions\r\nTest Answers \r\n\r\nPart VI Appendixes \r\n\r\nAppendix A About the CD-ROM \r\n\r\nAppendix B The New Microsoft Developer Tracks \r\n\r\nAppendix C Command-Line Syntax\r\n\r\nAppendix D The .NET Class Library \r\n\r\nAppendix E Glossary