Table of Contents

Class UrlRewriteRuleAttribute

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Annotations.dll

Add a Url rewrite rule for hologram. eg : [assembly: UrlRewriteRule("/myoldRoute","/MyModule/MyAction")] or using wildchar [assembly: UrlRewriteRule("/myoldRoute/","/")]

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
public class UrlRewriteRuleAttribute : Attribute
Inheritance
object
Attribute
UrlRewriteRuleAttribute

Remarks

The 'To' parameter will be prefixed with the service name. In the first sample above the final target url will be "/MyService/MyModule/MyAction"

Constructors

UrlRewriteRuleAttribute(string, string)

public UrlRewriteRuleAttribute(string From, string To)

Parameters

From string
To string

Properties

From

public string From { get; set; }

Property Value

string

To

public string To { get; set; }

Property Value

string