In this blog, 25.000 books will be uploaded, so far more than 1400 books are available. Books, will be added daily, please check this blog daily.
Thursday, November 11, 2010
XML .NET Developer's Guide
Contents Foreword Chapter 1 Introducing the Microsoft .NET Framework 1Introduction 2What Is the .NET Framework? 3Introduction to the Common Language Runtime3Using .NET-Compliant Programming Languages5Creating Assemblies 5Using the Manifest 8Assembly Cache 11Locating an Assembly 12Private Assembly Files 17Shared Assembly Files 17Understanding Metadata 17The Benefits of Metadata 18Identifying an Assembly with Metadata 18Types 19Defining Members 19Using Contracts 20Assembly Dependencies 21Unmanaged Assembly Code 21Reflection 21Attributes 22Ending DLL Hell 22Side-by-Side Deployment 23Versioning Support 23Using System Services 24Exception Handling 24
StackTrace 25InnerException 26Message 26HelpLink 26Garbage Collection 26Console I/O 26Microsoft Intermediate Language 27The Just-in-Time Compiler 27Using the Namespace System to Organize Classes28The Common Type System 29Type Safety 32Relying on Automatic Resource Management 32The Managed Heap 33Garbage Collection and the Managed Heap35Assigning Generations 40Using Weak References 41Security Services 41Framework Security 43Granting Permissions 43Gaining Representation througha Principal 45Security Policy 46Summary 48Solutions Fast Track 49Frequently Asked Questions 52Chapter 2 Visual Studio.NET IDE 55Introduction 56Introducing Visual Studio.NET 56Components of VS.NET 58Design Window 59Code Window 59Server Explorer 60Toolbox 61Docking Windows 62Properties Explorer 63Solution Explorer 64
Class View 65Dynamic Help 66Task List Explorer 67Features of VS.NET 68IntelliSense 68XML Editor 70Documentation Generation (XML Embedded Commenting) 73Adding XML Document Commentsto C# Pages 74Customizing the IDE 75Creating a Project 76Projects 76Creating a Project 76Add Reference 77Build the Project 77Debugging a Project 77Summary 78Solutions Fast Track 79Frequently Asked Questions 81Chapter 3 Reviewing the Fundamentals of XML 83Introduction 84An Overview of XML 84The Goals of XML 85What Does an XML Document Look Like? 85Creating an XML Document 86Creating an XML Document in VS.NET XML Designer 87Components of an XML Document 88Structure of an XML Document 91Well-Formed XML Documents 92Schema and Valid XML Documents 93XML Schema Data Types 97Transforming XML through XSLT 98XSL Use of Patterns 102
XPath 105Summary 107Solutions Fast Track 107Frequently Asked Questions 109Chapter 4 Using XML in the .NET Framework 111Introduction 112Explaining the XML Document Object Model 112The Different XML DOM Levels 113XML DOM Core Interfaces 114DOM Structure Model 115DOM Traversal 118NodeIterator119TreeWalker120NodeFilter121DOM Range 122DOM XPath 123Introduction to the System.XmlNamespace 124Overview of System.Xml.SchemaClasses 124Mapping XML DOM on the System.XmlNamespace 130Explaining a Selection of System.XmlClasses 132Using the System.XmlNamespace 145Building the XML Address Book 145Loading the XML Address Book 145Creating and Deleting Categories 149Creating,Editing,and Deleting Entries 151Summary 156Solutions Fast Track 157Frequently Asked Questions 158Chapter 5 Understanding .NET and XML Security 159Introduction 160The Risks Associated with Using XML inthe .NET Framework 160
Confidentiality Concerns 161.NET Internal Security as a Viable Alternative 162Permissions 163Principal 164Authentication 165Authorization 165Security Policy 165Type Safety 165Code Access Security 166.NET Code Access Security Model 166Stack Walking 167Code Identity 168Code Groups 169Declarative and Imperative Security 172Requesting Permissions 173Demanding Permissions 177Overriding Security Checks 179Custom Permissions 184Role-Based Security 185Principals 186WindowsPrincipal186GenericPrincipal187Manipulating Identity 188Role-Based Security Checks 190Security Policies 192Creating a New Permission Set 195Modifying the Code Group Structure 200Remoting Security 207Cryptography 207Security Tools 210Securing XML—Best Practices 212XML Encryption 212XML Digital Signatures 218Summary 222Solutions Fast Track 223Frequently Asked Questions 228
Chapter 6 XML and the Web with ASP.NET 231Introduction 232Reviewing the Basics of the ASP.NET Platform 232Reading and Parsing XML 234Parsing an XML Document 235Navigating through an XML Documentto Retrieve Data 236Writing an XML Document Using theXmlTextWriterClass 239Generating an XML Document Using XmlTextWriter239Exploring the XML Document Object Model 242Navigating through an XmlDocumentObject 243Parsing an XML Document Using theXmlDocumentObject 244Using the XmlDataDocumentClass 247Loading an XmlDocumentandRetrieving the Values of Certain Nodes248Using the Relational View of an XmlDataDocumentObject 249Viewing Multiple Tables of an XmlDataDocumentObject 252Querying XML Data Using XPathDocumentand XPathNavigator256Using XPathDocumentand XPathNavigatorObjects 259Using XPathDocumentand XPathNavigatorObjects for Document Navigation 261Transforming an XML Document Using XSLT 264Transforming an XML Document to an HTML Document 266Transforming an XML Document intoAnother XML Document 268Working with XML and Databases Online 274
Creating an XML Document froma Database Query 275Reading an XML Document into a DataSet 278Summary 280Solutions Fast Track 280Frequently Asked Questions 283Chapter 7 Creating an XML.NET Guestbook 283Introduction 284Functional Design Requirements of the XML Guestbook 285Constructing the XML 286Adding Records to the Guestbook 288Understanding the pnlAddPanel 292Adding a Thank-You Panel with PnlThank294Exploring the Submit Button Handler Code 294Viewing the Guestbook 298Displaying Messages 298Advanced Options for the Guestbook Interface 301Manipulating Colors and Images 301Modifying the Page Output 305Summary 308Solutions Fast Track 308Frequently Asked Questions 310Chapter 8 Creating a Message Board with ADO and XML 311Introduction 312Setting Up the Database 312MS Access Database 313SQL Server Database 317Designing Your Application 321Designing Your Objects 323Creating Your DataAccessObject 323Designing the UserClass 325Designing the BoardClass 335
Designing the ThreadListClass 344Designing the ThreadClass 347Designing the PostListClass 350Designing the PostClass 353Designing the MessageBoardClass 356Designing the User Interface 357Setting Up General Functions 358Building the Log-In Interface 366Designing the Browsing Interface 373Board Browsing 373Thread Browsing 376Message Browsing 379Creating the User Functions 382Editing the Member Profile 383Creating Threads and Posts 385Building the Administrative Interface 389Summary 403Solutions Fast Track 403Frequently Asked Questions 405Chapter 9 Building a Remote Database Viewer 407Introduction 408Understanding ADO.NET 408The ADO.NET Architecture 410Using .NET Data Provider 410Connection411Command411Data Reader411Data Adapter412Using DataSetsand DataTables413A Quick Comparison of ADO andADO.NET 414Accessing Data from a Database Using ADO.NET414Database Design 415Navigating between Records 415Add Record Form 419Delete/Update Form 422
Converting Binary Data Using Base64 428How Base64 Works 429Converting Binary Data into Base64 Format 431Database Design 431Reading Base64 Encoded Data from anXML File 436Designing and Implementing a Simple RemoteDatabase Viewer 440What Is a Remote Database? 441Advantages and Disadvantages of Remote Data Access 442Implementing a Simple Remote DatabaseViewer 445Summary 448Solutions Fast Track 448Frequently Asked Questions 449Chapter 10 Building a Wholesale Catalog 451Introduction 452Basic Design Considerations 453Storage:XML versus Traditional Databases 453Information Transport Methods 454XML and EDI 455XML Vocabularies 456Implementation of the Agora MarketsCatalog 456Data Store 456Transport Protocols 457Vocabularies 457Requirements 457Analysis 458Data Store 458Catalog Updating 459Business-to-Business E-Communications 459The XML Files 460Data Typing Entries 461Catalog 462
Coding the Project 462Database Design 463OLTP versus OLAP 463XML Packages Design 465Supplier Interface and B2B Design 469Fatal Errors versus Nonfatal Errors 469Coding updatecat1.aspx 470Analysis of Code Listing updatecat1.aspx 482Customer Interface Design 490GUI:The Catalog Page 490Analysis of Code 493Analysis of Code 498GUI:The Shopping Cart Page(s) 502Analysis of Code Listing‘shopcartadd.aspx’508Business and Web Services 514Business versus Web Services 514Coding a Business Service 514Analysis of Code 516Creating a Web Service 519An Overview of Web Services 519Coding a Web Service 519Analysis of Code 521Testing the Web Service 522Using Web Services 524Universal Description,Discovery,and Integration 524Web Service Description Language 524Installation:Migrating to SQL Server 529Changing the Connection String 530Compatible Data Types 530SQL Strings 531Converting to SQL Server 531Summary 533Solutions Fast Track 533Frequently Asked Questions 535Index537
Download
Another XML Books
Another .NET Books
Subscribe to:
Post Comments (Atom)
OK, I have done it.
ReplyDelete