How to install Matlab Compiler Runtime in Azure App Service

wenhao0117 1 Reputation point
2019-11-27T09:51:33.03+00:00

I wish to install Matlab Compiler runtime (MCR) in the directory of Azure App Service. I have a MCR install .exe and I drag it into any directory (D:\home) to excute it in CMD (Kudu) but nothing happen. May I know can I install the MCR in Azure App Service

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

1 answer

Sort by: Most helpful
  1. AjayKumar-MSFT 1 Reputation point
    2019-12-01T19:30:06.727+00:00

    Welcome to Microsoft Q&A! Thanks for the question.

    The standard/native Azure Web Apps run in a secure environment called a sandbox. Each app runs inside its own sandbox, isolating its execution from other instances on the same machine as well as providing an additional degree of security and privacy which would otherwise not be available. So, in your case leverage the custom container version of App Service.

    Additional information on this, Azure App Service provides pre-defined application stacks on Windows like ASP.NET or Node.js, running on IIS. The preconfigured Windows environment locks down the operating system from administrative access, software installations, changes to the global assembly cache, also it does not allow the registration of COM components on the platform. and so on (see Operating system functionality on Azure App Service). If your application requires more access than the preconfigured environment allows, you can deploy a custom Windows container instead.

    If an app makes use of any COM components, these will need to be rewritten in managed code and deployed with the site or application. App Service using Windows Containers enables usage of the GAC, COM components, MSIs, full access to .NET FX APIs, DirectX, and more.

    Kindly checkout these documents for more details on this topic:

    Run a custom Linux container in Azure App Service

    Run a custom Windows container in Azure (Preview)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.