Manully Deploy my web application to Azure Web app

john john 946 Reputation points

I have the following:-

  1. I create a new Azure web app.
  2. Using VS 2019 i created a new 4.5 web application which contain WCF service.
  3. i tried to deploy my application into azure, but i failed.

I tried using Web Deploy:-
alt text

I tried using ftp:-
alt text

but both approaches failed, where i got connection error. as follow:-

alt text

System.AggregateException: One or more errors occurred. ---> System.Exception: Build failed. Check the Output window for more details. --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.WebTools.Publish.PublishService.VsWebProjectPublish.<>c__DisplayClass43_0.b__3() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Publish.Framework.ViewModel.ProfileSelectorViewModel.d__213.MoveNext()
---> (Inner Exception #0) System.Exception: Build failed. Check the Output window for more details.<---

System.Exception: Build failed. Check the Output window for more details.


so my question if i can manually deploy my web application to azure web app without relying on VS? for example using power-shell or from azure portal?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,151 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Dave Patrick 426.3K Reputation points MVP

    Better to reach out to subject matter experts in dedicated forums over here.

    1 person found this answer helpful.
    0 comments No comments

  2. Joffrey NURIT 211 Reputation points MVP


    You have a lot of solutions.

    You can:

    • Use FTP: Go on azure, app service, select your app service and click on "deployment center". You can select FTP or other services.

    alt text

    • Use azure DevOps with pipelines/ release management to deploy on your app service (configuration between azure devops and app service are really easy)
    • Use Visual Studio, but prefer web deploy method !
    0 comments No comments

  3. john john 946 Reputation points

    as i mentioned using the ftp and web deploy did not work for me...i am asking about other methods

    0 comments No comments