O'Reilly logo

Brownfield Application Development in .NET by Kyle Baley, Donald Belcham

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 10. Cleaning up the user interface

This chapter covers

  • Pain caused by highly coupled UIs
  • Importance of separating concerns in UIs
  • Useful UI patterns to work toward
  • Refactoring to those patterns

The user interface (UI) has traditionally been a bone of contention for developers on many brownfield applications. As often as we’re told to keep the UI simple, it takes only the slightest lapse before some business logic starts mixing with our layout code.

It doesn’t help that historically Microsoft has provided little guidance. Since the days of classic ASP, we’ve been encouraged to put complex logic into our page code. The page-behind method of .NET did little to alleviate this except to move the logic to an equally untestable area: ...

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