Are there any significant differences between explicitly opening a connection with DeviceClient
at application initialisation or leaving it to open the connection itself when a message is sent?
What I mean by this is:
await deviceClient.OpenAsync(); // in main() etc.
...
await deviceClient.SendEventAsync(message);
Instead of just:
await deviceClient.SendEventAsync(message);
Are there any downsides to the latter? Is a connection held open regardless of how it's opened?