Chapter 18 Quick Reference


Chapter 18 Quick Reference

To

Do This

Create a custom handler assembly

Create a new class implementing IHttpHandler

Override the IsReusable property

Override ProcessRequest

Assign a file mapping to the handler in ASP.NET

Mention the handler in the <httpHandler> node of the application's Web.Config file

Assign a file mapping to the handler in IIS

Right-click on the virtual directory

Select Properties

Click the Configure button

Click the Add button

Add a new extension and map it to aspnet_isapi.dll

Create a simple handler

Select Web site | Add New Item

Select Generic Handler from the templates

Insert your own code for responding to the request




Microsoft ASP. NET 2.0 Programming Step by Step
Microsoft ASP.NET 2.0 Step By Step (Step By Step (Microsoft))
ISBN: B002KE5VYO
EAN: N/A
Year: 2005
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net