如何下载天蓝色功能应用程序的代码 [英] how to download code of azure functions app

查看:96
本文介绍了如何下载天蓝色功能应用程序的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索了很多有关更改只读模式的方法.目前我正在

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

您的应用当前处于只读模式,因为您正在从程序包文件中运行.要进行任何更改,请更新您的zip文件和WEBSITE_RUN_FROM_PACKAGE应用程序设置中的内容.

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

但是什么也没有.我知道这是不可能的,因此我想下载azure函数应用程序代码并在本地对其进行编辑,然后再进行部署.

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.

我这样做了:下载应用程序内容->内容和Visual Studio项目->检查该项目并下载,但文件不包含代码.只是functions.json和其他.

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.

任何帮助将不胜感激

推荐答案

我认为我需要向您解释.

I think I need to explain it to you.

只能下载和编辑由crx编写的Azure函数.如果要使用Java类库在本地进行开发并将其部署到Azure,则在Azure上实际上是已编译文件,即.class文件.此类文件无法编辑.

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.

我对您的建议是,如果您想在天蓝色时可编辑,请使用crx脚本.如果您是在本地进行开发,则需要在上传之前在本地进行编译.

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.

这篇关于如何下载天蓝色功能应用程序的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆