Skip to content

Conversation

@andresgrobas
Copy link

Implementation of a .NET 8 web API that consumes the Czech National Bank (CNB) API to retrieve daily exchange rates. The solution follows a layered architecture with separate API, Application, and Infrastructure projects. It also includes configuration options, distributed caching, HTTP client resilience policies and Swagger documentation.

Modifications in ExchangeRatesProvider: get/set to cache, read default currencies from options.
CNB client from factory with configurable policies
Cancellations management.
Added unit testing.
Added Dockerfile
Corrections in DI for httpClient.
Request validation with ValidationAttribute.
Changes in log levels.
Null warnings.
Improve cache expiration logic
Included CNB data last update in cache expiration calculation.
Use extension methods for DI.
@wiz-trial-29da161873
Copy link

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
IaC Misconfiguration IaC Misconfigurations 1 High 2 Low
Total 1 High 2 Low

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant