How sullaspqr/muszakicikkek-api-dotnet10 works
This is a small ASP.NET API for product-type records. A client can retrieve all records or one by ID, and create a record; the controllers delegate these operations to a static service that stores records in memory. The service also implements update and delete helpers, though no exposed controller route for them appears in the sampled code. The README confirms JSON responses and no EF or database. Program.cs was not sampled, so host configuration and registration are not mapped.
Main entry points: TipusokController.cs Read endpoints · UjTipusokController.cs Create endpoint · TipusokService.cs Tipusok service · Tipusok.cs Product type
Components 5
HTTP API
- Read endpoints
Controllers/TipusokController.cs - Create endpoint
Controllers/UjTipusokController.cs
In-memory data
- Tipusok service
Services/TipusokService.cs - Product type
Models/Tipusok.cs
Other components
- API client
Connections 7
- API client → Read endpoints: GET records
Controllers/TipusokController.cs - API client → Create endpoint: POST record
Controllers/UjTipusokController.cs - Read endpoints → Tipusok service: calls reads
Controllers/TipusokController.cs - Create endpoint → Tipusok service: calls add
Controllers/UjTipusokController.cs - Tipusok service → Product type: stores and finds
Services/TipusokService.cs - Read endpoints → API client: returns JSON data
Controllers/TipusokController.cs - Create endpoint → API client: returns created record
Controllers/UjTipusokController.cs