how to download code of azure functions app

最后都变了- 提交于 2021-01-29 19:31:47

问题


I searched a lot about the way to change read only mode. currently I am getting

Your app is currently in read only mode because you are running from a package file. To make any changes update the content in your zip file and WEBSITE_RUN_FROM_PACKAGE app setting.

I added value in configuration like described here
at this path: Platform features -> Configuration -> Add/Edit application setting

but nothing. I understood it is not possible so I want to download azure functions app code and edit it locally and after that deploy that again.

I did that: Download app content -> Content and Visual Studio project -> checked the item and Download but the file not contains the code. just functions.json and others.

any help will be appreciated


回答1:


I think I need to explain it to you.

Only azure functions written by crx can be downloaded and edited. If you are developing locally using the java class library and deploying it to Azure, then on Azure it is actually the compiled file, that is, the .class file. Such files cannot be edited.

My advice to you is to use crx scripts if you want to be editable on azure. If you are developing locally, you need to compile locally before uploading.



来源:https://stackoverflow.com/questions/60600463/how-to-download-code-of-azure-functions-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!