<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Lasse Eskildsen - All Comments</title><link>http://weblogs.asp.net/lasse/default.aspx</link><description>Everyday life of a .NET developer</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: The asp.net &lt;deployment retail=”true” /&gt; attribute</title><link>http://weblogs.asp.net/lasse/archive/2009/04/28/the-asp-net-lt-deployment-retail-true-gt-attribute.aspx#7158063</link><pubDate>Thu, 30 Jul 2009 14:54:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7158063</guid><dc:creator>codedefiner</dc:creator><description>&lt;p&gt;good article&lt;/p&gt;
&lt;p&gt;you can find some information about Asp.net Deployment at &lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.codedefiner.com/aspnet/aspnetDeployement.aspx&amp;quot;&amp;gt;Deployment"&gt;www.codedefiner.com/.../aspnetDeployement.aspx&amp;quot;&amp;gt;Deployment&lt;/a&gt; of Asp.Net website&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7158063" width="1" height="1"&gt;</description></item><item><title>re: The asp.net &lt;deployment retail=”true” /&gt; attribute</title><link>http://weblogs.asp.net/lasse/archive/2009/04/28/the-asp-net-lt-deployment-retail-true-gt-attribute.aspx#7111931</link><pubDate>Sun, 07 Jun 2009 17:52:34 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7111931</guid><dc:creator>ravi</dc:creator><description>&lt;p&gt;can u mention abt unnecessary files to be excluded ....&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7111931" width="1" height="1"&gt;</description></item><item><title>links for 2009-04-29 &amp;laquo;  dstelow notes&amp;#8230;</title><link>http://weblogs.asp.net/lasse/archive/2009/04/28/the-asp-net-lt-deployment-retail-true-gt-attribute.aspx#7065460</link><pubDate>Thu, 30 Apr 2009 00:31:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7065460</guid><dc:creator>links for 2009-04-29 «  dstelow notes…</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;links for 2009-04-29 &amp;amp;laquo; &amp;nbsp;dstelow notes&amp;amp;#8230;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7065460" width="1" height="1"&gt;</description></item><item><title>re: Performance Profiling And Commerce Server 2007</title><link>http://weblogs.asp.net/lasse/archive/2008/10/16/performance-profiling-and-commerce-server-2007.aspx#7046315</link><pubDate>Tue, 14 Apr 2009 19:48:21 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7046315</guid><dc:creator>lasseeskildsen</dc:creator><description>&lt;p&gt;Do you mean the GetCatalog method? I didn't find a workaround, other than caching the catalog. However, since this post, we have switched to a DDD approach as an anti corruption layer, so we map all Commerce Server entities to POCO classes which we put in our own cache. This has resulted in a major performance increase.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7046315" width="1" height="1"&gt;</description></item><item><title>re: Performance Profiling And Commerce Server 2007</title><link>http://weblogs.asp.net/lasse/archive/2008/10/16/performance-profiling-and-commerce-server-2007.aspx#7037512</link><pubDate>Thu, 09 Apr 2009 19:27:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7037512</guid><dc:creator>Bob</dc:creator><description>&lt;p&gt;Where you able to work around the CS API performance problem? I have the same issue as we cache everything we can this API call is showing up as the bottleneck. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7037512" width="1" height="1"&gt;</description></item><item><title>re: Demystifying the Page_Load Method</title><link>http://weblogs.asp.net/lasse/archive/2008/11/20/demystifying-the-page-load-method.aspx#6750911</link><pubDate>Sun, 23 Nov 2008 23:38:31 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6750911</guid><dc:creator>lasseeskildsen</dc:creator><description>&lt;p&gt;First off, I really appreciate you guy's opinions. &lt;/p&gt;
&lt;p&gt;I usually use the override approach, but I have two concerns on this one:&lt;/p&gt;
&lt;p&gt;- The purpose of e.g. OnLoad should be to raise the Load-event.&lt;/p&gt;
&lt;p&gt;- Overriding the method implies you want to change the method's behavior. &lt;/p&gt;
&lt;p&gt;Ideally, I would not add any business logic to the OnLoad method. Say for instance I inherit page into MyPage, overrides OnLoad, inherits MyPage and overrides OnLoad. This way I cannot raise the Load event without triggering the logic added to the OnLoad method. This can be perfectly ok, but if I want to avoid this, the Page_Load approach can be used.&lt;/p&gt;
&lt;p&gt;I'm not saying that either one is right or wrong, just that is has different usages, e.g. to avoid those nasty state variables.&lt;/p&gt;
&lt;p&gt;Thoughts?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6750911" width="1" height="1"&gt;</description></item><item><title>re: Demystifying the Page_Load Method</title><link>http://weblogs.asp.net/lasse/archive/2008/11/20/demystifying-the-page-load-method.aspx#6750553</link><pubDate>Sun, 23 Nov 2008 10:25:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6750553</guid><dc:creator>Soren</dc:creator><description>&lt;p&gt;Great post.nice &amp;nbsp;to get an expanstion on why it worked. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6750553" width="1" height="1"&gt;</description></item><item><title>re: Demystifying the Page_Load Method</title><link>http://weblogs.asp.net/lasse/archive/2008/11/20/demystifying-the-page-load-method.aspx#6749860</link><pubDate>Fri, 21 Nov 2008 22:38:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6749860</guid><dc:creator>Dennis Riis</dc:creator><description>&lt;p&gt;I am with Peter on this one. The problem with using a Page_Load method, is the fact that it is somehow &amp;quot;magic&amp;quot;. It is not apparent why it gets called, in fact you just spent an entire blog post entire blog post explaining why. I'm in favour of overriding the appropiate methods (and you still get to decide when base.OnXxx is called, mind you) at all times. &lt;/p&gt;
&lt;p&gt;I think overriding a method promotes OO design and thinking, since the principle will work in whatever environment you might find yourself in, while these &amp;quot;magic&amp;quot; method names will only work in ASP .NET when writing code that inherits TemplateControl.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6749860" width="1" height="1"&gt;</description></item><item><title>re: Demystifying the Page_Load Method</title><link>http://weblogs.asp.net/lasse/archive/2008/11/20/demystifying-the-page-load-method.aspx#6749126</link><pubDate>Fri, 21 Nov 2008 07:25:03 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6749126</guid><dc:creator>lasseeskildsen</dc:creator><description>&lt;p&gt;Yes, you're right about it takes a lot more explaining. In addition, Page_Load is called after base.OnLoad, so if you want to do some stuff before that, overriding the OnLoad can be the way to go.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6749126" width="1" height="1"&gt;</description></item><item><title>re: Demystifying the Page_Load Method</title><link>http://weblogs.asp.net/lasse/archive/2008/11/20/demystifying-the-page-load-method.aspx#6748895</link><pubDate>Thu, 20 Nov 2008 23:31:23 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6748895</guid><dc:creator>Peter</dc:creator><description>&lt;p&gt;&amp;quot; from now on I don't see any reason why not to use them&amp;quot;&lt;/p&gt;
&lt;p&gt;Here's a reason, how many words do you need to explain how it works as opposed to explaining the override method. Using the override makes far more sense, it's part of the language and OOP. It doesn't give you this impression that you're living on a cloud. The code you write behind the aspx is actually a class that inherits from a different class. The Page_Load method is an abomination of object oriented design. It introduced a lot of confusion. What if you override OnLoad and use Page_Load at the same time, which one gets called first and why? If you have to fire up VS to test it out you've already proven my point.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6748895" width="1" height="1"&gt;</description></item></channel></rss>