Are there any established patterns for keeping console applications alive when hosted as guest executables in Service Fabric?
Adding a Thread.Sleep(Timeout.Infinite)
after I've subscribed to Service Bus or similar feels like a bit of a hack to me. Other approaches I've seen use Console.ReadKey(), but, again, this feels like a hack.