Note: this entry has moved.Please, make sure these words get deep in your mind the next time you write an ASP.NET application:
If you're using
Response.Write, you're a dreadful citizen of the ASP.NET world.
"Response.Write is there just for compatibility reasons and for old script programmers to not feel lonely".
An app written in such a way will not only be difficult to maintain and evolve, it will be almost impossible to customize (specially its layout), will never catch up with the upcoming mobile features and just hurts the eye.
Everytime I see a
Response.Write, and specially if it's not even kind enough to use
HtmlTextWriterStyle, the developer who wrote it is instantly removed from my in-memory list of good ASP.NET programmers.
Bottom line: you should always design your web apps as reusable components and user or custom controls, so that they can be easily rearranged, styled and plugged into existing apps.