I have an environment variable containing a CosmosDB connection string, i.e. this format:
AccountEndpoint=https://ACCOUNTNAME.documents.azure.com:443/;AccountKey=STUFF==;
Before I connect to the native API (using CreateAndInitializeAsync, I want to log the endpoint Uri, but can't find a parsing API.
What's the best approach, ideally with minimal code?