<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>ASP.NET</title>
        <link>http://geekswithblogs.net/tmurphy/category/4204.aspx</link>
        <description>ASP.NET</description>
        <language>en-US</language>
        <copyright>Tim Murphy</copyright>
        <managingEditor>twmurph@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Review: Beginning Ajax with ASP.NET</title>
            <link>http://geekswithblogs.net/tmurphy/archive/2007/03/29/ReviewBeginningAjaxwithASPNET.aspx</link>
            <description>&lt;p&gt;First let me say thanks to &lt;a href="http://www.dotnetjunkies.com/WebLog/craigshoemaker/default.aspx" target="_blank"&gt;Craig Shoemaker&lt;/a&gt; for sending me a copy of this book.&amp;nbsp; Yes, I know it has been a while since it came out, but I just finally got around to going through it.&amp;nbsp; In that time Craig has been working on another book and Microsoft has renamed Atlas to ASP.NET Ajax.&lt;/p&gt; &lt;p&gt;Craig, &lt;a href="http://weblogs.asp.net/wallym" target="_blank"&gt;Wally&lt;/a&gt;, &lt;a href="http://weblogs.asp.net/pglavich" target="_blank"&gt;Paul&lt;/a&gt; and Scott packed this text with gems, not only on Ajax, but also the technologies that it grew up from.&lt;/p&gt; &lt;p&gt;The book covers how we got to this point.&amp;nbsp; They start all the way back with JavaScript and the DOM and go right through XMLHTTPRequest and JSON.&lt;/p&gt; &lt;p&gt;The topics contained are a broad swipe at Ajax.&amp;nbsp; This 400 page book addresses the Ajax-like features of ASP.NET 2.0 and how they work.&amp;nbsp; It then goes on to focus on the Ajax.NET Professional Library and then gives a brief taste of five other Ajax frameworks.&amp;nbsp; The final Ajax technology addressed it Atlas.&lt;/p&gt; &lt;p&gt;The features I liked most about the book are that there are lots of code samples and explanations of how things work.&amp;nbsp; There are some excellent diagrams showing event lifecycles.&amp;nbsp; The final chapter is one of the best features since it discusses debugging Ajax and its client side Javascript.&lt;/p&gt; &lt;p&gt;The .NET and architecture communities owe this group a lot.&amp;nbsp; Not only for this book, but for all the wisdom that flows from their blogs, podcasts and speaking at events.&amp;nbsp; These guys did their homework and worked through ever changing tools to bring us these pearls.&amp;nbsp; Thanks guys.&lt;/p&gt; &lt;img src="http://geekswithblogs.net/tmurphy/aggbug/110198.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Murphy</dc:creator>
            <guid>http://geekswithblogs.net/tmurphy/archive/2007/03/29/ReviewBeginningAjaxwithASPNET.aspx</guid>
            <pubDate>Thu, 29 Mar 2007 07:27:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/tmurphy/comments/110198.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/tmurphy/archive/2007/03/29/ReviewBeginningAjaxwithASPNET.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/tmurphy/comments/commentRss/110198.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/tmurphy/services/trackbacks/110198.aspx</trackback:ping>
        </item>
        <item>
            <title>ASP.NET Web Application Project Released</title>
            <link>http://geekswithblogs.net/tmurphy/archive/2006/05/09/ASPNETWebApplicationProjectReleased.aspx</link>
            <description>For those who are missing the ability to treat your ASP.NET applications in VS2005 as projects rather than individual files &lt;A href="http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx"&gt;this release &lt;/A&gt;from Microsoft is for you.&amp;nbsp; If you want all the details and then some check out &lt;A href="http://weblogs.asp.net/scottgu/archive/2006/05/08/445742.aspx"&gt;Scott Guthrie's post&lt;/A&gt;. &lt;img src="http://geekswithblogs.net/tmurphy/aggbug/77675.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Murphy</dc:creator>
            <guid>http://geekswithblogs.net/tmurphy/archive/2006/05/09/ASPNETWebApplicationProjectReleased.aspx</guid>
            <pubDate>Tue, 09 May 2006 15:37:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/tmurphy/comments/77675.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/tmurphy/archive/2006/05/09/ASPNETWebApplicationProjectReleased.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/tmurphy/comments/commentRss/77675.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/tmurphy/services/trackbacks/77675.aspx</trackback:ping>
        </item>
        <item>
            <title>Why Performance and Scalable is Required Reading</title>
            <link>http://geekswithblogs.net/tmurphy/archive/2006/05/04/WhyPerformanceandScalableisRequiredReading.aspx</link>
            <description>&lt;P&gt;We are in the middle of addressing some production issues at my current client.&amp;nbsp; One of them involves an ASP.NET application which is slow to respond at times and other times does not seem to respond at all.&amp;nbsp; The fun part is that there is nothing from the application side which is giving us a clue as to what is going on.&amp;nbsp; This has been going on for a while and people are starting to get frustrated, so it was decided to call the experts from Microsoft.&lt;/P&gt;
&lt;P&gt;So we start having conference calls and the MS representatives start asking for information on our servers so that they can diagnose the problem.&amp;nbsp; When they were sent the machine.config files there was a pause on the other end of the phone.&amp;nbsp; Then they asked a question which in essence was why are the settings still as they came from the factory.&lt;/P&gt;
&lt;P&gt;Now in larger companies roles tend to be segregated.&amp;nbsp; For the most part developers can not see what is on the servers, much less change them.&amp;nbsp; This being the case you tend to assume that the administrators know their job and how to optimally setup a machine.&amp;nbsp; Evidently not!&lt;/P&gt;
&lt;P&gt;This brings me to the point.&amp;nbsp; The Patterns and Practices group produced a rather large tome some time ago titled &amp;#8220;Improving .NET Application Performance and Scalability&amp;#8221;.&amp;nbsp; When it was originally published it was 1108 pages (good bed time reading).&amp;nbsp; Now most .NET development teams know about P&amp;amp;P and we have been using the development suggestions from this document for some time.&amp;nbsp; I don't think it is as well known in the administration community.&amp;nbsp; I believe that Chapter 17 on tuning .NET application performance is a must read for anyone setting up an environment.&lt;/P&gt;
&lt;P&gt;No I am not saying that this will fix all problems, or even the ones that we are encountering at my client.&amp;nbsp; I do think that if these best practices are applied to standard machine builds I think all of our live would be just a little easier.&lt;/P&gt; &lt;img src="http://geekswithblogs.net/tmurphy/aggbug/77239.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Murphy</dc:creator>
            <guid>http://geekswithblogs.net/tmurphy/archive/2006/05/04/WhyPerformanceandScalableisRequiredReading.aspx</guid>
            <pubDate>Thu, 04 May 2006 16:12:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/tmurphy/comments/77239.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/tmurphy/archive/2006/05/04/WhyPerformanceandScalableisRequiredReading.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/tmurphy/comments/commentRss/77239.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/tmurphy/services/trackbacks/77239.aspx</trackback:ping>
        </item>
        <item>
            <title>To Transfer Or Not To Transfer, That Is The Questions</title>
            <link>http://geekswithblogs.net/tmurphy/archive/2006/03/16/ToTransferOrNotToTransferThatIsTheQuestions.aspx</link>
            <description>&lt;P&gt;This is one that bit me the other day and re-enforces the need to think about why you use a certain method.&amp;nbsp; I was doing some testing at the client I am working at and a page suddenly started rendering twice in the same browser window.&amp;nbsp; So what I ended up with was:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;My Page&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;
&lt;HR id=null&gt;
&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;My Page&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Now how the heck can that happen?&amp;nbsp; I was a victum of my own code.&amp;nbsp; The application's detail page was catching a custom exception type and then using Server.Transfer to go to an overview page.&amp;nbsp; No problem, right?&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The problem is that calling Server.Transfer causes a ThreadAbortException in the originating page.&amp;nbsp; After the custom exception was caught and the page was transferred and the new page completed its load the thread abort was caught by the original page looking for any System.Exception errors.&amp;nbsp; Guess what was being performed in this catch.&amp;nbsp; That's right.&amp;nbsp; Transfer to the overview page resulting in the scenario above.&lt;/P&gt;
&lt;P&gt;I had never seen this behavior before, but then again, I normally use Redirect instead of Transfer.&amp;nbsp; I have read a number of articles and none of them mention the possibility&amp;nbsp;of this happening.&amp;nbsp; All of them say that the page terminates and transfers to the new page.&amp;nbsp; Evidently this is the case for all situations other than exceptions.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Note:&amp;nbsp; This was written in ASP.NET 1.1&lt;/EM&gt;&lt;/P&gt; &lt;img src="http://geekswithblogs.net/tmurphy/aggbug/72491.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Murphy</dc:creator>
            <guid>http://geekswithblogs.net/tmurphy/archive/2006/03/16/ToTransferOrNotToTransferThatIsTheQuestions.aspx</guid>
            <pubDate>Thu, 16 Mar 2006 15:58:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/tmurphy/comments/72491.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/tmurphy/archive/2006/03/16/ToTransferOrNotToTransferThatIsTheQuestions.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/tmurphy/comments/commentRss/72491.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/tmurphy/services/trackbacks/72491.aspx</trackback:ping>
        </item>
    </channel>
</rss>
