<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PSfD: Team Blog : Neil Kidd</title><link>http://blogs.msdn.com/psfd/archive/tags/Neil+Kidd/default.aspx</link><description>Tags: Neil Kidd</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Unhandled Exception in .Net 2.0</title><link>http://blogs.msdn.com/psfd/archive/2005/08/17/452702.aspx</link><pubDate>Wed, 17 Aug 2005 19:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:452702</guid><dc:creator>psfd</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/psfd/comments/452702.aspx</comments><wfw:commentRss>http://blogs.msdn.com/psfd/commentrss.aspx?PostID=452702</wfw:commentRss><wfw:comment>http://blogs.msdn.com/psfd/rsscomments.aspx?PostID=452702</wfw:comment><description>&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Having just found out the hard way; the way the Framework deals with unhandled exceptions has changed.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;In v1 the framework will eat any unhandled exceptions that you throw.&lt;BR&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;If you created a thread which threw an uncaught exception you may never know about it as the framework would eat it for you.&lt;BR&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;This has all changed in v2 and if you throw an exception out of your ThreadStart function, &lt;B&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;you process is going to get killed&lt;/SPAN&gt;&lt;/B&gt;.&lt;BR&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Not just the thread, the whole process.&lt;BR&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;This makes finding unhandled exception nice and obvious, but isn’t going to go down well if you have an existing app that is leaking exceptions.&lt;BR&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;So before you install v2 of the framework on you production servers (you will have tested it first, right?) you might want to review your code to ensure that you catch (and log) any exceptions.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Needless to say John Robbins was on top of this months before me, so you can read all about it at:&lt;BR&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;A title=http://msdn.microsoft.com/msdnmag/issues/05/07/Bugslayer/default.aspx href="http://msdn.microsoft.com/msdnmag/issues/05/07/Bugslayer/default.aspx"&gt;http://msdn.microsoft.com/msdnmag/issues/05/07/Bugslayer/default.aspx&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;-- Neil&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=452702" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/psfd/archive/tags/PSfD/default.aspx">PSfD</category><category domain="http://blogs.msdn.com/psfd/archive/tags/Neil+Kidd/default.aspx">Neil Kidd</category></item><item><title>IIS &amp; Authentication</title><link>http://blogs.msdn.com/psfd/archive/2005/08/01/446004.aspx</link><pubDate>Mon, 01 Aug 2005 17:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:446004</guid><dc:creator>psfd</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/psfd/comments/446004.aspx</comments><wfw:commentRss>http://blogs.msdn.com/psfd/commentrss.aspx?PostID=446004</wfw:commentRss><wfw:comment>http://blogs.msdn.com/psfd/rsscomments.aspx?PostID=446004</wfw:comment><description>&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Just in case (like me) you didn’t know in IIS6, the default is for every request to the server to be authenticated – even if new requests are using the same session.&lt;BR&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;A href=" http://blogs.technet.com/industry_insiders/articles/407751.aspx"&gt;Read this&lt;/A&gt; for more.&lt;BR&gt;N&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;ice easy perf win :-)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;--- Neil&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=446004" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/psfd/archive/tags/Neil+Kidd/default.aspx">Neil Kidd</category></item></channel></rss>