Chapter 9. Building User Controls and Server Controls

IN THIS CHAPTER

Many server-scripting environments, including ASP.old, made it difficult to reuse the code that composes Web-based user interfaces. The most common option for creating reusable code is the server-side include (SSI). With SSIs, you create an external file containing HTML and/or server script that can be referenced, or included, from any other file in your Web application.

SSIs are adequate and are supported on many types of server environments (including both ASP.old and ASP.NET) across different platforms. But the server-side include is a harsh mistress, quick to anger. One problem is that the SSI ...

Get C#® Developer's Guide to ASP.NET, XML, and ADO.NET 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.