Chapter 3
Generating and Consuming Data
IN THIS CHAPTER
Defining serialized data basics
Developing a data generator and API
Consuming the generated data and showing it onscreen
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. ...
Get C# 10.0 All-in-One For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.