0
votes

I'm developing a few microservices in asp.net core 2.1. Some of my services use Azure Storage. They are all hosted in Linux containers using Docker and all is well with that. I realize it would be possible to containarize the storage emulator but this is not what I want, I want to connect to the host running it.

My question boils down to; How do I connect my apps to the storage emulator running on my desktop(the host)?

Thanks!

1
Was the answer helpful to you ?Adam Smith - Microsoft Azure
@AdamSmith-MSFT Thanks for the answer. I will check out Azurite but it doesn't quite answer my question. My issue presists even with Azurite. I will upvote but I cannot accept it as an answer. Sorry and thanks again. :)Kasper P
I'd recommend checking this thread: stackoverflow.com/questions/16778456/… I have not personally tried this solution, but the concept may help you connect your apps to a specific host. Let me know if this gets you closer to what you're looking for.Adam Smith - Microsoft Azure

1 Answers

1
votes

Unfortunately The storage emulator is not a scalable storage service and does not support a large number of concurrent clients.So it might not work for your desired scenario. It is also meant to act and work locally on a machine, not on a network based env(Connecting to the host hosting the emulator). I'd recommend checking this link which showcases the differences between the Azure storage and the Emulator capabilities.

Since you mentioned that your clients run on Linux, I'd recommend using Azurite, the equivalent of Azure Emulator for Linux, it also runs in Docker. So my suggestion would be to run multiple instances locally and test the app, or use a trial credit offered by Azure to see if it's the best fit.