Rainbow 2.0 Code Documentation

CachedPortalModuleControl Class

The CachedPortalModuleControl class is a custom server control that the Portal framework uses to optionally enable output caching of individual portal module's content.
If a CacheTime value greater than 0 seconds is specified within the Portal.Config configuration file, then the CachePortalModuleControl will automatically capture the output of the Portal Module User Control it wraps. It will then store this captured output within the ASP.NET Cache API. On subsequent requests (either by the same browser -- or by other browsers visiting the same portal page), the CachedPortalModuleControl will attempt to resolve the cached output out of the cache.

For a list of all members of this type, see CachedPortalModuleControl Members.

System.Object
   Control
      CachedPortalModuleControl

[Visual Basic]
<(Name:="Jes1111", Email:="null", Version:="null", Date:=4/24/2003 12:00:00 AM, Comment:="Improved cache behaviour for CacheTime=-1"), _  (Name:="Jes1111", Email:="null", Version:="null", Date:=4/24/2003 12:00:00 AM, Comment:="Added PortalAlias to cachekey"), _  (Bindable:=True, Direction:=BindingDirection.OneWay), _  (Themeable:=False), _  (FilterString:="System.Web.UI", FilterType:=ToolboxItemFilterType.Require), _  (DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner", DesignerTypeName:="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _  (Category:="Code"), _  (ToolboxItemType:=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName:="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _  (SerializerTypeName:="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName:="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _  (Name:="ID")>
Public Class CachedPortalModuleControl     Inherits Control [C#]
[(Name="Jes1111", Email="null", Version="null", Date=4/24/2003 12:00:00 AM, Comment="Improved cache behaviour for CacheTime=-1")]
[(Name="Jes1111", Email="null", Version="null", Date=4/24/2003 12:00:00 AM, Comment="Added PortalAlias to cachekey")]
[(Bindable=True, Direction=BindingDirection.OneWay)]
[(Themeable=False)]
[(FilterString="System.Web.UI", FilterType=ToolboxItemFilterType.Require)]
[(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[(Category="Code")]
[(ToolboxItemType=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[(Name="ID")]
public class CachedPortalModuleControl : Control [C++]
[(Name="Jes1111", Email="null", Version="null", Date=4/24/2003 12:00:00 AM, Comment="Improved cache behaviour for CacheTime=-1")]
[(Name="Jes1111", Email="null", Version="null", Date=4/24/2003 12:00:00 AM, Comment="Added PortalAlias to cachekey")]
[(Bindable=True, Direction=BindingDirection.OneWay)]
[(Themeable=False)]
[(FilterString="System.Web.UI", FilterType=ToolboxItemFilterType.Require)]
[(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[(Category="Code")]
[(ToolboxItemType=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[(Name="ID")]
public __gc class CachedPortalModuleControl : public Control [JScript] public 
   (Name="Jes1111", Email="null", Version="null", Date=4/24/2003 12:00:00 AM, Comment="Improved cache behaviour for CacheTime=-1")
   (Name="Jes1111", Email="null", Version="null", Date=4/24/2003 12:00:00 AM, Comment="Added PortalAlias to cachekey")
   (Bindable=True, Direction=BindingDirection.OneWay)
   (Themeable=False)
   (FilterString="System.Web.UI", FilterType=ToolboxItemFilterType.Require)
   (DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
   (Category="Code")
   (ToolboxItemType=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
   (SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
   (Name="ID")
class CachedPortalModuleControl extends Control

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

In the event that previously cached output can't be found in the ASP.NET Cache, the CachedPortalModuleControl will automatically instatiate the appropriate portal module user control and place it within the portal page.

Requirements

Namespace: Rainbow.Framework.Web.UI.WebControls

Assembly: Rainbow.Framework.Core (in Rainbow.Framework.Core.dll)

See Also

CachedPortalModuleControl Members | Rainbow.Framework.Web.UI.WebControls Namespace