I have the following:-
I create a new Azure web app.
Using VS 2019 i created a new Asp.net 4.5 web application which contain WCF service.
i tried to deploy my asp.net application into azure using Visual Studio, but i failed.
- I tried using Web Deploy:-
- I tried using ftp:-
but both approaches failed, where i got connection error. as follow:-
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.b3() 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 asp.net web application to azure web app without relying on VS? for example using power-shell or from azure portal?