Azure Function App - 通过 functionB 使用 dll 调用 functionA

Azure Function App- Call functionA by functionB with dll

  1. FunctionA dll 被调用到 FunctionB.If 我们对 functionA 进行了更改,然后我必须遵循哪些步骤才能将这些更改反映到 FunctionB 中。

  2. 项目参考是否可以实现相同的过程?

  3. 重新发布函数 A 是否足以在函数 B 中进行更改?

  4. 函数应用中的Project引用和dll引用有什么区别?

以上几点请您多多指教

我试过参考项目,修改后重新发布FunctionA。这不起作用。

FunctionA dll is called into FunctionB.If we made a change in functionA, then what steps I have to follow to reflect those changes into FunctionB.

我建议你把这两个功能放在一个功能应用中,如果你把它们分别发布在azure上,它们就没有关系了。

Is the same process possible by Project reference?

.dll引用与项目引用基本相同

Is Function A republish is enough to get changes in FunctionB?

既然你是在azure上单独发布的,那么无论你使用的是工程引用还是.dll引用,它们之间都没有任何关系。

What is the difference between Project reference and dll reference in the function app?

其实基本上没有区别。即使您使用项目引用,它仍然会编译为.dll 文件。