This course will teach you to create, load, save, and query XML files using the classes within the System.Xml.Linq namespace in .NET.
What are the best methods for reading and writing XML documents in C#? In this course, Working with XML in C#, you will learn 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. Then, you 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#.
What are the best methods for reading and writing XML documents in C#? In this course, Working with XML in C#, you will learn 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. Then, you 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#.