Hi,
Greetings! I have a custom service and I would like to store the entire payload received to a string, how to do it?
//BR, Abhinay

Hi,
Greetings! I have a custom service and I would like to store the entire payload received to a string, how to do it?
//BR, Abhinay
My reply has disappeared, but let me write it once more...
It depends on what you actually want.
What the custom service operation received are method parameters (typically, but not necessarily, a data contract object). You can serialize these parameters to string.
If you want to get the raw HTTP request, you can't do it from inside the custom service. What I'd do is routing the request through Azure API management (or something similar) and logging it there.