Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
316 views
in Technique[技术] by (71.8m points)

node.js - Visual Studio 2015 and Microsoft Azure syncing files, Server/Local

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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 enter image description here
  2. click the edit in VSO under the DASHBOARD of your manage portal site enter image description here
  3. then you can manage your files on server, even run console commands: enter image description here

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.8k users

...