This documentation is archived and is not being maintained.

Handler Tag

Visual Studio .NET 2003

A handler tag identifies a request handler that will be used to render some or all of the replacement tags in that file.

{{ handler dll_path / request_handler }}

Definitions

dll_path
The path to the DLL that contains the request handler that will render the replacement tags. Specify an absolute path or a path relative to the physical location of the SRF.
request_handler
The name of the request handler within the DLL specified by dll_path that will be used to render the replacement tags.

The request_handler string is mapped to a C++ request handler class by a HANDLER_ENTRY macro in the handler map of the DLL or by a request_handler attribute applied directly to the class.

Remarks

There should be exactly one handler tag in a SRF. Any handler tags following the first tag are silently ignored.

Example

{{ handler AuthorDetails.dll/Default }}

For another example, see the SRFSyntax Sample.

See Also

ATL Server Response File Reference | SRFSyntax Sample | Codepage Tag | Comment Tag | Include Tag | Locale Tag | Replacement Tag | Subhandler Tag | Static Content

Show: