How d3nhatv0lam/chasing-light-be works
This is a small ASP.NET Core weather-forecast API. An HTTP client requests the controller’s GET endpoint; the controller generates five forecast records and returns them using the WeatherForecast model. Program.cs registers and maps controllers, and configures HTTPS redirection and authorization. The repository shows no persistent storage or external service integrations. The graph is limited to the sampled runtime files; the README is empty.
Main entry points: WeatherForecastController.cs Forecast endpoint · Program.cs API host · WeatherForecast.cs Forecast model
Components 4
Other components
- HTTP client
- API host
src/ChasingLight.Api/Program.cs - Forecast endpoint
src/ChasingLight.Api/Controllers/WeatherForecastController.cs - Forecast model
src/ChasingLight.Api/WeatherForecast.cs
Connections 4
- API host → Forecast endpoint: maps controllers
src/ChasingLight.Api/Program.cs - HTTP client → Forecast endpoint: requests GET
src/ChasingLight.Api/Controllers/WeatherForecastController.cs - Forecast endpoint → Forecast model: creates records
src/ChasingLight.Api/Controllers/WeatherForecastController.cs - Forecast endpoint → HTTP client: returns forecasts
src/ChasingLight.Api/Controllers/WeatherForecastController.cs