Reputation: 6259
Is there a file "view" available in Azure?
When I log in to Azure to look at a website I've deployed there is no obvious see exactly what files Azure is hosting.
I can see there's the Visual Studio Online option which allows you to live edit your server code but that is more than I need. I just want to be able to check that certain files are deployed and others are not.
Upvotes: 181
Views: 133828
Reputation: 1405
For Linux AppService, type /NewUi after http://<yoursitename>.scm.azurewebsites.net
and then go to File Manager
Sometimes Kudu may show only these options in the UI.
If you only see these menu options then type /NewUI at the end of this URL http://<yoursitename>.scm.azurewebsites.net
and then go to File Manager
Upvotes: 4
Reputation: 11
I recently encountered a connection problem while publishing an application service to Azure from behind my employer’s firewall. Here is the complete error message:
Error 1 Web deployment task failed. (Could not connect to the remote computer [...]). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.)
This is obviously a showstopper that hinders you from getting your site published to the public cloud from your employer’s company domain. Fear not though, as there is a solution to this; by disabling SCM. The solution is based on an answer from Patrick McCurley at StackOverflow:
Go to the Azure Portal.
Click on App Services.
Click on your application service.
Click on Application settings.
Scroll down to Application settings.
Click Add new setting, and add the following entry:
Name: WEBSITE_WEBDEPLOY_USE_SCM, Value: false
Click on Save and close the Application settings window.
Click on your application service.
Download the publish profile by clicking on Get publish profile.
Import the publish profile when publishing your application service to Azure from Visual Studio.
This effectively disables SCM and enables you to publish your application service to Azure.
Upvotes: 0
Reputation: 443
Well if this helps at this year. I need to check the log files that my api creates so I use the FTP account that you already have enable with username and password, just follow the next steps:
that will be enough to get your files and check any changes or whatever you want.
Cheers.
Upvotes: 0
Reputation: 300
Yes, you have many options to see that
Upvotes: 5
Reputation: 413
Adding to the accepted answer,
you can open an ssh session by going to http://<yoursitename>.scm.azurewebsites.net/webssh/host
.
For a long time, I've looked for a linux-style terminal to view my deployed files and environment variables. With this you can view the files, check and set environment variables, make db migrations directly, and a lot more. Hope this is useful.
Upvotes: 4
Reputation: 7165
In VS2017/2019, there's Cloud Explorer to view files in Azure, but each time open folder to view files will invoke connection to cloud, so you have to wait, that's a bit slow.
To open Cloud Explore, Right click on project > Publish > Manage in Cloud Explore
, or Top Menu > View > Cloud Explorer
.
Upvotes: 7
Reputation: 10344
In Visual Studio, in the window "Server Explorer" you click and connect on "Azure".
=> App Service
=> Your site name
=> Files
Here you see all your files and you can edit them directly in Visual Studio.
For some time now, it hasn't worked anymore.... :(
Here is another way to do it: By FTP !
From the Azure portal, in the "App Service" section of your website, go to "Deployment Center" > FTP > Dashboard
There is the FTPS Endpoint => ftp://.....ftp.azurewebsites.windows.net/site/wwwroot
And username, password information.
Install FileZilla Client! (https://filezilla-project.org/)
Enter Host with "FTPS Endpoint" the "username" and "password" and then login quickly!
Upvotes: 112
Reputation: 13945
I know this is old, but I just found it, and got some useful tips from it. If you are using an App Service, there is now a browser option to do this as well:
https://YourAppService.scm.azurewebsites.net/dev/wwwroot/
You can get there from the Azure portal, then go to your App service, then scroll down to Development Tools, and click on "App Service Editor".
Upvotes: 57
Reputation: 1322
You can use App Service Editor (previously known as Visual Studio Online). It can be found under your webapp -> Development Tools section in the Azure Portal.
Upvotes: 59
Reputation: 71031
If you're just trying to look around, and see the various directories and files in your deployment, you can enter the site's "Kudu" dashboard, using the url format http://<yoursitename>.scm.azurewebsites.net
This will give you a web-based dashboard, including a debug console (web-based) where you can explore your various directories (and the directories will show up visually as well).
More info can be found in this post from the Azure Websites team.
Upvotes: 259
Reputation: 1675
Since you are using Azure Websites, Azure wants to "manage" it for you, and as a result, you cannot connect to the VM itself. If you were using a Cloud Service, you can obtain the RDP information from the Azure Console and just remote into the machine.
For your situation, you can use FTP as an option. Here is blog that describes one approach:
Here is another option using WebMatrix: http://www.microsoft.com/web/post/how-to-edit-a-site-hosted-on-windows-azure-with-webmatrix
Upvotes: -5