The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: AutoEventWireUP role and its effects on Performance
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Amit ChoudharyPosted Apr 22, 2011, 2:16 AM
Thanks Karthik :)
Amit ChoudharyPosted Apr 22, 2011, 2:15 AM
I agree Suthish.. It won't have any big impact on performance, but why would you burn your CPU cycles in searching of matching delegates for these events if you are using only 2-3 of them. Hope this make sense to you. Microsoft always focus on user experience so it may be one of the point they ignored it in c#. but if you look at VB.Net template of asp.net forms you'll find it automatically set to false as VB support Handles for events. PS: We've seen the outcome of VISTA OS :) best UI experience but Performance just thrown it out of market and hence the WIN 7 introduced n i love it cuz of performance.
Suthish NairPosted Apr 21, 2011, 7:19 AM
I think there is not much performance issue. There is no well documented saying why we do not use true or false. If anyone came up with actual numbers, please share. In VS 2003 it was default "false", but other releases uses "true", then why Microsoft doing this if actually a performance issue is there. Another good explanation: http://www.shiningstar.net/blog/AutoEventWireup.aspx
Karthikeyan AnbarasanPosted Apr 21, 2011, 7:14 AM
Good one man... Keep going!!!