<i id='2f21a'><tr id='2f21a'><dt id='2f21a'><q id='2f21a'><span id='2f21a'><b id='2f21a'><form id='2f21a'><ins id='2f21a'></ins><ul id='2f21a'></ul><sub id='2f21a'></sub></form><legend id='2f21a'></legend><bdo id='2f21a'><pre id='2f21a'><center id='2f21a'></center></pre></bdo></b><th id='2f21a'></th></span></q></dt></tr></i><div id='2f21a'><tfoot id='2f21a'></tfoot><dl id='2f21a'><fieldset id='2f21a'></fieldset></dl></div>
  • <small id='2f21a'></small><noframes id='2f21a'>

      <tfoot id='2f21a'></tfoot>
      1. <legend id='2f21a'><style id='2f21a'><dir id='2f21a'><q id='2f21a'></q></dir></style></legend>

        • <bdo id='2f21a'></bdo><ul id='2f21a'></ul>

        如何将 Azure 函数的入口点放在 .NET DLL 中?

        时间:2023-10-24

          <legend id='4dSap'><style id='4dSap'><dir id='4dSap'><q id='4dSap'></q></dir></style></legend>
            <tbody id='4dSap'></tbody>

            <small id='4dSap'></small><noframes id='4dSap'>

              • <i id='4dSap'><tr id='4dSap'><dt id='4dSap'><q id='4dSap'><span id='4dSap'><b id='4dSap'><form id='4dSap'><ins id='4dSap'></ins><ul id='4dSap'></ul><sub id='4dSap'></sub></form><legend id='4dSap'></legend><bdo id='4dSap'><pre id='4dSap'><center id='4dSap'></center></pre></bdo></b><th id='4dSap'></th></span></q></dt></tr></i><div id='4dSap'><tfoot id='4dSap'></tfoot><dl id='4dSap'><fieldset id='4dSap'></fieldset></dl></div>

                  <bdo id='4dSap'></bdo><ul id='4dSap'></ul>
                  <tfoot id='4dSap'></tfoot>

                  本文介绍了如何将 Azure 函数的入口点放在 .NET DLL 中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  Azure Functions 示例说明了如何将C# 脚本文件 .csx 中的进程入口点.但是,如何使用常规 C# 库 (DLL) 来实现该行为?我可以让 Kudu 像 Webapp 一样先编译库吗?

                  The Azure Functions samples illustrate how to put the process entry point within a C# script file .csx. However, how can I achieve the behavior with a regular C# library (DLL) instead? Can I get Kudu to compile the library first much like it is done for Webapp?

                  推荐答案

                  在写这个问题的时候还不支持,现在支持了!

                  As of the writing of this question, it was not supported, but now it is!

                  https://github.com/Azure/azure-webjobs-sdk-script/wiki/Precompiled-functions

                  摘自维基:

                  {
                  "scriptFile": "PreCompiledFunctionSample.dll",
                  "entryPoint": "PreCompiledFunctionSample.MyFunction.Run",
                  "bindings": [
                      {
                          "authLevel": "function",
                          "name": "req",
                          "type": "httpTrigger",
                          "direction": "in"
                      },
                      {
                          "name": "$return",
                          "type": "http",
                          "direction": "out"
                      }
                  ],
                  "disabled": false
                  }
                  

                  这篇关于如何将 Azure 函数的入口点放在 .NET DLL 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在部署时从 Azure 函数获取 Azure 函数密钥? 下一篇:从 C# Azure 函数中访问证书

                  相关文章

                  <tfoot id='ghXut'></tfoot>
                • <i id='ghXut'><tr id='ghXut'><dt id='ghXut'><q id='ghXut'><span id='ghXut'><b id='ghXut'><form id='ghXut'><ins id='ghXut'></ins><ul id='ghXut'></ul><sub id='ghXut'></sub></form><legend id='ghXut'></legend><bdo id='ghXut'><pre id='ghXut'><center id='ghXut'></center></pre></bdo></b><th id='ghXut'></th></span></q></dt></tr></i><div id='ghXut'><tfoot id='ghXut'></tfoot><dl id='ghXut'><fieldset id='ghXut'></fieldset></dl></div>
                    <bdo id='ghXut'></bdo><ul id='ghXut'></ul>
                • <legend id='ghXut'><style id='ghXut'><dir id='ghXut'><q id='ghXut'></q></dir></style></legend>

                      <small id='ghXut'></small><noframes id='ghXut'>