Glimpse.Core.Policy Namespace

Glimpse API

Glimpse.Core.Policy Namespace Glimpse API Documentation
All core implementations of runtime policies for Glimpse are defined within this namespace.
Classes

  Class Description
Public class AjaxPolicy
Policy which will limit Glimpse to only ModifyResponseHeaders if a Http request is an Ajax request.
Public class ContentTypePolicy
Policy which will set Glimpse's runtime policy to Off if a Http response's content type is not on the white list.
Public class ControlCookiePolicy
Policy which will set Glimpse's runtime policy to Off unless a marker cookie named 'glimpsePolicy' is present on the Http request.
Public class GlimpseResourcePolicy
Policy which will limit Glimpse to only ExecuteResourceOnly if a Http request for an implementation of IResource.
Public class StatusCodePolicy
Policy which will set Glimpse's runtime policy to Off if a Http response's status code is not on the white list.
Public class UriPolicy
Policy which will set Glimpse's runtime policy to Off if a Http request's Uri matches a pattern in the black list.