Undesired Code Generation in VS.NET

Like the unwanted feature in Web Matrix, VS.NET will destory any XHTML standard or insert undesire code without our notification. However, we do need and love VS.NET for our development, especially it automatically generate necessary control declaration or event handler when switching from Design View and Code View, that said, you'll switch to Design View(10% time) and then go to Code View (90% time) just because let it to generate necessary declaration code for you.

Moreover, VS.NET is naughty and it's not always under control. So how can we control it so that it would write code for me but DON'T modify my existing code? Bash post a tip on the ASP.NET Forum today and it worth reading.

No Comments