I'm currently working on a .NET-based web project (ASP.NET MVC/.NET Core) where I need to dynamically display country flags—either based on the user's selection or their geolocation. During my research, I came across a useful resource called allworldflags.com, which offers a comprehensive collection of country flags in SVG and PNG formats with helpful metadata.
Before I integrate this, I wanted to ask the community: has anyone used similar external flag APIs or datasets in their .NET applications? I'm looking for a solution that is lightweight, reliable, and doesn't impact page load performance. Whether it's a caching strategy, using a CDN, or embedding flags effectively—any suggestions, experiences, or best practices would be greatly appreciated.
Thanks in advance for your insights!