Skip to Main Content
C# 10.0 All-in-One For Dummies
book

C# 10.0 All-in-One For Dummies

by John Paul Mueller
March 2022
Intermediate to advanced content levelIntermediate to advanced
864 pages
19h 46m
English
For Dummies
Content preview from C# 10.0 All-in-One For Dummies

Chapter 3

Generating and Consuming Data

IN THIS CHAPTER

Bullet Defining serialized data basics

Bullet Developing a data generator and API

Bullet Consuming the generated data and showing it onscreen

Bullet Seeing the applications in action

Cereal is what you eat for breakfast; serialization is what you do with local data in XML or flat-file format. If you eat the former, the latter might make more sense. This chapter delves into data serialization and deserialization, which are incredibly useful tools for all sorts of purposes because the combination of these two techniques lets you work with structured data in a manner that doesn’t require in-depth knowledge of database management. Throughout this chapter, you use the WeatherForecast project to generate weather data that is then serialized to create a usable data store (albeit not a very fancy one). The RetrieveWeatherForecast project queries the API created by the WeatherForecast project, deserializes it, and displays it onscreen. The first two parts of this chapter help you understand the current trends in data stores and the concept of serialization better. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# Cookbook

C# Cookbook

Joe Mayo
Head First C#, 4th Edition

Head First C#, 4th Edition

Andrew Stellman, Jennifer Greene

Publisher Resources

ISBN: 9781119839071Purchase Link