本文介绍了是否可以直接从 Azure 应用服务检索 Visual Studio 解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Azure 帐户中有一个应用服务,我使用 Visual Studio 发布向导进行了部署.是否可以通过 Azure 应用服务在本地(在 Visual Studio 中)恢复已部署的解决方案?

I have an App Service in my Azure account which I deployed with Visual Studio Publish wizard. Is it possible to restore the deployed solution locally (in Visual Studio) from the Azure App Service?

推荐答案

当您将应用发布到应用服务(Web 应用)时,只会发布您的代码,而不是 Visual Studio 项目/解决方案文件.所以不,除非您以某种方式强制打包(或者可能是 ftp'​​d)解决方案文件的副本,否则它们将无法下载.

When you publish an app to an App Service (web app), just your code is published, not the Visual Studio project / solution files. So no, unless you somehow forcibly packaged (or maybe ftp'd) a copy of your solution files, they won't be available for download.

不过,将应用程序下载到本地机器相当简单,因为 Web 应用程序具有内置的 ftp.只是不要指望能够检索 c# 和 Java 等语言的源代码(因为通常只发布 dll/jar 文件).

It's fairly trivial to pull the app down to a local machine though, since Web App has built-in ftp. Just don't count on being able to retrieve source code for languages such as c# and Java (since usually just the dll/jar files are published).

这篇关于是否可以直接从 Azure 应用服务检索 Visual Studio 解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-24 23:22