We have build a system in Azure and found that a Http triggered C# project dies if you call it 300 times in a short time periond. CSX files seem to not have this limitation. So it's pretty trivial to create a csx that receives a string via a POST and puts it on a queue. Sadly, all our queues have sessions. So I am going in circles trying to find a way to create a message with a session id. The docs say something like 'bind to a message type to set session id', but I can't set an out parameter in an async method, nor can I find any sort of example for what I am trying to do.
Is there any sort of sample code anywhere for creating a csx file that pushes to an Azure Service Bus queue with a session id?
Thanks