<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jcarle.com &#187; ASP.NET</title>
	<atom:link href="http://www.jcarle.com/category/asp-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jcarle.com</link>
	<description>The musings of a web developer</description>
	<lastBuildDate>Tue, 27 Apr 2010 14:19:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Determining the Order of ASP.NET MasterPage and Page Events</title>
		<link>http://www.jcarle.com/2009/07/29/determining-the-order-of-asp-net-masterpage-and-page-events/</link>
		<comments>http://www.jcarle.com/2009/07/29/determining-the-order-of-asp-net-masterpage-and-page-events/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 22:17:47 +0000</pubDate>
		<dc:creator>Jean-Sebastien Carle</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.jcarle.com/?p=120</guid>
		<description><![CDATA[Anyone who is a regular ASP.NET developer is likely familiar with the ASP.NET Page LifeCycle diagram that Kris van der Mast posted on his blog more then 3 years ago. It is indisputably the best reference when trying to determine where to insert your code in the life cycle of your pages. There is however a lack [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone who is a regular ASP.NET developer is likely familiar with the <a href="http://blog.krisvandermast.com/ASPNET20PageLifeCycle.aspx">ASP.NET Page LifeCycle diagram</a> that <a href="http://blog.krisvandermast.com/">Kris van der Mast</a> posted on his blog more then 3 years ago. It is indisputably the best reference when trying to determine where to insert your code in the life cycle of your pages. There is however a lack of clarity on where MasterPages fit into the picture. With a bit of logging and digging, here&#8217;s a diagram which illustrates clearly in which order MasterPage and Page events are fired. If you&#8217;re deriving a custom MasterPage or Page class for your site, the diagram also shows the relation between your class code and the automatically attached MasterPage and Page events.</p>
<p><a href="http://www.jcarle.com/wp-content/uploads/2009/07/OrderOfASPNETMasterPageAndPageEvents.png"><img class="alignnone size-medium wp-image-121" title="OrderOfASPNETMasterPageAndPageEvents" src="http://www.jcarle.com/wp-content/uploads/2009/07/OrderOfASPNETMasterPageAndPageEvents-163x300.png" alt="OrderOfASPNETMasterPageAndPageEvents" width="163" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jcarle.com/2009/07/29/determining-the-order-of-asp-net-masterpage-and-page-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disown your ASP.NET children</title>
		<link>http://www.jcarle.com/2009/07/24/disown-your-asp-net-children/</link>
		<comments>http://www.jcarle.com/2009/07/24/disown-your-asp-net-children/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 21:07:24 +0000</pubDate>
		<dc:creator>Jean-Sebastien Carle</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.jcarle.com/?p=112</guid>
		<description><![CDATA[If you&#8217;re building a site that contains nested applications, you may find yourself confused at what appears to be IIS completely disregarding your virtual directories. The behavior is by design. Although the applications will get isolated, the web.config settings from parent applications propagate to children applications. An easy fix is to simply wrap your web.config with [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re building a site that contains nested applications, you may find yourself confused at what appears to be IIS completely disregarding your virtual directories. The behavior is by design. Although the applications will get isolated, the web.config settings from parent applications propagate to children applications. An easy fix is to simply wrap your web.config with the following to disable propagation :</p>
<pre class="brush: xml;">
  &lt;location path=&quot;.&quot; inheritInChildApplications=&quot;false&quot;&gt;
    &lt;system.web&gt;

    ...

    &lt;/system.web&gt;
  &lt;/location&gt;
</pre>
<p>Most sections can be wrapped at the exception of <span style="color: #000000;">&lt;</span><span style="color: #006699;">configSections</span><span style="color: #000000;">&gt;</span>, <span style="color: #000000;">&lt;</span><span style="color: #006699;">runtime</span><span style="color: #000000;">&gt;</span> and of course, the <span style="color: #000000;">&lt;</span><span style="color: #006699;">configuration</span><span style="color: #000000;">&gt;</span> root node.</p>
<p>Check out the <a href="http://www.aspdotnetfaq.com/Faq/how-to-disable-web-config-inheritance-for-child-applications-in-subfolders-in-asp-net.aspx">full article</a> on <a href="http://www.aspdotnetfaq.com/">aspdotnetfaq.com</a> for more details.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jcarle.com/2009/07/24/disown-your-asp-net-children/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turn your ASP.NET pages into valid XHTML Strict pages</title>
		<link>http://www.jcarle.com/2009/07/23/turn-your-asp-net-pages-into-valid-xhtml-strict-pages/</link>
		<comments>http://www.jcarle.com/2009/07/23/turn-your-asp-net-pages-into-valid-xhtml-strict-pages/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 02:14:16 +0000</pubDate>
		<dc:creator>Jean-Sebastien Carle</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.jcarle.com/?p=94</guid>
		<description><![CDATA[Many developers seem to find it difficult to get their ASP.NET pages rendering in a valid XHTML Strict fashion. The solution is just a quick MSDN lookup away. Only two steps are required. One, declare the proper XHTML Strict DOCTYPE : &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Strict//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#34;&#62; Two, edit your Web.Config file and [...]]]></description>
			<content:encoded><![CDATA[<p>Many developers seem to find it difficult to get their ASP.NET pages rendering in a valid XHTML Strict fashion. The solution is just a <a href="http://msdn.microsoft.com/en-us/library/ms178159.aspx">quick MSDN lookup</a> away. Only two steps are required.</p>
<p>One, declare the proper XHTML Strict DOCTYPE :</p>
<pre class="brush: xml; auto-links: false;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
 &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;</pre>
<p>Two, edit your Web.Config file and the following to the System.Web section :</p>
<pre class="brush: xml;">&lt;xhtmlConformance mode=&quot;Strict&quot;/&gt;</pre>
<p>ASP.NET will now adjust the HTML it outputs from controls and get rid of the infamous name attribute on the form tag.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jcarle.com/2009/07/23/turn-your-asp-net-pages-into-valid-xhtml-strict-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
