question

DuraikannuJeyamani-6375 avatar image
0 Votes"
DuraikannuJeyamani-6375 asked DuaneArnold-0443 answered

Data flow between Parent and child threads in Dotnetcore or Alternative for Call Context in .NET Core

I understand that .Net Core doesn't support Call Context. But our application uses the same and we are planning to migrate it to .Net Core.
I am trying to maintain data between parent and its child threads in Dotnetcore web applications.
where I need to store web application name and web request URL of Parent thread and needs to use it when its child thread starts its execution. Even if Parent thread completes its execution before its child thread starts its execution i need to maintain the parent data. I have tried Execution Context, Async Local, Thread Local/static to maintain data between parent and child threads and did not helped.

Could anyone suggest us the Alternative (or) equality approach for this in .Net Core?

System.Runtime.Remoting.Messaging ==> class CallContext

Could anyone suggest us the Alternative approach for CallContext.LogicalSetData() and CallContext.LogicalGetData()

Thanks in advance.

dotnet-csharp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DuaneArnold-0443 avatar image
0 Votes"
DuaneArnold-0443 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.