I'm experiencing very weird issue with Azure App Service FTP. Was able to connect and deploy asp.net core 3.1 app using FTP, after setting up azure devops CI/CD FTP is no more points to website folder.
Here is my ftp folder (FTP Folder has only wwwroot, deleted everything, but website is functioning)
Here is my app service editor window (App Service Editor shows a lot of files in the same folder and website actually operates from this folder)
Has anyone experienced this issue? I've had this issue before without any CI/CD implementation and had to delete app service and create a new one, but can't do so each time.
Any solution?
Thanks.
Related
We have a release pipeline that publishes Virtual Applications from zip-files fine.
However we have some artifacts that we would like to be just a folder and not an application.
Is it possible to define that it should be deployed as a folder somewhere?
We are using the IIS Web App deploy task.
When authorizing one drive with my web app service getting below error 'unauthorized_client: The client does not exist. If you are the application developer, configure a new application through the application management site at https://apps.dev.microsoft.com/.'
I am trying to deploy an web app created 'index.html' file stored in onedrive and wanted to connect deployment center with one drive, checked the web app URL provided in azure it is up and running.
This issue should be fixed now. Could you please try again and update here. If it doesn't work, I would need a network trace while reproducing the issue.
I develop simple Web Api on Net Core 2 and add Angular app to it (inside wwwroot folder) and publish it from my VS 2017 IDE to Azure Web App Service. All work fine, but when I reload page of my app in browser, server can't find route. So It often happens when iis not setup for SPA, It's described in https://angular.io/guide/deployment, I must configure the server to return the application's host page (index.html) when asked for a file that it does not have. How I can setup server node of iis in Azure Web App Service (web.config in Net Core 2 was deleted).
I am afraid you cannot achieve this.
Cause: Azure App Services runs IIS so it behaves mostly the same as local IIS, routing requests using a native module called AspNetCoreModule. So, it needs your published web.config file. Even though you deleted the web.config file, Azure would also generate a new web.config file to be used.(Though I don't understand why you delete the web.config file)
Solution:
Even you can upload the web.config file to Azure again, I'm afraid of that it will be ignored and doesn't work. So, I suggest you redeploy your website which contains web.config file to Azure and configure it well.
Additional: Azure Web App service is a kind of PaaS. So, if you want to install IIS manually, you can choose to host your website on a Windows Azure VM.
Ok so I created an empty php web app in Azure, and I already have an existing php app that I have only tested locally, question is: How do I "transfer" that app to that empty php web app I created in Azure?
To migrate your existing PHP app to Azure Web Apps, you might need to do the following things:
Deploy all files of your PHP app to a virtual directory's root (D:\home\site\wwwroot) using FTP or source control:
Deploy your app to Azure App Service using FTP/S
Local Git Deployment to Azure App Service
Configure PHP in Azure App Service Web Apps
Azure Web Apps run on Microsoft IIS. If you have ever had your project run on Apache Web server, you also need to translate .htaccess ontent to IIS web.config.
We are currently in the process of building a website on azure. At this moment I have a cloud service that is hosting my web api. Deploying to azure works like a charm.
Besides this project we have a pure HTML AngularJS project. I can publish this website as a WebApp. Though, is it possible to deploy it together with the web api?
You can deploy the second one as a Virtual Application/ Directory (Remember to check the Application check box):
You can use this link on how to publish to Root App as well as Virtual directory in your Azure subscription:
http://blogs.msdn.com/b/tomholl/archive/2014/09/22/deploying-multiple-virtual-directories-to-a-single-azure-website.aspx