Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Celarixâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #288408 | Initial revision | — | over 1 year ago |
Answer | — |
A: How can I return XML from BeforeSendRequest and AfterReceiveReply to the calling method in a thread-safe way? I was able to find a solution that uses `ConcurrentDictionary`, but it's a bit ugly. First, I amended the auto-generated classes in `Reference.cs` with a new property `Guid InternalCorrelationId`. Since the auto-generated classes are `partial`, this can be done in separate files that aren't change... (more) |
— | over 1 year ago |
Edit | Post #288407 | Initial revision | — | over 1 year ago |
Question | — |
How can I return XML from BeforeSendRequest and AfterReceiveReply to the calling method in a thread-safe way? We have a console application using the Azure WebJob SDK. The WebJob relies on a WCF service using SOAP, which it accesses through a DLL we wrote that wraps the auto-generated WCF types in something a bit more friendly. For logging purposes, we want to save the request and response XML bodies for ... (more) |
— | over 1 year ago |