Tools, FAQ, Tutorials:
Use Custom Variables in Policy Expressions
How to use custom variables created by "set-variable" statements in policy expressions?
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
â‡ 'set-variable' Statement to Create Custom Variables
2018-01-24, 1753👍, 0💬
Can Two Forms Be Nested? Can two forms be nested? The answer is no and yes: No. You can not nest two...
How to add images to my EPUB books Images can be added into book content using the XHTML "img" eleme...
Where to see resource detailed information of my API Management Service on Azure Portal? Once you ha...
How to use the JSON to XML Conversion Tool at utilities-online.info? If you want to try the JSON to ...
How to start Visual Studio Command Prompt? I have Visual Studio 2017 Community version with Visual C...