Open utterances-bot opened 1 year ago
Using a static partition key means that all rows will be in the same partition... it's OK if you don't intend to scale, but a bad idea otherwise. As it happens, I also wrote an URL shortener using Azure Table storage recently, as an exercise. I used the first characters of the URL token as the partition key, and the rest of it as the row key.
@thomaslevesque you are very right, and it was something I missed in this MVP. It is a good suggestion to use the first char something I had not considered as an option.
How to Build a Url Shorter with C# Minimal APIs and Azure
For some time now I have wanted to create a URL shortener of my own, and although there are many third-party services that offer this there…
https://www.blueboxes.co.uk/how-to-build-a-url-shorter-with-c-minimal-apis-and-azure