The Many Approaches to XML Processing in .NET Applications
LINQ to XML makes working with XML documents easy. You can use XML instead of a SQL database for small amounts of data.
What you'll learn
Did you know that you can use XML instead of a SQL database for applications? Did you know there is LINQ to XML that allows you to process XML documents quickly and efficiently? If the answer is no to either of these two questions, then you need to watch this course. XML files are very common in today's programming world. You will most likely need to read files, write files and query XML within your applications. .NET provides a rich set of XML processing classes that you can use to perform all these functions. C# allows you to easily create, read and query XML files using XPath, LINQ to XML and other methods. In this course you will learn to read and write XML files using the various .NET classes. You will see some real-world uses of XML files in applications.
Table of contents
- Introduction 1m
- XmlReader Class 2m
- Reading Individual Elements using XmlReader 6m
- Using the MoveToContent Method 2m
- Using the ReadStartElement Method 2m
- Using the ReadElementString Method 1m
- XPath Queries 3m
- XDocument Class Introduction 1m
- Load and Select an Element 3m
- Read a Set of Elements 2m
- Read all Elements in XML 2m
- Convert a String to XDocument 1m
- Reading Attributes 4m
- DataSet Class Introduction 2m
- Reading XML using a DataSet 2m
- Using a Select Method 2m
- Reading a Schema with DataSet 3m
- LINQ to XML Introduction 3m
- Using XPath and LINQ to Select a Single Node 3m
- Using XPath and LINQ to Select Multiple Nodes 2m
- Which Technology to Use to Read XML 1m
- Summary 0m
- Introduction 1m
- XmlWriter Class 1m
- Writing an XML Document with Write Methods 4m
- Writing Attributes with XmlWriter 1m
- Adding Formatting to XML Document 1m
- Writing an XML Document to StringBuilder 1m
- Writing using XDocument 1m
- Creating an XDocument from Scratch 5m
- Using XDocument and XElement constructors 1m
- Writing Attribute Based XML 1m
- Suppressing Formatting 2m
- Writing using DataSet 1m
- Write XML and Schema using DataSet 3m
- LINQ / XElement Introduction 1m
- Save Method in XDocument and XElement 2m
- Adding Data Using a Constructor 1m
- Adding Data by Cloning an Element 2m
- Updating an Element 1m
- Deleting an Element 2m
- Summary 1m
- Introduction 1m
- System.Xml.Linq Namespace 3m
- Create XML Elements using Constructors 5m
- Load XML using XDocument and XElement 4m
- LINQ to XML Queries 3m
- Select All Nodes 4m
- Use Where Clause 2m
- Select Single Node using XDocument and XElement 3m
- Use Where Clause with Attributes 3m
- Use Order By 2m
- Consuming an RSS Feed 5m
- Joining two XML Documents 5m
- Reading the File System 4m
- Aggregating Data 1m
- Using Sum, Min, Max and Average 7m
- Working with Classes 1m
- Anonymous Types 5m
- Loading a Class 4m
- Return a Collection of Classes 2m
- Data Modification 2m
- Inserting Nodes using Constructors 3m
- Inserting Nodes by Cloning 4m
- Updating Nodes 2m
- Deleting Nodes 1m
- Putting it All Together 1m
- Entity and Manager Classes 8m
- Summary 0m
- Introduction 1m
- Read/Store XML Locally 2m
- Use WPF to Read/Store XML data locally 5m
- Use Silverlight to Read/Store XML data locally 2m
- Use Windows Store to Read/Store XML data locally 3m
- Create Generic Cache Class 1m
- Use Generic Cache Class in WPF/Silverlight/Windows Store 7m
- Extension Methods 2m
- Demo of Extension Methods 8m
- Get XML from Server 1m
- Get XML from Server in WPF 4m
- Get XML from Server in Silverlight/Windows Store 2m
- Detect Changes on Server 2m
- Demo of Detecting Changes on Server 9m
- Add/Edit/Delete XML 2m
- Demo of Add/Edit/Delete XML 8m
- Summary 1m
- Course Summary 1m