AzUrlShortener
AzUrlShortener copied to clipboard
Solutions to Issues #31, #48 and Additional Code Refactoring
- Introduced Blazored.FluentValidation for handling Validation of ShortUrlEntity on Edits or Adds
- Introduced IStorageTableHelper to inject StorageTableHelper via Dependency Injection for all Azure Functions removing code duplication
- Modified ShortUrlEntity Clicks definition from int to Dictionary<string, int> to store click counts by country
- Intriduced some helpers and extensions methods to reduce code duplication
- Introduced EntityJsonPropertyConverter to handle serialization/deserialization of ShortUrlEntity Clicks property
- Introduced UserIpLocationService to call the https://freegeoip.app/ service for obtaining user click data (i.e. country of origin)
- Updated all azure functions to inject IStorageTableHelper to reduce code duplication and coupling to StorageTableHelper implementation
Wow very nice work @mreyeros !!!
Let's plan some session to test all those super cool new features.
:) You are welcome Frank, absolutely lets do it!
Looking good
Needs the lastest from branch vnext merging into and conflicts resolved
FYI @DavidTCarpenters I started the v3 branch to use the Identity of SWA and really simplify the deployment.