C# 7 and .NET Core 2.0 Blueprints
上QQ阅读APP看书,第一时间看更新

Running the eBookManager application

When the application starts for the first time, there will be no Virtual Storage Spaces available. To create one, we will need to import some books. Click on the Import eBooks menu item:

The Import eBooks screen opens where you can add a new storage space and Select source folder for eBooks:

Once you have selected an eBook, add the applicable information regarding the book and save it to the storage space:

After you have added all the storage spaces and eBooks, you will see the Virtual Storage Spaces listed. As you click on a storage space, the books it contains will be listed:

Selecting an eBook and clicking on the Read eBook button will open up the file location containing the selected eBook:

Lastly, let's have a look at the JSON file generated for the eBook Manager application:

As you can see, the JSON file is quite nicely laid out and it is easily readable.