IdenticonHttpHandler Class

IHttpHandler implementation used to serve icons.
public class IdenticonHttpHandler : IHttpHandler
View source
Namespace
Jdenticon.AspNet.Mvc
Package
PackageJdenticon.AspNet.Mvc
Inheritance
SystemObject Jdenticon.AspNet.MvcIdenticonHttpHandler

Remarks

IdenticonRequest is used to generate a parameter string that is passed as query string to the handler without any key, e.g. Identicon.axd?1gMA84z~Li~s84z~Lg--.

Since a specific URL is always generating the same icon, the HTTP responses will be served with a Cache-Control header that allows caching the icon for 1 year.

Constructors

Public methodIdenticonHttpHandler
Creates a new instance of IdenticonHttpHandler.

Properties

Public propertyIsReusable
Gets a value indicating whether another request can use the IdenticonHttpHandler instance.

Methods

Public methodProcessRequest
Renders the requested identicon and returns it to the client.

See Also

Reference