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.
What is this XML Thing Anyway? Hello everybody. Paul Sheriff here with Pluralsight. This course is the many approaches to XML Processing in. Net Applications. In this course we're going to talk about different methods you can use to read XML files. Classes in. Net such as the XMLReader, XDocument, XElement, and DataSet. We'll talk about how you can search through XML documents using XPath queries, then we'll take a look at LINQ to XML instead of XPath. This will help you simplify that searching. We'll learn methods to write XML as well. We'll use classes such as the XMLWriter, XDocument, XElement, and DataSet We'll talk about how to use XML in your. Net applications, and see how it's used in other applications. And we'll take a look at how to use XML instead of a SQL Database. So let's start this course with, what is this XML thing anyway? In this particular module, I'm going to go over a brief introduction to XML. I'm not going to go into great detail. But at least make sure everybody's on the right path. We'll talk about what you can use XML for. What makes up an XML document. And a well defined XML document will be demonstrated. We'll take a look at an XML Schema and what XML tool there that you can use. And finally, we'll finish up by creating an XML file in Visual Studio as a demo. So, let's get started.
A Myriad of Methods to Read XML Hello, everybody. Paul Sheriff, with Pluralsight. This is the second module in our, The Many Approaches to XML Processing in. NET Applications course. And this one is a myriad of methods to read XML. In this particular module, we're going to talk about the XMLReader Class, and how you use that when performance is what you need. We're going to talk about XPath and how we use that for searching through XML documents. We'll talk about the XML XDocument class and how it reads through everything. We'll talk about the data set, and how it reads in all the XML at the same time as well. And we'll talk about linked XML and how that makes searching much easier for you. And then we'll finish up by discussing which of these techniques you might use in which situations. So let's get started.
16 Ways to Write XML Documents Hello everybody, Paul Sheriff with Pluralsight here. This is the Many Approaches to XML Processing in. NET Applications course. And this module is 16 ways to write XML documents. In this module were going to take a look at the XmlWriter class, and how you can use it to write and format, or not format XML documents. We'll see how we can use the XDocument class to also create and format XML documents. We're going to take a look at the dataset, yes that's the data set from ADO. net cause it also allows you to write out XML, after maybe reading in from a sequel server database. And even infer and write an XML Schema. We're also going to take a look at LINQ to XML and see how it can write out documents and also do adds, edits and deletes. So let's jump in to this module.
Real World Uses of XML Hello everybody, Paul Sheriff here with Pluralsight. The course is The Many Approaches to XML Processing in. NET Applications. In this module, we're going to be talking about the real world uses of XML. In this module, we're going to take a look examples of real world usage of XML. And we're going to do a lot of demos. The first demo will be a demo of writing XML out from a database table. So we'll connect up to SQL Server and write out XML from there. We'll give you a demo of prototyping a screen, a demo of object serialization you can use in a. NET object and serialize this XML and then rehydrate it back as a real. NET object. We're then going to talk about reading configuration settings and we'll end up with a demonstration of OpenXML that's used in Microsoft Office. So, let's get started.
LINQ to XML Step-by-Step Hello, everybody. Paul Sheriff here with Pluralsight. This is The Many Approaches to XML Processing in. NET Applications. This module is LINQ to XML step by step. In this module, we're going to talk about many different methods of querying li, using LINQ to XML. We'll talk about the where clause, order by clauses. I'll show you how to read RSS feeds and even folders off your hard drive. We'll learn about aggregating data with things like the sum, the min, the max, and average methods. We'll see how to load a class from LINQ to XML, and that'll cover both anonymous types, and loading a class that you've pre created. We'll then look at modifying data so basically doing add, edit, delete type things with XML as well. We'll finish up by creating a wrapper class. We'll create an entity class, a manager class, that will help you simplify your usage of LINQ to XML.
Use XML: An Alternative to SQL Hello everybody. Paul Sheriff with Pluralsight. This is The Many Approaches to XML Processing in. NET Applications. This module is use XML, an alternative to SQL. What we are going to do in this particular module, is we're going to talk about how to cache XML data locally. So, we're going to use local storage, isolated storage and application storage. We're going to do this across three different environments. We'll use WPF for a desktop environment, Silverlight for web and then we're going to do Windows Store as well for Windows 8. We'll also then take this and see how you can create a generic cache object that will work across all three of those platforms. We're then going to learn how to create extension methods that will help us work with our XML data. And then we are going to talk about how to get XML from a WCF service, so reading a data out of a database for instance, taking that data and then storing it locally. We'll then talk about how to refresh local data, if server data changes. So, we'll detect that it should change up on the server and send that data down. We're also going to take a look down at how to create an XML manager class that will allow us to do an add, edit, delete against some product data.