question

wenhao0117-4775 avatar image
0 Votes"
wenhao0117-4775 asked ·

How to install Matlab Compiler Runtime in Azure App Service

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-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AjayKumarMSFT avatar image
0 Votes"
AjayKumarMSFT answered ·

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)





·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.