XML Fundamentals in C#

Learn to use LINQ to XML and XPath queries to process XML files in C#. Use XML serialization to store .NET objects in an XML file and deserialize XML back into a .NET object. Learn to cache frequently used data in a local XML file.
Course info
Level
Intermediate
Updated
Mar 27, 2019
Duration
1h 47m
Table of contents
Course Overview
What Exactly Is XML Anyway?
LINQ to XML Makes Processing XML Documents Quick and Easy
Use XPath Queries to Process XML Documents
Modify Nodes and Write XML Files
Store and Restore .NET Objects as XML
A Design Pattern for Caching Frequently Used Data in XML
Description
Course info
Level
Intermediate
Updated
Mar 27, 2019
Duration
1h 47m
Description

What are the best methods for reading and writing XML documents in C#? In this course, XML Fundamentals in C#, you will gain foundational knowledge to process XML files and use XML to enhance your business applications. First, you will learn to process XML documents using LINQ to XML. Next, you will discover how to write XPath queries. Following that, you will see how to add, edit, and delete data within an XML document. XML serialization is explored to show you how to save a .NET object to an XML file, and then restore that XML as a .NET object. Finally, you will explore how to cache frequently used database data as a local XML file, and to detect when server data changes so you can update your local file. When you’re finished with this course, you will have the skills and knowledge of XML needed to process XML documents in C#. Software required: Visual Studio 2017, .NET 4.5+, SQL Server, C#.

About the author
About the author

Paul loves teaching and technology, and has been teaching tech and business topics for over 30 years. Paul helps clients develop applications, and instructs them on the best use of technology.

More from the author
ADO.NET Fundamentals in C#
Intermediate
2h 29m
Sep 5, 2019
VB.NET Fundamentals
Beginner
3h 26m
May 21, 2019
More courses by Paul D. Sheriff
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music) Hello. My name is Paul Sheriff, and welcome to my course, XML Fundamentals in C#. I am a business solutions architect at Fairway Technologies with over 32 years of experience creating enterprise applications. Do you need to learn to process XML documents quickly and efficiently? Do you wish to cache data locally to speed up your C# applications? If so, then this course is designed for you. In this course, you are going to learn a few different methods to process XML documents. Some of the major topics we cover include creating XML documents and XML schemas, free tools to validate XML and generate XML schemas, use LINQ to process XML documents, joining XML documents together to create a new XML document, aggregating data using built-in methods and functions, learn to use XPath queries, add, edit, and delete nodes in XML, serializing and deserializing .NET objects as XML, caching frequently used data to increase application performance. By the end of this course, you'll have gained the knowledge necessary to process XML documents using C#. For this course, I assume you are familiar with C# and .NET. I hope you'll join me on your journey to learning to manipulate XML documents in my course, XML Fundamentals in C#, at Pluralsight.com.