Class ServerTransferBugfix

Plug in that works around a bug introduced with .NET 2.0 SP1 where Server.Transfer will kill events, thus disabling Friendly URL rewriting on pages that are executed by a Server.Transfer.

Inheritance
System.Object
ServerTransferBugfix
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.PageExtensions
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[Obsolete("This fix is no longer required since the introduction of routing, remove all references to this class it will be removed in future releases")]
[PagePlugIn("Server.Transfer bugfix", "Enable if running under .NET 2.0 SP1 and Friendly URL does not work after Server.Transfer.")]
public class ServerTransferBugfix

Constructors

ServerTransferBugfix()

Declaration
public ServerTransferBugfix()

Properties

OptionFlag

Flag value to determine if this plug in should be enabled.

Declaration
public static int OptionFlag { get; }
Property Value
Type Description
System.Int32

Methods

Initialize(Int32)

Method called at system startup to initialize this plug in.

Declaration
public static void Initialize(int optionFlag)
Parameters
Type Name Description
System.Int32 optionFlag

The option flag value assigned to this plug in.

Remarks

Using the plugin attribute [PagePlugIn] requires the class to contain a static void method named "Initialize" which will be called to attach to suitable event handlers.

Extension Methods