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 ...

Get The ASP.NET 2.0 Anthology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.