Ahmed Shamel
Ahmed Shamel

Reputation: 1962

Can we retrieve asp.net project from azure?

I am working on a asp.net test project. I were deploy the project to windows azure. After that I add some code and the project stop working, but the project on azure is still working. Is there any way that can make me retrieve the project from azure ?

In visual studio, I can connect to windows azure and displaying the projects that I deployed to it. I can see some of the files but not all. The important files for me which is the controller files doesn't appear. enter image description here

Upvotes: 1

Views: 185

Answers (3)

JuanK
JuanK

Reputation: 2094

When you publish a Web dev project to Azure Visual Studio compiles all the source code (.net) you have. Then the compilation results are binary files (.dll) and some other website assets like css,js and html files.

So there are no .Net source files from your project published into the website, because of that you can't get your source files again.

I strongly recommend you to check these links

Besides of that you can try to use any source code repository or ALM suite, As you're using azure you can also use Visual Studio Online to host your projects for free and also be able to publish directly to azure repositories.

more info Visual Studio Online

Upvotes: 1

Neeraj Sharma
Neeraj Sharma

Reputation: 588

You can not get code from this method. use FTp tool, like Core FTP, FileZilla for that.

These are steps get ftp of your web application.

  1. Go to azure (https://portal.azure.com).
  2. Select web app from browser all option.
  3. Select you app from list an then click on settings option.
  4. Then click on properties, then enable you ftp and create password for that.
  5. FTP/Deployment User , FTP HOST Name , Password

    Note: You will not get your code fils( .cs). 
    

Upvotes: 0

Hari Hara Chandan
Hari Hara Chandan

Reputation: 342

Azure isn't source control. What you would have published to azure (I'm hoping) will not be the whole code but a 'published' version of it.

Short answer would be no

Upvotes: 2

Related Questions