Pocos Xml and WebServices
In this section we explain how to read and write basic XML objects using POCO's
POCOs or Plain Old CSharp Objects are basic classes that uses only basic C#.
These classes are used to communicate between different programs and are easily translated to XML, JSON and any other form of communication.
These POCO's are used in WebServices, Restful API's and all around the .NET World.
We'll review how to:
- Create simple POCOs
- Read and write them from XML
- Creating more complex POCOs
- Creating them based on database values, and updating the database according to their values
After that we'll:
- Polish and Generalize the Load and Save to XML Method
Later we show how to:
- Consume WebServices
- Receive data From a WebService, using POCOs
- Send data to a WebService, using POCOs
Here are the Specific Articles in this section:
- Creating a POCO
- Saving a POCO to XML
- Loading a POCO from XML
- Master Detail using POCOs
- Creating POCOs based on Database Values
- Refactor to GetOrderPOCO
- Updating the Database based on the POCO
- Using Logical Names when loading and saving XML
- Using Generics to Generalize the Save and Load Xml
- XmlHelper Reusable Class
- Creating Classes based on XML Data
- Consuming a WebService
- Creating a Web Service which reuses Logic from the Migrated Application
- Creating Classes based on XSD
- JSON
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com