Search code examples
.netazure.net-coreazure-web-app-serviceazure-appservice

Azure App Service Dependency List (Linux App Service - .NET 8)


Is there a list somewhere that shows all dependencies installed on Azure App Services?

Specifically, when upgrading a Linux App Service from .NET 7 to the newly released .NET 8, it would appear that there are missing dependencies that are no longer installed on the underlying machine/infrastructure. Several NuGet packages related to graphics rendering that rely on libjpeg62 are not working on a .NET 8 Linux App Service that worked fine on .NET 7.


Solution

  • You can check the Installed Packages and Run time versions from KUDU Console => Bash from the deployed App Service.

    Open the KUDU Debug Console => Bash from Advanced Tools

    enter image description here

    or

    with the below URL .

    https://YourAppName.scm.azurewebsites.net/
    

    enter image description here

    I have Installed some packages (as a sample to show) in my App and trying to retrieve the same.

    I have referred this MSDoc to get the list of dependencies in local.

    To verify I have cross checked with dotnet list package command in my local app.

    Local Output:

    enter image description here

    Deployed App - Bash:

    To get the list of Installed packages, navigate to the site/wwwroot folder

    cd site/wwwroot
    

    Run ls to see the list of files.

    enter image description here

    • Even you can check the same from the new UI of the SCM.
    https://YourAppName.scm.azurewebsites.net/newui/fileManager
    

    enter image description here

    Update

    I have taken reference from askubuntu

    • You can use apt list command either in Bash or in SSH to get the list of Installed Packages.

    • Package along with version /Installation status /Environment is displayed.

    enter image description here enter image description here

    • If you want to check only for a particular package, you can use grep keyword(used to filter and search with the given keyword).
    apt list | grep libjpeg62
    

    enter image description here