When building enterprise integration solutions using Azure Logic Apps Standard, we sometimes need to retrieve the same reference or configuration information repeatedly during workflow execution.

If every workflow execution performs the same lookup operation, it can introduce unnecessary processing, increase response time and create additional dependencies on external systems.

One way to address this is by implementing in-memory caching using C# within Azure Logic Apps Standard.

In this article, I'll explain how we can use a custom C# workflow action and IMemoryCache to store frequently accessed information and reuse it across workflow executions.