HttpContext vs CallContext state management

Here’s an interesting thread on using these various state management techniques across threads. It was brought up as an issue by a commenter on my NHibernate post on session management.

Although my examples so far appear to work because they are not being used in ASP.NET, they could potentially fail in that environment.

I will correct that example as soon as I get the opportunity to do so.

About Nelson Montalvo

I’m a software developer who loves .NET, Agile methodologies, Test Driven Design, Domain Driven techniques, and open source tools. Don’t get me wrong, I also like to use a thing or two that Microsoft creates besides .NET itself. :) In my “spare time” (when is that, anyways?) I like riding my motorcycle (, reading, watching movies (lots of movies), working out, and hanging out (good conversation, good beer, good times). Look me up in Facebook, Linked In or Plaxo. My personal code blog is
This entry was posted in NHibernate. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

Comments are closed.