asp.net inline versus codebehind which do you use and why?
<p>I've done it both ways, and to be honest other than the ability to give the code and webform to two different people (which doesn't happen where I work), I see very little advantage of one method over the other. I can understand how it is nice to have your code in one file, and markup in the other, but I can also understand the ease of having both in a single file.</p>

<p>I don't see how using code-behind <em>enforces</em> any sort of "good" programming, because you can still write crappy code in code-behind, and I've seen some really clean stuff with in-line.</p>

<p>So my real questions, what method are you using? and is there <em>anything</em> you can do programatically with code-behind that simply cannot be done with in-line code? or does it all really come down to the simple matter of "personal preference". Microsoft seems to not take a real stand on one way or the other and performance wise, it seems a wash.</p>

<p>Opinions?</p>
