Is there any way download source code from “cloud services” in Windows Azure?
up vote
6
down vote
favorite
I don't have the latest version of the code deployed in the company's Windows Azure account, and I need to provide a fix to it. I know this can be done with "Azure Web Sites", but I'm not sure it's possible with "Azure Cloud Services".
Can anyone help?
azure service download cloud
add a comment |
up vote
6
down vote
favorite
I don't have the latest version of the code deployed in the company's Windows Azure account, and I need to provide a fix to it. I know this can be done with "Azure Web Sites", but I'm not sure it's possible with "Azure Cloud Services".
Can anyone help?
azure service download cloud
add a comment |
up vote
6
down vote
favorite
up vote
6
down vote
favorite
I don't have the latest version of the code deployed in the company's Windows Azure account, and I need to provide a fix to it. I know this can be done with "Azure Web Sites", but I'm not sure it's possible with "Azure Cloud Services".
Can anyone help?
azure service download cloud
I don't have the latest version of the code deployed in the company's Windows Azure account, and I need to provide a fix to it. I know this can be done with "Azure Web Sites", but I'm not sure it's possible with "Azure Cloud Services".
Can anyone help?
azure service download cloud
azure service download cloud
asked Jul 4 '13 at 22:58
Voidsbane
146129
146129
add a comment |
add a comment |
5 Answers
5
active
oldest
votes
up vote
2
down vote
If you did git deployment of the cloud service, you could fetch from the remote the same way you could with Windows Azure Web Sites. You may have updated the cloud service by uploading the package to blob storage first, in which case you could get the package. But, the package is not source code.
From a process perspective, you should label your deployments with a tag that can be matched in source control. You never know when a "hotfix" needs to be added to a branch off of the current production code.
Dennis, what you mean by git deployment of the cloud service? I'm not aware of support for that. There's a voting to have that feature. Did you mean TFS deployment?
– Fernando Correia
Jul 5 '13 at 18:17
@FernandoCorreia you are right about git deployment on cloud services. I thought git deployment was in this last rev. I don't know if TFS deployment works in a similar way to git deployment with the remotes.
– Dennis Burton
Jul 5 '13 at 18:48
add a comment |
up vote
1
down vote
In Windows Azure Cloud Services, instances are uploaded in the form of .cspkg packages.
According to the documentation, the Get Package operation retrieves a cloud service package for a deployment and stores the package files in Windows Azure Blob storage.
You could then download and extract this package (it is in ZIP file format) to retrieve its content. See this answer for more details.
In the case of ASP.NET applications, that will be a mixture of text files and binary assemblies (.DLLs). In the case of Java, it will be .jar files. You could use the appropriate decompiler to retrieve an approximation of the original source code. But it probably wouldn't be safe to change this reverse-engineered source code and upload it back into production, at least not without extensive testing.
add a comment |
up vote
1
down vote
yes. you can download it with an ftp client.
Ggo to dashboard of your site on https://manage.windowsazure.com.
Get credentials (username , password, host) and connect with you preferred ftp client.
add a comment |
up vote
1
down vote
Well, Azure now had a new portal and things are bit different. I had to retrieve the code for one of my websites.
To download the code,
- go to App Service. In Overview panel, download publisher profile.
- Now go to Deployment credentials panel. Enter the username for FTP and choose a password.
- To connect to ftp, you need the URL from publishing profile (
example.PublishSettings
). - Now fire up your FTP client (FileZilla in my case) and put the FTP address and put the username like
sitenameftpusername
(exampleftp-exmaple-user
for me) and put in the password you choose in Deployment credentials panel.
wwwroot contains your code!
add a comment |
up vote
0
down vote
I realize it's an old question, in case anyone else needs it... I use the Cloud Explorer in Visual Studio 2017. In the Cloud explorer, you can drill down Subscription -> Resource Group -> App Service -> Files. Then, at the bottom of the Cloud Explorer, click "Download Files as a Zip."
add a comment |
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
If you did git deployment of the cloud service, you could fetch from the remote the same way you could with Windows Azure Web Sites. You may have updated the cloud service by uploading the package to blob storage first, in which case you could get the package. But, the package is not source code.
From a process perspective, you should label your deployments with a tag that can be matched in source control. You never know when a "hotfix" needs to be added to a branch off of the current production code.
Dennis, what you mean by git deployment of the cloud service? I'm not aware of support for that. There's a voting to have that feature. Did you mean TFS deployment?
– Fernando Correia
Jul 5 '13 at 18:17
@FernandoCorreia you are right about git deployment on cloud services. I thought git deployment was in this last rev. I don't know if TFS deployment works in a similar way to git deployment with the remotes.
– Dennis Burton
Jul 5 '13 at 18:48
add a comment |
up vote
2
down vote
If you did git deployment of the cloud service, you could fetch from the remote the same way you could with Windows Azure Web Sites. You may have updated the cloud service by uploading the package to blob storage first, in which case you could get the package. But, the package is not source code.
From a process perspective, you should label your deployments with a tag that can be matched in source control. You never know when a "hotfix" needs to be added to a branch off of the current production code.
Dennis, what you mean by git deployment of the cloud service? I'm not aware of support for that. There's a voting to have that feature. Did you mean TFS deployment?
– Fernando Correia
Jul 5 '13 at 18:17
@FernandoCorreia you are right about git deployment on cloud services. I thought git deployment was in this last rev. I don't know if TFS deployment works in a similar way to git deployment with the remotes.
– Dennis Burton
Jul 5 '13 at 18:48
add a comment |
up vote
2
down vote
up vote
2
down vote
If you did git deployment of the cloud service, you could fetch from the remote the same way you could with Windows Azure Web Sites. You may have updated the cloud service by uploading the package to blob storage first, in which case you could get the package. But, the package is not source code.
From a process perspective, you should label your deployments with a tag that can be matched in source control. You never know when a "hotfix" needs to be added to a branch off of the current production code.
If you did git deployment of the cloud service, you could fetch from the remote the same way you could with Windows Azure Web Sites. You may have updated the cloud service by uploading the package to blob storage first, in which case you could get the package. But, the package is not source code.
From a process perspective, you should label your deployments with a tag that can be matched in source control. You never know when a "hotfix" needs to be added to a branch off of the current production code.
answered Jul 4 '13 at 23:25
Dennis Burton
2,75731830
2,75731830
Dennis, what you mean by git deployment of the cloud service? I'm not aware of support for that. There's a voting to have that feature. Did you mean TFS deployment?
– Fernando Correia
Jul 5 '13 at 18:17
@FernandoCorreia you are right about git deployment on cloud services. I thought git deployment was in this last rev. I don't know if TFS deployment works in a similar way to git deployment with the remotes.
– Dennis Burton
Jul 5 '13 at 18:48
add a comment |
Dennis, what you mean by git deployment of the cloud service? I'm not aware of support for that. There's a voting to have that feature. Did you mean TFS deployment?
– Fernando Correia
Jul 5 '13 at 18:17
@FernandoCorreia you are right about git deployment on cloud services. I thought git deployment was in this last rev. I don't know if TFS deployment works in a similar way to git deployment with the remotes.
– Dennis Burton
Jul 5 '13 at 18:48
Dennis, what you mean by git deployment of the cloud service? I'm not aware of support for that. There's a voting to have that feature. Did you mean TFS deployment?
– Fernando Correia
Jul 5 '13 at 18:17
Dennis, what you mean by git deployment of the cloud service? I'm not aware of support for that. There's a voting to have that feature. Did you mean TFS deployment?
– Fernando Correia
Jul 5 '13 at 18:17
@FernandoCorreia you are right about git deployment on cloud services. I thought git deployment was in this last rev. I don't know if TFS deployment works in a similar way to git deployment with the remotes.
– Dennis Burton
Jul 5 '13 at 18:48
@FernandoCorreia you are right about git deployment on cloud services. I thought git deployment was in this last rev. I don't know if TFS deployment works in a similar way to git deployment with the remotes.
– Dennis Burton
Jul 5 '13 at 18:48
add a comment |
up vote
1
down vote
In Windows Azure Cloud Services, instances are uploaded in the form of .cspkg packages.
According to the documentation, the Get Package operation retrieves a cloud service package for a deployment and stores the package files in Windows Azure Blob storage.
You could then download and extract this package (it is in ZIP file format) to retrieve its content. See this answer for more details.
In the case of ASP.NET applications, that will be a mixture of text files and binary assemblies (.DLLs). In the case of Java, it will be .jar files. You could use the appropriate decompiler to retrieve an approximation of the original source code. But it probably wouldn't be safe to change this reverse-engineered source code and upload it back into production, at least not without extensive testing.
add a comment |
up vote
1
down vote
In Windows Azure Cloud Services, instances are uploaded in the form of .cspkg packages.
According to the documentation, the Get Package operation retrieves a cloud service package for a deployment and stores the package files in Windows Azure Blob storage.
You could then download and extract this package (it is in ZIP file format) to retrieve its content. See this answer for more details.
In the case of ASP.NET applications, that will be a mixture of text files and binary assemblies (.DLLs). In the case of Java, it will be .jar files. You could use the appropriate decompiler to retrieve an approximation of the original source code. But it probably wouldn't be safe to change this reverse-engineered source code and upload it back into production, at least not without extensive testing.
add a comment |
up vote
1
down vote
up vote
1
down vote
In Windows Azure Cloud Services, instances are uploaded in the form of .cspkg packages.
According to the documentation, the Get Package operation retrieves a cloud service package for a deployment and stores the package files in Windows Azure Blob storage.
You could then download and extract this package (it is in ZIP file format) to retrieve its content. See this answer for more details.
In the case of ASP.NET applications, that will be a mixture of text files and binary assemblies (.DLLs). In the case of Java, it will be .jar files. You could use the appropriate decompiler to retrieve an approximation of the original source code. But it probably wouldn't be safe to change this reverse-engineered source code and upload it back into production, at least not without extensive testing.
In Windows Azure Cloud Services, instances are uploaded in the form of .cspkg packages.
According to the documentation, the Get Package operation retrieves a cloud service package for a deployment and stores the package files in Windows Azure Blob storage.
You could then download and extract this package (it is in ZIP file format) to retrieve its content. See this answer for more details.
In the case of ASP.NET applications, that will be a mixture of text files and binary assemblies (.DLLs). In the case of Java, it will be .jar files. You could use the appropriate decompiler to retrieve an approximation of the original source code. But it probably wouldn't be safe to change this reverse-engineered source code and upload it back into production, at least not without extensive testing.
edited May 23 '17 at 11:45
Community♦
11
11
answered Jul 5 '13 at 18:32
Fernando Correia
14.2k1069104
14.2k1069104
add a comment |
add a comment |
up vote
1
down vote
yes. you can download it with an ftp client.
Ggo to dashboard of your site on https://manage.windowsazure.com.
Get credentials (username , password, host) and connect with you preferred ftp client.
add a comment |
up vote
1
down vote
yes. you can download it with an ftp client.
Ggo to dashboard of your site on https://manage.windowsazure.com.
Get credentials (username , password, host) and connect with you preferred ftp client.
add a comment |
up vote
1
down vote
up vote
1
down vote
yes. you can download it with an ftp client.
Ggo to dashboard of your site on https://manage.windowsazure.com.
Get credentials (username , password, host) and connect with you preferred ftp client.
yes. you can download it with an ftp client.
Ggo to dashboard of your site on https://manage.windowsazure.com.
Get credentials (username , password, host) and connect with you preferred ftp client.
answered Feb 28 '15 at 14:52
user3394095
212
212
add a comment |
add a comment |
up vote
1
down vote
Well, Azure now had a new portal and things are bit different. I had to retrieve the code for one of my websites.
To download the code,
- go to App Service. In Overview panel, download publisher profile.
- Now go to Deployment credentials panel. Enter the username for FTP and choose a password.
- To connect to ftp, you need the URL from publishing profile (
example.PublishSettings
). - Now fire up your FTP client (FileZilla in my case) and put the FTP address and put the username like
sitenameftpusername
(exampleftp-exmaple-user
for me) and put in the password you choose in Deployment credentials panel.
wwwroot contains your code!
add a comment |
up vote
1
down vote
Well, Azure now had a new portal and things are bit different. I had to retrieve the code for one of my websites.
To download the code,
- go to App Service. In Overview panel, download publisher profile.
- Now go to Deployment credentials panel. Enter the username for FTP and choose a password.
- To connect to ftp, you need the URL from publishing profile (
example.PublishSettings
). - Now fire up your FTP client (FileZilla in my case) and put the FTP address and put the username like
sitenameftpusername
(exampleftp-exmaple-user
for me) and put in the password you choose in Deployment credentials panel.
wwwroot contains your code!
add a comment |
up vote
1
down vote
up vote
1
down vote
Well, Azure now had a new portal and things are bit different. I had to retrieve the code for one of my websites.
To download the code,
- go to App Service. In Overview panel, download publisher profile.
- Now go to Deployment credentials panel. Enter the username for FTP and choose a password.
- To connect to ftp, you need the URL from publishing profile (
example.PublishSettings
). - Now fire up your FTP client (FileZilla in my case) and put the FTP address and put the username like
sitenameftpusername
(exampleftp-exmaple-user
for me) and put in the password you choose in Deployment credentials panel.
wwwroot contains your code!
Well, Azure now had a new portal and things are bit different. I had to retrieve the code for one of my websites.
To download the code,
- go to App Service. In Overview panel, download publisher profile.
- Now go to Deployment credentials panel. Enter the username for FTP and choose a password.
- To connect to ftp, you need the URL from publishing profile (
example.PublishSettings
). - Now fire up your FTP client (FileZilla in my case) and put the FTP address and put the username like
sitenameftpusername
(exampleftp-exmaple-user
for me) and put in the password you choose in Deployment credentials panel.
wwwroot contains your code!
answered Oct 27 '17 at 12:09
TheVillageIdiot
32.2k14107169
32.2k14107169
add a comment |
add a comment |
up vote
0
down vote
I realize it's an old question, in case anyone else needs it... I use the Cloud Explorer in Visual Studio 2017. In the Cloud explorer, you can drill down Subscription -> Resource Group -> App Service -> Files. Then, at the bottom of the Cloud Explorer, click "Download Files as a Zip."
add a comment |
up vote
0
down vote
I realize it's an old question, in case anyone else needs it... I use the Cloud Explorer in Visual Studio 2017. In the Cloud explorer, you can drill down Subscription -> Resource Group -> App Service -> Files. Then, at the bottom of the Cloud Explorer, click "Download Files as a Zip."
add a comment |
up vote
0
down vote
up vote
0
down vote
I realize it's an old question, in case anyone else needs it... I use the Cloud Explorer in Visual Studio 2017. In the Cloud explorer, you can drill down Subscription -> Resource Group -> App Service -> Files. Then, at the bottom of the Cloud Explorer, click "Download Files as a Zip."
I realize it's an old question, in case anyone else needs it... I use the Cloud Explorer in Visual Studio 2017. In the Cloud explorer, you can drill down Subscription -> Resource Group -> App Service -> Files. Then, at the bottom of the Cloud Explorer, click "Download Files as a Zip."
answered Nov 8 at 17:19
tallman
305
305
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f17479045%2fis-there-any-way-download-source-code-from-cloud-services-in-windows-azure%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown