<?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>ASP.NET Application Life Cycle</title><link>http://blogs.msdn.com/tom/archive/2008/05/27/asp-net-application-life-cycle.aspx</link><description>Have you ever wondered about all the stages that an ASP.NET request goes through?&amp;#160; Ever wonder why it is such a performance hit to have a wildcard mapping to map all extensions on your web server to ASP.NET?&amp;#160; This information corresponds to</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>ASP.NET Debugging : ASP.NET Application Life Cycle</title><link>http://blogs.msdn.com/tom/archive/2008/05/27/asp-net-application-life-cycle.aspx#8554899</link><pubDate>Tue, 27 May 2008 17:19:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8554899</guid><dc:creator>ASP.NET Debugging : ASP.NET Application Life Cycle</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/tom/archive/2008/05/27/asp-net-application-life-cycle.aspx"&gt;http://blogs.msdn.com/tom/archive/2008/05/27/asp-net-application-life-cycle.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>ASP.NET Application Life Cycle</title><link>http://blogs.msdn.com/tom/archive/2008/05/27/asp-net-application-life-cycle.aspx#8555165</link><pubDate>Tue, 27 May 2008 20:09:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8555165</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
</description></item><item><title>re: ASP.NET Application Life Cycle</title><link>http://blogs.msdn.com/tom/archive/2008/05/27/asp-net-application-life-cycle.aspx#8556461</link><pubDate>Wed, 28 May 2008 14:42:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8556461</guid><dc:creator>Shail</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I really appreciate that you have explained the entire things in very simple words.&lt;/p&gt;
&lt;p&gt;Now just to carry on the discussion, can you please explain these things&lt;/p&gt;
&lt;p&gt;1. What are the things which causes an application to restart ? Say change in connection string in Web.Config or Change in Web.Config file&lt;/p&gt;
&lt;p&gt;2. What makes the entire worker process restarted ?&lt;/p&gt;
&lt;p&gt;3. How IIS can be configured to deliver best performance&lt;/p&gt;
&lt;p&gt;My intention is to make a complete knowledge base, where everything related to ASP.NET infrastructure is available.&lt;/p&gt;
&lt;p&gt;Thank You,&lt;/p&gt;
&lt;p&gt;Shail&lt;/p&gt;</description></item><item><title>re: ASP.NET Application Life Cycle</title><link>http://blogs.msdn.com/tom/archive/2008/05/27/asp-net-application-life-cycle.aspx#8556603</link><pubDate>Wed, 28 May 2008 17:29:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8556603</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Shail,&lt;/p&gt;
&lt;p&gt;Thanks for the comment. &amp;nbsp;Here are my answers:&lt;/p&gt;
&lt;p&gt;1. Numerous things can cause it to restart. &amp;nbsp;Any changes to any of the files the application depends on will cause it to restart. &amp;nbsp;The config files are just a few of them&lt;/p&gt;
&lt;p&gt;2. Crashes can cause the process to restart, or if it hits one of the health monitoring limits.&lt;/p&gt;
&lt;p&gt;3. Configuring IIS really depends on what you are doing with it, take a look at this post for some places to start:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/tom/archive/2008/03/25/hangs-and-how-to-solve-them-part-2-queuing.aspx"&gt;http://blogs.msdn.com/tom/archive/2008/03/25/hangs-and-how-to-solve-them-part-2-queuing.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Keep the questions coming...&lt;/p&gt;
</description></item><item><title>re: ASP.NET Application Life Cycle</title><link>http://blogs.msdn.com/tom/archive/2008/05/27/asp-net-application-life-cycle.aspx#8556936</link><pubDate>Wed, 28 May 2008 23:35:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8556936</guid><dc:creator>Shail</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you very much for answers.&lt;/p&gt;
&lt;p&gt;There are few more questions &lt;/p&gt;
&lt;p&gt;1. Is there is any tool which can be just attached to your IIS and it will give you all the information about application performance, even at the page level and of course in graphical way. So that you can find whats wrong with the application. I think thats even better for Administrators. Thats something performance counters and Windows logs can do for you.&lt;/p&gt;
&lt;p&gt;2.How can I set my IIS and other ASP.NET process such as Worker process as High Priority processes in my OS. For example, I have other application like anti virus. So I want to achieve the performance from the level of CPU. I wanna instruct my machine that keep the IIS and ASP.NET as the top priority application.&lt;/p&gt;
&lt;p&gt;3. Now we have Multi-Core CPUs, is that possible that &amp;nbsp;I can write my ASP.NET code ( Say business classes ) in such a way, So that the money I paid to have a Multi-Core CPU is utilized.&lt;/p&gt;
&lt;p&gt;Thank You,&lt;/p&gt;
&lt;p&gt;Shail&lt;/p&gt;</description></item><item><title>re: ASP.NET Application Life Cycle</title><link>http://blogs.msdn.com/tom/archive/2008/05/27/asp-net-application-life-cycle.aspx#8558064</link><pubDate>Thu, 29 May 2008 15:32:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8558064</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Shail,&lt;/p&gt;
&lt;p&gt;For #1, the best we currently have is DebugDiag:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1286"&gt;http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1286&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It does a very nice job bringing everything together.&lt;/p&gt;
&lt;p&gt;For #2, take a look at:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.schrockinnovations.com/computerperformance.php"&gt;http://www.schrockinnovations.com/computerperformance.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also, in the performance options, switch to the Advanced tab and change the &amp;quot;Adjust for best performance of:&amp;quot; to Background services.&lt;/p&gt;
&lt;p&gt;For #3, ASP.NET will use multi-core for .NET, if you want to write your code to use it more, there are some exciting things coming down the pipe. &amp;nbsp;Keep checking this blog and I'll write about them soon.&lt;/p&gt;
</description></item></channel></rss>