How tj-eps/userinfo works
UserInfo is a small ASP.NET Core application for managing users through a browser-based interface, backed by an in-memory store. The main workflow is browser interaction → user API → store, with CRUD operations over user records. The application also exposes a separate weather-forecast endpoint that generates sample forecasts. Source excerpts show the API and store wiring; the HTML page and project configuration were not sampled, so their detailed behavior is not represented.
Main entry points: UsersController.cs Users API · Program.cs Application host · app.js User interface · InMemoryUserStore.cs In-memory store
Components 8
Browser client
- User interface
UserInfo/wwwroot/app.js
ASP.NET host
- Application host
UserInfo/Program.cs
User management
- Users API
UserInfo/Controllers/UsersController.cs - In-memory store
UserInfo/Services/InMemoryUserStore.cs - User record
UserInfo/Models/User.cs
Weather sample
- Forecast API
UserInfo/Controllers/WeatherForecastController.cs - Forecast record
UserInfo/WeatherForecast.cs
Other components
- Browser
Connections 7
- Browser → User interface: uses
- User interface → Users API: calls CRUD
UserInfo/wwwroot/app.js - Application host → Users API: maps controllers
UserInfo/Program.cs - Application host → Forecast API: maps controllers
UserInfo/Program.cs - Users API → In-memory store: calls CRUD
UserInfo/Controllers/UsersController.cs - In-memory store → User record: stores records
UserInfo/Services/InMemoryUserStore.cs - Forecast API → Forecast record: creates forecasts
UserInfo/Controllers/WeatherForecastController.cs