﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Olav commented on NH Prof New Feature: Detect Cross Thread Session Usage</title><description>Makes sense once you have to test for more conditions and don't want lots of complex nested if's..
</description><link>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment5</link><guid>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment5</guid><pubDate>Mon, 28 Sep 2009 12:48:12 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof New Feature: Detect Cross Thread Session Usage</title><description>Diego,
  
I prefer using exit conditions rather than conditional
</description><link>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment4</link><guid>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment4</guid><pubDate>Wed, 05 Aug 2009 15:28:23 GMT</pubDate></item><item><title>Diego Mijelshon commented on NH Prof New Feature: Detect Cross Thread Session Usage</title><description>Just a style question (I'm curious)...
  
Why do you do this:
  
  
if (sessionInformation.SessionId.IdentifierId.ThreadId ==
  
	statement.SessionId.IdentifierId.ThreadId)
  
	return;
  
statement.AcceptAlert(AlertInformation.CrossThreadSessionUsage());
  
  
instead of:
  
  
if (sessionInformation.SessionId.IdentifierId.ThreadId !=
  
	statement.SessionId.IdentifierId.ThreadId)
  
	statement.AcceptAlert(AlertInformation.CrossThreadSessionUsage());
  
</description><link>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment3</link><guid>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment3</guid><pubDate>Wed, 05 Aug 2009 15:21:19 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof New Feature: Detect Cross Thread Session Usage</title><description>Anthony,
  
No, NH Prof doesn't update itself.
  
You can follow the changes to NH Prof here:
  
[http://builds.hibernatingrhinos.com/builds/NHProf](http://builds.hibernatingrhinos.com/builds/NHProf)</description><link>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment2</link><guid>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment2</guid><pubDate>Wed, 05 Aug 2009 11:01:09 GMT</pubDate></item><item><title>Anthony Dewhirst commented on NH Prof New Feature: Detect Cross Thread Session Usage</title><description>Does NHProf update itself or do I need to get the latest version? How will I know when new geatures are added? 
  
I have a license and wondered about this before.
  
  
Thanks for all the effort on this, its help my NH understanding loads
  
Anthony
</description><link>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment1</link><guid>http://ayende.com/4099/nh-prof-new-feature-detect-cross-thread-session-usage#comment1</guid><pubDate>Wed, 05 Aug 2009 10:03:46 GMT</pubDate></item></channel></rss>