Internet Information Server (IIS) Objects

IIS supplies many objects that can be used by hosting platforms such as ASP and ASP.NET. These objects aren't new in ASP.NET—they're the same objects (with a few new properties) that you might have used in an ASP application. You can use these objects to return information about your application and your IIS server. ASP.NET makes all these objects available to you from the code in your Web Form's code-behind file.

The Response Object

The Response object allows you to place information into the HTML stream prior to sending a complete HTML page back to the client. For example, you could include code such as this to insert text directly into the rendered output:

 Response.Write("An invalid password was entered") ...

Get ASP.NET Developer's JumpStart 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.