https://github.com/mehrbanooebrahimzade/bookapp
A small .NET project serving as a showcase for learning parallelism. Explore the basics of parallel processing and customization within a collection of books.
https://github.com/mehrbanooebrahimzade/bookapp
best-practices bookapp bookappsample net7 parallel parallel-computing sample sample-code scharp
Last synced: 2 months ago
JSON representation
A small .NET project serving as a showcase for learning parallelism. Explore the basics of parallel processing and customization within a collection of books.
- Host: GitHub
- URL: https://github.com/mehrbanooebrahimzade/bookapp
- Owner: MehrbanooEbrahimzade
- Created: 2023-12-14T20:38:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-14T20:45:39.000Z (over 2 years ago)
- Last Synced: 2024-01-26T01:44:56.689Z (over 2 years ago)
- Topics: best-practices, bookapp, bookappsample, net7, parallel, parallel-computing, sample, sample-code, scharp
- Language: C#
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Book App
## Overview
This project is a sample illustrating the power of parallelism in .NET 7. The Book App lets users explore a collection of books and customize the text display through the "Change Font Size" feature. It dynamically adjusts words per page based on the chosen font size, showcasing the simplicity and effectiveness of parallel processing.
## Apis
1. **Get all Books**
- Endpoint: `GET /Books`
- Initializes all books and returns the list of books with pages.
2. **Get Page**
- Endpoint: `GET /Books/{bookId}/{pageNumber}`
- Retrieves a specific page of the book based on the provided book ID and page number.
3. **Change Font Size**
- Endpoint: `PUT /Books/{bookId}/{fontSize}`
- Changes the font size of the book and returns the book with suitable words per page.
## Contributions Welcome
Feel free to contribute! If you spot issues or have suggestions, pull requests are warmly welcomed.
Your input helps make this project better. Happy coding!