|
And so, Dear Reader, I present to you twenty-first in a infinite number of posts of " The Weekly Source Code ." I'm doubling up this week, but the ASP.NET MVC Source was released today and I wanted to share more thoughts. I would also encourage you to check out TWSC 17 on Community ASP.NET MVC code . Read the Comments When you're reading source, look for words like "TODO," "HACK," "REVIEW," etc, to find parts of the code that the writers are concerned about. In the SelectBuilder.cs, there's a comment that says: // TODO: Should these be HTML encoded or HTML attribute encoded? Need to review all helper methods that call this. string thisText = HttpUtility.HtmlEncode(listData[key].ToString());...
|