<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 中?

        How to put the entry point of an Azure Function inside a .NET DLL?(如何将 Azure 函数的入口点放在 .NET DLL 中?)

          <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 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Adding and removing users from Active Directory groups in .NET(在 .NET 中的 Active Directory 组中添加和删除用户)
                  set equality in linq(在 linq 中设置相等)
                  HashSet conversion to List(HashSet 转换为 List)
                  How to set timeout for webBrowser navigate event(如何为 webBrowser 导航事件设置超时)
                  Test whether two IEnumerablelt;Tgt; have the same values with the same frequencies(测试两个IEnumerablelt;Tgt;具有相同频率的相同值)
                  How do you determine if two HashSets are equal (by value, not by reference)?(您如何确定两个 HashSet 是否相等(按值,而不是按引用)?)

                  <tfoot id='ghXut'></tfoot>
                    <tbody id='ghXut'></tbody>
                  <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'>