Working with XML in .NET 6
This course will teach you to create, load, save, and query XML files using the classes within the System.Xml.Linq namespace in .NET 6.
What you'll learn
To query and manipulate XML documents, .NET provides several great technologies. In this course, Working with XML in .NET 6, you’ll learn to create, load, save, and query XML documents. First, you’ll explore creating and modifying XML documents. Next, you’ll discover loading, saving, validating, and various methods of querying data within XML files. Finally, you’ll learn how to serialize C# objects as XML. When you’re finished with this course, you’ll have the skills and knowledge of XML needed to effectively and efficiently process XML files.
Table of contents
- The System.Xml.Linq Namespace 1m
- Create Empty XML Document 2m
- Create XML with Elements and Attributes 3m
- Create a Nested XML Document 2m
- Parse XML String in XDocument Object 2m
- Parse XML String in XElement Object 2m
- Dot Net 6 Working Xml M3 07 2m
- Updating an Element in an XML Document 3m
- Deleting an Element in an XML Document 2m
- Loading XML Documents 1m
- Load XML Using XDocument and XElement 2m
- Displaying the First Node 3m
- Writing XML to Disk 2m
- Using the XmlWriter Class to Save XML to Disk 3m
- Using a DataSet to Write XML to Disk 3m
- Write XML to Disk from any Table in any Database 2m
- Validating XML 2m
- Validating XML and Viewing the Errors 2m
- Overview of XPath and Why XPath Still Matters 2m
- Differences Using XPath with XDocument and XElement 3m
- When You Get Errors Using XPath 1m
- Resolving Errors by Using an Extension Method 3m
- Filtering Data Using XPath Queries 2m
- Using XPath Functions Such as last() and position() 2m
- Creating C# Objects from XML 2m
- Retrieve Attribute XML 2m
- Retrieving Attribute-Based XML Using Extension Method 3m
- XPath Functions count(), sum(), and Calculating an Average 4m
- Calculating Minimum and Maximum Values 3m
- LINQ to XML Overview 2m
- Using XDocument and Xelement with LINQ to XML 2m
- Applying a Where Clause to an XML Document 2m
- Retrieving a Single Node 1m
- Sorting XML Nodes using OrderBy Clause 1m
- Creating a Collection of C# Objects 1m
- Joining Two XML Documents 3m
- Working with Nested XML Documents 2m
- Using Attribute-Based XML 2m
- Searching and Sorting Attribute-Based XML 1m
- Using LINQ Methods Count and Sum 2m
- Using the LINQ Average Method 1m
- Calculating Minimum and Maximum 2m
- Why Use XML Serialization? 2m
- Serialize a Product Object to XML Using XmlSerializer 2m
- Deserialize XML From File Into a Product Object 1m
- Formatting XML Using the XmlWriterSettings Object 3m
- Deserialize Formatted XML Into a Product Object 2m
- Simplify XML Serialization Using an Extension Method 3m
- Using XML Serialization Attributes 4m
- Serializing a Composite Class to Create Nested XML 2m
- Using the DataContractSerializer Class 3m
- Using the BinaryFormatter Class 4m
- Caching XML From SQL Server 1m
- The Code to Read Data From SQL and Store into Local File 2m
- Step-Through of Getting Data from SQL and Serializing 1m
- A Method to Detect Changes on the Server 2m
- Get Max Date and Total Rows from XML and Server 2m
- Checking Local vs Server Information 2m
- Change the Server and Detect the Changes 4m