Chapter 15. Building Components
IN THIS CHAPTER
</feature>Components enable you to reuse application logic across multiple pages or even across multiple applications. For example, you can write a method named GetProducts()
once and use the method in all the pages in your website. By taking advantage of components, you can make your applications easier to maintain and extend.
For simple applications, there is no reason to take advantage of components. However, as soon as your application contains more than a few pages, you’ll discover that you are repeating the same work over and over again. Whenever you discover that you need ...
Get ASP.NET 3.5 Unleashed 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.