Hi,
How do i create ambient objects in .NET that are available throughout a method chain. For e.g. the TransactionScope object.
Hi,
How do i create ambient objects in .NET that are available throughout a method chain. For e.g. the TransactionScope object.
If you are working with ASP.NET however you should look into HttpContext.Items because ASP.NET engine will switch threads while processing request.