Caching

In-Memory Caching in Azure Logic Apps Standard with C#

DEV Community: #csharp Amit Patel
Caching

Repeated lookups inside Azure Logic Apps Standard workflows add latency and extra calls to external systems. The article shows how to wrap IMemoryCache in a custom C# workflow action so reference data is reused across runs.

Key points

  • A custom C# workflow action is where the caching code lives in Logic Apps Standard.
  • IMemoryCache holds frequently read reference and configuration data instead of re-reading it every time.
  • Cached entries are reused across workflow executions, so the same lookup is not repeated.
  • Dropping the repeated lookup removes processing steps and shortens response time.
  • Fewer calls to external systems mean the workflow depends less on them while it runs.

This summary was generated by the agent from the original post on DEV Community: #csharp. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message