Synchronously processes HTTP Web requests of trackback ping notifications.

Namespace:  Argotic.Core.Web
Assembly:  Argotic.Core (in Argotic.Core)
Version: 2007.3.0.0 (2007.3.0.0)

Syntax

C#
public class TrackbackHttpHandler : IHttpHandler
Visual Basic (Declaration)
Public Class TrackbackHttpHandler _
	Implements IHttpHandler
Visual C++
public ref class TrackbackHttpHandler : IHttpHandler

Examples

The following example demonstrates how to configure and add the TrackbackHttpHandler to an ASP.NET application:

1. Configure the trackback handler and one or more listeners that the handler will notify when a valid trackback ping request is sent.

<configuration>

<configSections>
<!-- Define trackback handler configuration section -->
<section name="argotic.trackbackHandler" type="Argotic.Core.Configuration.TrackbackHttpHandlerConfigurationSection, Argotic.Core" />

</configSections>

<!-- Configure trackback handler -->
<argotic.trackbackHandler
title="Trackback Ping Handler"
useGlobalLock="true"
>

<listeners>
<add name="XmlTrackbackListener" type="Argotic.Core.Web.XmlTrackbackListener, Argotic.Core" path="~/App_Data/Syndication/Trackback.xml" /> </listeners>

</argotic.trackbackHandler>

</configuration>

2. Add the trackback handler to the ASP.NET application's HTTP handlers configuration.

<configuration>

<!-- Use the following to add the HTTP handler to an IIS6 web application -->
<system.web>

<httpHandlers>
<add verb="*" path="trackback.axd" type="Argotic.Core.Web.TrackbackHttpHandler, Argotic.Core" validate="false"/>
</httpHandlers>

</system.web>

<!-- Use the following to add the HTTP handler to an IIS7 web application -->
<system.webServer>

<handlers>
<add verb="*" path="trackback.axd" type="Argotic.Core.Web.TrackbackHttpHandler, Argotic.Core" name="TrackbackHttpHandler" />
</handlers>

</system.webServer>

</configuration>

Inheritance Hierarchy

System..::.Object
  Argotic.Core.Web..::.TrackbackHttpHandler

See Also