<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://devlicio.us/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>Hadi Hariri - All Comments</title><link>http://devlicio.us/blogs/hadi_hariri/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>re: Profiling Apps 1 of N: The MVC ActionLink</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/03/09/profiling-apps-1-of-n-the-mvc-actionlink.aspx#55850</link><pubDate>Thu, 11 Mar 2010 04:57:38 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55850</guid><dc:creator>Tim Barcz</dc:creator><description>&lt;p&gt;Hadi,&lt;/p&gt;
&lt;p&gt;This was a great read, thanks for sharing.&lt;/p&gt;
&lt;p&gt;One thought for future performance topics (one that&amp;#39;s been on my mind) is the RenderAction versus RenderPartial in the MVC framework since the two operate differently.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55850" width="1" height="1"&gt;</description></item><item><title>Profiling Apps 1 of N: The MVC ActionLink - Hadi Hariri - Devlicio.us - Just the Tasty Bits</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/03/09/profiling-apps-1-of-n-the-mvc-actionlink.aspx#55832</link><pubDate>Wed, 10 Mar 2010 15:43:23 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55832</guid><dc:creator>9eFish</dc:creator><description>&lt;p&gt;9efish.感谢你的文章 - Trackback from 9eFish&lt;/p&gt;
&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55832" width="1" height="1"&gt;</description></item><item><title>re: Profiling Apps 1 of N: The MVC ActionLink</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/03/09/profiling-apps-1-of-n-the-mvc-actionlink.aspx#55819</link><pubDate>Wed, 10 Mar 2010 06:46:27 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55819</guid><dc:creator>Hadi Hariri</dc:creator><description>&lt;p&gt;@Paco,&lt;/p&gt;
&lt;p&gt;The point with covering ActionLinks and comparing the two were to see what the real difference is between them. Many times one has been discarded in favour of other for performance reasons, whereas that performance difference might not even be a real issue. &lt;/p&gt;
&lt;p&gt;Obviously context is important. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55819" width="1" height="1"&gt;</description></item><item><title>re: Profiling Apps 1 of N: The MVC ActionLink</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/03/09/profiling-apps-1-of-n-the-mvc-actionlink.aspx#55808</link><pubDate>Tue, 09 Mar 2010 22:16:32 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55808</guid><dc:creator>Paco</dc:creator><description>&lt;p&gt;You don&amp;#39;t have a performance problem when method a is slower than method b, but you have a performance problem when your application is too slow to agree with your SLA. When you have a webpage with a lot of links (count the links on this page), I can imagine situations where 100ms is significant. When your SLA says that 100ms is fine, you don&amp;#39;t have to worry, even when 99 of that 100ms are involved in generating links. It is a reason to be curious to start the profiler, but it is not a performance problem. &lt;/p&gt;
&lt;p&gt;When you want to compare two approaches of doing something, you have to realize you just compare it in the context where you use it. The two ways of generating links are almost equally fast in your situation, but that doesn&amp;#39;t mean that there is no significant difference in every situation. When you really want to compare the two approaches, you should create a chart with all involved parameters, and show which approach is the fastest in which situation.&lt;/p&gt;
&lt;p&gt;I once had a performance problem with generating links in mvc. I opened reflector, and saw that the largest difference of generating the links with the 2 approaches in my situation was caused by RouteCollection.GetVirualPath. With some link generating methods, all routes would be enumerated here, and with some there would be a look up on routename. The application I was working had a few hundreds of views and about 100-200 routes. The difference was much larger than the difference in your situation, something like 2 whole seconds vs some milliseconds for 1000 links. I solved the problem by creating my own strongly typed version of the actionlink method.&lt;/p&gt;
&lt;p&gt;There is no performance problem when the app is not to slow.&lt;/p&gt;
&lt;p&gt;There is no context in a benchmark to compare two methods, but there is a context in profiling an application.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55808" width="1" height="1"&gt;</description></item><item><title>re: Dynamic types and ASP.NET MVC</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2009/12/30/dynamic-types-and-asp-net-mvc.aspx#55713</link><pubDate>Sun, 07 Mar 2010 13:19:28 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55713</guid><dc:creator>Peter</dc:creator><description>&lt;p&gt;Looks great. I think it&amp;#39;s usable for scenario&amp;#39;s where you have dynamic formcontent and using this to create a dynamic model could be very handy.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55713" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET Support in ReSharper 5</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/20/asp-net-support-in-resharper-5.aspx#55305</link><pubDate>Mon, 08 Feb 2010 01:00:16 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55305</guid><dc:creator>renantech</dc:creator><description>&lt;p&gt;asp.net 2010 version is great because of the improve features and easy to use.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55305" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET Support in ReSharper 5</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/20/asp-net-support-in-resharper-5.aspx#55103</link><pubDate>Thu, 21 Jan 2010 11:27:32 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55103</guid><dc:creator>Hadi Hariri</dc:creator><description>&lt;p&gt;@David, &lt;/p&gt;
&lt;p&gt;It was a joke :). I appreciate that a lot of people are used to the IntelliJ setup. In fact I think it was Howard that mentioned that it would be a good idea to have a global key to change schemes. Would help pairing up with devs using different layouts.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55103" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET Support in ReSharper 5</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/20/asp-net-support-in-resharper-5.aspx#55101</link><pubDate>Thu, 21 Jan 2010 11:09:36 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55101</guid><dc:creator>David Kemp</dc:creator><description>&lt;p&gt;re: If you’re using IntelliJ (why?)&lt;/p&gt;
&lt;p&gt;I use this because I&amp;#39;ve been using R# forever, and originally there wasn&amp;#39;t a choice over keyboard mappings, so I learnt the Intelli-j ones and now CBA to relearn them just because VS started playing catch-up&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55101" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET Support in ReSharper 5</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/20/asp-net-support-in-resharper-5.aspx#55083</link><pubDate>Wed, 20 Jan 2010 17:43:16 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55083</guid><dc:creator>sergiopereira</dc:creator><description>&lt;p&gt;Good stuff. I shall upgrade ASAP.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55083" width="1" height="1"&gt;</description></item><item><title>re: Writing plug-ins for ReSharper: Part 1 of Undefined</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/12/writing-plug-ins-for-resharper-part-1-of-undefined.aspx#55040</link><pubDate>Sat, 16 Jan 2010 16:08:02 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55040</guid><dc:creator>Pascal</dc:creator><description>&lt;p&gt;Great post. For a while now I&amp;#39;ve been wanting to create a R# plugin but it always seemed too complicated and undocumented. I think your posts on the topic will help a lot. Please keep up with the series. Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55040" width="1" height="1"&gt;</description></item><item><title>re: Writing plug-ins for ReSharper: Part 1 of Undefined</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/12/writing-plug-ins-for-resharper-part-1-of-undefined.aspx#55028</link><pubDate>Fri, 15 Jan 2010 17:08:42 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55028</guid><dc:creator>Andrew Kazyrevich</dc:creator><description>&lt;p&gt;Hadi, great start. &lt;/p&gt;
&lt;p&gt;R# OpenAPI definitely lacks documentation - hopefully your blog posts would shed some light! &lt;/p&gt;
&lt;p&gt;--Andrew&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55028" width="1" height="1"&gt;</description></item><item><title>re: Writing plug-ins for ReSharper: Part 1 of Undefined</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/12/writing-plug-ins-for-resharper-part-1-of-undefined.aspx#55004</link><pubDate>Wed, 13 Jan 2010 12:29:34 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55004</guid><dc:creator>Gamlor</dc:creator><description>&lt;p&gt;Hey, a cool blog post. I&amp;#39;ll certainly follow the next post on this topic.&lt;/p&gt;
&lt;p&gt;And adding a context-action is easier than I imagined.&lt;/p&gt;
&lt;p&gt;Is there a good documentation of the Resharper-API somewhere. I haven&amp;#39;t found anything on Resharpers website. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55004" width="1" height="1"&gt;</description></item><item><title>re: Writing plug-ins for ReSharper: Part 1 of Undefined</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/12/writing-plug-ins-for-resharper-part-1-of-undefined.aspx#55002</link><pubDate>Wed, 13 Jan 2010 10:33:04 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:55002</guid><dc:creator>web design</dc:creator><description>&lt;p&gt;what a nice blog dear. I never seen such an attractive and useful blog after seeing it. I will pray for your success and also appreciate you at your great step that you have taken toward your bright future..&lt;/p&gt;
&lt;p&gt;Thanks a lot again.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=55002" width="1" height="1"&gt;</description></item><item><title>re: Writing plug-ins for ReSharper: Part 1 of Undefined</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/12/writing-plug-ins-for-resharper-part-1-of-undefined.aspx#54999</link><pubDate>Wed, 13 Jan 2010 08:00:52 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:54999</guid><dc:creator>Kenny</dc:creator><description>&lt;p&gt;Cool stuff! :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=54999" width="1" height="1"&gt;</description></item><item><title>re: Writing plug-ins for ReSharper: Part 1 of Undefined</title><link>http://devlicio.us/blogs/hadi_hariri/archive/2010/01/12/writing-plug-ins-for-resharper-part-1-of-undefined.aspx#54993</link><pubDate>Tue, 12 Jan 2010 20:23:35 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:54993</guid><dc:creator>Hadi Hariri</dc:creator><description>&lt;p&gt;@Sergio,&lt;/p&gt;
&lt;p&gt;Unforunately Live Writer didn&amp;#39;t play well with the Attachment plugin. The source code had all the correct references. I&amp;#39;ve uploaded the project to &lt;a rel="nofollow" target="_new" href="http://hadihariri.com/Downloads/MakeVirtualPlugin.zip"&gt;hadihariri.com/.../MakeVirtualPlugin.zip&lt;/a&gt;. Let me know if you have any issues. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=54993" width="1" height="1"&gt;</description></item></channel></rss>