Im new to.net, although I wrote in classic asp for years. I know my time to make changes, but I can't say how HTML is bloated.
For example, a simple menu using web.sitemap and adds over 100 lines of JavaScript and HTML. A simple server-side validation form adds a ton of ugly JavaScript. And a basic data table using GridView adds to the ViewState, which makes my eyes water.
Call me the cleanest, although I don't like sending data to the browser unless it is needed. And I do not need a completed menu form when a simple unordered list of links is enough.
So, I set my paths to myself, am I destined to abandon the benefits of the Framework completely, insisting on writing my own, cleaner code for everything? Or am I missing a point?
As a brief response, I became a big fan of Campaign Monitor, a newsletter company. They wrote an elegant and comprehensive user interface in .net without a single ViewState or a weird link with an .net-mangeled identifier. Even the registration form on your website (/signup.aspx) is as clean as the whistle. What is their secret?
I hope I'm not the only one. Any advice would be greatly appreciated.
source
share