Web.BarcodeHttpHandler

TECIT.TBarCode.Web.BarcodeHttpHandler

Base types: IHttpHandler

Handles HTTP request for barcode images.

When a barcode is cached in memory, then all HTTP requests that request a barcode image are directed to this HTTP handler. The HTTP handler fetches the barcode image from the memory cache and returns the image (e.g. a GIF image) as HTTP response.

To enable the HTTP handler in your application, add the following line to your web.config file (section: httpHandlers):

<system.web>
  ...
  <httpHandlers>
    ...
    <add verb="GET" path="BarcodeHttpHandler.axd" type="TECIT.TBarCode.Web.BarcodeHttpHandler, TECIT.TBarCode, Version=8.0.0.0, Culture=neutral, PublicKeyToken=1B5F4306B234B83D" />
    ...
  </httpHandlers>
  ...
</system.web>

Methods

NameDescription
GetImageUrlReturns the URL of a cached image.
ProcessRequestProcesses a request.

Properties

NameDescription
IsReusableRetrieves whether handler is reusable.

Search documentation

Search in
More scopes
Additional scopes

All contents