Woah, Nellie.NET!

From my simple mind to… mine…

HttpContext vs CallContext state management

with 2 comments

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.


Written by Nelson

March 29, 2007 at 4:04 am

2 Responses

Subscribe to comments with RSS.

  1. I’ll be releasing NHibernate Best Practices, 2nd edition sometime next week around April 4th. The 2nd edition has a lot of improvements including the currect use of HttpContext vs. CallContext. In the meantime, please see http://www.codeproject.com/aspnet/NHibernateBestPractices.asp?df=100&forumid=278860&noise=5&exp=0&mpp=50&select=1963724#xx1963724xx for the corrected approach.

    Billy McCafferty


    March 29, 2007 at 4:35 pm

  2. Thank you Bill.

    I love your article. Everything has been pretty straightforward to me after having read it a long while ago.


    March 29, 2007 at 7:25 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: