Visual Studio 2015 和 Microsoft Azure 同步文件,服务器/本地 [英] Visual Studio 2015 and Microsoft Azure syncing files, Server/Local

查看:24
本文介绍了Visual Studio 2015 和 Microsoft Azure 同步文件,服务器/本地的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我刚刚开始在 Visual Studio 中使用 Microsoft Azure,但我在将100%"连接到我的 Azure 存储时遇到了一些麻烦.

通过我的 FTP IDE (Jetbrains Webstorm),我能够使用简单的 Web 主机存储服务将所有服务器端文件下载到我的本地.使用 VS,我似乎只能获取必需"文件来在本地驱动器上启动我的应用程序.

在 VS 中比较这两个 Explorer,可以看出服务器端在本地缺少什么.

  • 在管理门户网站的仪表板下单击 VSO 中的编辑
  • 然后你可以在服务器上管理你的文件,甚至运行控制台命令:
  • So, iam just starting to use Microsoft Azure with Visual Studio but i have some trubble to connect "100%" to my Azure storage.

    With my FTP IDE (Jetbrains Webstorm) iam able to download all server side files to my local, using a simple Web Host storage service. With VS i only seems to get the "necessary" files to start my app on my local drive.

    Comparing these two Explorers in VS, shows whats missing locally from the server side.

    Server Explorer (My NodeJS Project)

    Solution Explorer (My NodeJS Project)

    So i think my real question is based on the fact that i want FULL control of my server files. When i publish my project in VS, do i only get the "necessary" files, and all other management (move, delete, add, etc.) is done thru the server console? And why is not all files synced between the server and the Local? Has i missed something in my deployment mind of not "thinking Azure"?

    OBS! Iam coming from a webbhost development with more then 5 years of experience in JS, HTTP and CSS.

    解决方案

    You can configure several sync mechanism to sync your local files and server files like building on a Git repo, or the files on local will not automatically sync the files on server by it self. You can refer to https://azure.microsoft.com/en-us/documentation/articles/web-sites-publish-source-control/ for more information about using GIT in Azure App Service.

    And for remote file operations, you can leverage Visual Studio Online, which is an online editor enable you to manage and develop your application on Azure App Service:

    1. login Azure mange portal, enabled EDIT IN VISUAL STUDIO ONLINE under CONFIGURE tab
    2. click the edit in VSO under the DASHBOARD of your manage portal site
    3. then you can manage your files on server, even run console commands:

    这篇关于Visual Studio 2015 和 Microsoft Azure 同步文件,服务器/本地的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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