2

I'm investigating what's involved in deploying an ASP.NET MVC web application to Azure as an App Service, using Web Deploy from Visual Studio 2015.

The MVC web application uses SQL Server for the identity database in the standard fashion, so I can see how to point that at an Azure-hosted database server.

In addition, it has some 'legacy' data in DBF files in the App_Data folder, accessed on my development PC via OLEDB.

This scenario is obviously going to fail on deployment because whatever box(es) the site ends up hosted on won't have this OLEDB driver installed.

Is this a complete non-runner or is there some way of installing the driver?

4

2 回答 2

3

一种可能性是在 Azure App Service 上使用 Windows 容器,您可以在其中控制要安装的驱动程序或自定义软件。

请查看快速启动以在应用服务中运行 Windows 容器:

https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-windows-container

于 2020-07-07T22:22:19.237 回答
0

使用 App Service 时无法安装 ODBC 或 OleDB 驱动程序,需要查看虚拟机。

于 2016-05-25T18:16:12.490 回答