简体   繁体   English

如何在逻辑应用程序中运行小型 C# 代码?

[英]How can I run small C# code in Logic Apps?

I have XML data in my POST Request which needs to perform some mapping based on C# code.我的 POST 请求中有 XML 数据,需要根据 C# 代码执行一些映射。 It's basically reading the XML data and performs some updates on certain fields while using multiple C# code methods.它基本上是读取 XML 数据并在使用多个 C# 代码方法时对某些字段执行一些更新。 Approximately 3 methods with 300 lines of code.大约 3 个方法和 300 行代码。 How can I do this in Logic Apps?如何在逻辑应用程序中执行此操作?

You can do this by invoking azure functions from your logic apps.您可以通过从逻辑应用调用 azure 函数来执行此操作。 See here: https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-azure-functions请参阅此处: https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-azure-functions

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM