Tools, FAQ, Tutorials:
Use Custom Variables in Policy Expressions
How to use custom variables created by "set-variable" statements in policy expressions?
✍: FYIcenter.com
If you want to access custom variables created by "set-variable" statements,
you can use the IReadOnlyDictionary object through "context.Variables".
For example, the following policy creates a custom variable during the inbound processing step and used it in the output processing step:
<inbound>
<set-variable name="method" value="@(context.Request.Method)"/>
</inbound>
<outbound>
<trace source="DEBUG">@(context.Variables["method"])</trace>
</outbound>
⇒ 'choose ... when ...' Statements to Control Execution Flows
2018-01-24, ∼3404🔥, 0💬
Popular Posts:
How to install "The Windows SDK version 8.1"? I need to build my Visual Studio C++ applications. If ...
How to convert JSON Objects to PHP Associative Arrays using the json_decode() function? Actually, JS...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...
Can Multiple Paragraphs Be Included in a List Item? Yes. You can include multiple paragraphs in a si...
How To Read the Entire File into a Single String in PHP? If you have a file, and you want to read th...