O'Reilly logo

The ASP.NET 2.0 Anthology by Phil Haack, Jon Galloway, Wyatt Barnett, Jeff Atwood, Scott Allen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8 Component-based Development

It’s easy to succumb to a drag-and-drop mindset when working with ASP.NET and Visual Studio.

This mentality might apply to small applications, but becomes a problem in large applications built by teams of software developers. A drag-and-drop approach encourages developers to think of web forms as simple collections of server-side controls and HTML markup—we tend to write our code as if the names, types, and locations of the controls will never change, making the controls very closely intertwined and not particularly reusable. It’s this tight coupling that can introduce bugs that result in late-night debugging sessions every time we need to make a change to our software.

In this chapter, we’ll explore ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required