My LINQ Demo: A simple windows console application

My LINQ Demo

Windows Console Application

A simple windows console application that demonstrates some very complex LINQ (Language-Integrated Query) code where you can query an XML file (as an embedded resource) at the parent level and descendant nodes and their attributes to display the output to the console. The program also allows you to read the entire XML file on the console screen as a reference. The sample XML is a listing of approximately 100+ food items and their nutrient compositions from the USDA Food Composition Databases.

Comments: I chose the USDA Food Composition Databases as an XML data source and only a tiny percentage of the database for this project. You can download the data to XML or consume through Web API (see WEB API for project examples). This code may help you in your XML LINQ coding challenges as a reference.

Database Data

project XML File downloaded from USDA Food Composition Databases

Demo

Solution Code

You can view and download the GitHub repository here.

Kathleen has 15 yrs. experience analyzing business IT needs and engineering solutions in electric utilities, pharmaceutical, and internet industries with a variety of technologies. Kathleen's project experience has been diverse ranging from executing the business analysis “design phase” to hands-on implementation and testing of the IT solutions. She has also delivered technical training, user documentation, and developed new business processes for the solutions. Kathleen also has strengths in software development, programming, testing vendor applications, databases, creating business efficiency tools, and IT solutions with proficiency in technologies such as C# .NET applications, Visual Basic (VB.NET), SQL, Visual Studio, Oracle, XML, Microsoft applications, and more.