Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RunFromPackage with multiple apps in virtual directories #3082

Closed
ggirard07 opened this issue Nov 19, 2019 · 3 comments
Closed

RunFromPackage with multiple apps in virtual directories #3082

ggirard07 opened this issue Nov 19, 2019 · 3 comments

Comments

@ggirard07
Copy link

Historically, we have been using a single web app with multiple virtual directories in order to share the same domain for multiple APIs. Now we would like to move those application to RunFromPackage.

Problem is, we can't find any documentation about how to host multiple applications in virtual directories on the same web app by using ZipDeployment + RunFromPackage. Is this a supported scenario?

Still in the same kind of issue, is there any way to deploy an ASP.Net Core app (WebApi) with an azure webjob on the same web app by using ZipDeployment + RunFromPackage?

@suwatch
Copy link
Member

suwatch commented Nov 21, 2019

How do you deploy your application in the past? You can definitely use ZipDeployment + RunFromPackage. You will have to zip up your artifact with your app file structure as they would appear on d:\home\site\wwwroot folder. RunFromPackage will just virtualize your zip as if it was literally extracted to the folder.

@ggirard07
Copy link
Author

ggirard07 commented Nov 21, 2019

In the past, we used to deploy

  1. The webjobs first.
  2. Each API apps separately to each virtual directories.
  3. The main SPA application at wwwroot by preserving app_data folder.

The webjobs + APIs vs the SPA application are managed by different teams with different repos (and so different pipelines).
Repackaging all of this in a single zip will force us to create a single artifact to deploy and will force to redeploy every component even if a single one changed.

Also, there use to be a simple way to package webjobs in a web app. But this is no longer possible since moving to .Net Core and SDK style project does not support this feature (a workaround as been provided but this is not ideal to carry this over for multiple projects having the same kind of issue).

@jvano
Copy link
Member

jvano commented Apr 29, 2024

Hi

If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

This way we can better track and assist you on this case

Thanks,

Joaquin Vano
Azure App Service

@jvano jvano closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants