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

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

          <bdo id='sHldj'></bdo><ul id='sHldj'></ul>

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

      1. 什么触发 Azure Functions 重新加载引用的程序集?

        时间:2023-10-24
          <tbody id='3XwZD'></tbody>
      2. <tfoot id='3XwZD'></tfoot>
        <i id='3XwZD'><tr id='3XwZD'><dt id='3XwZD'><q id='3XwZD'><span id='3XwZD'><b id='3XwZD'><form id='3XwZD'><ins id='3XwZD'></ins><ul id='3XwZD'></ul><sub id='3XwZD'></sub></form><legend id='3XwZD'></legend><bdo id='3XwZD'><pre id='3XwZD'><center id='3XwZD'></center></pre></bdo></b><th id='3XwZD'></th></span></q></dt></tr></i><div id='3XwZD'><tfoot id='3XwZD'></tfoot><dl id='3XwZD'><fieldset id='3XwZD'></fieldset></dl></div>
        <legend id='3XwZD'><style id='3XwZD'><dir id='3XwZD'><q id='3XwZD'></q></dir></style></legend>

              <bdo id='3XwZD'></bdo><ul id='3XwZD'></ul>

            • <small id='3XwZD'></small><noframes id='3XwZD'>

                  本文介绍了什么触发 Azure Functions 重新加载引用的程序集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我一直在引用外部程序集试图解决此处提到的问题:Azure 函数无法加载可移植程序集.但是,通常我的函数似乎没有反映对 functionNamein 程序集所做的更改.我故意引用了错误的程序集,然后重新运行了该函数.我对记录的内容没有任何变化(并且我正在记录异常).

                  I've been referencing external assemblies trying to work around the issue noted here: Azure Function Cannot Load Portable Assembly. However, often my function does not seem to reflect the changes made to the functionNamein assemblies. I've intentionally referenced the wrong assemblies, and then reran the function. I experience no change to what is logged (and I'm logging exceptions).

                  如何强制完全重新加载 Azure 函数?我能否以某种方式查看 Azure 函数作为其已加载"程序集的内容?

                  How do I force a complete reload of the Azure function? Can I somehow see what Azure functions has as its "loaded" assemblies?

                  推荐答案

                  如果唯一改变的是实现而不是程序集标识(名称、版本等),您确实会将此行为视为具有一个匹配的身份已经被加载并且会被使用.

                  If the only thing changing is the implementation and not the assembly identity (name, version, etc.), you'd indeed see this behavior as an assembly with a matching identity would already be loaded and that would be used.

                  重新启动您的 Function App 站点(在 Function App 设置 > 转到应用服务设置 > 重新启动下)应该会触发主机重新启动,这将强制重新加载所有程序集.

                  Restarting your Function App site (under Function app settings > Go to app service settings > Restart) should trigger a host restart, which will force all assemblies to be reloaded.

                  您还可以使用 Kudu (https://yourappname.scm.azurewebsites.net),在 Process Explorer 下,这也会强制主机重启.

                  You can also Kill the non-scm w3wp.exe process using Kudu (https://yourappname.scm.azurewebsites.net), under Process Explorer, which will also force a host restart.

                  这篇关于什么触发 Azure Functions 重新加载引用的程序集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:完整的 .NET Framework 上的 ASP.NET Core 2.1 下一篇:Azure 功能的文件存储在哪里?

                  相关文章

                  • <bdo id='MAORw'></bdo><ul id='MAORw'></ul>

                1. <tfoot id='MAORw'></tfoot>

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

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

                  1. <legend id='MAORw'><style id='MAORw'><dir id='MAORw'><q id='MAORw'></q></dir></style></legend>