O'Reilly logo

ASP.NET Developer's JumpStart by Ken Getz, Paul D. Sheriff

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

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

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