在Windows Docker 容器中執行ASP.NET MVC 應用程式 | docker iis
![在Windows Docker 容器中執行ASP.NET MVC 應用程式](https://i.imgur.com/axBPWDg.jpg)
12/14/2018 本文內容 在Windows容器中執行現有的.NETFramework架構應用程式,不需要對您的應用程式進行任何變更。Runninganexisting.NETFramework-basedapplicationinaWindowscontainerdoesntrequireanychangestoyourapp.若要在Windows容器中執行您的應用程式,您可以建立包含您應用程式的Docker映像,然後啟動該容器。TorunyourappinaWindowscontaineryoucreateaDockerimagecontainingyourappandstartthecontainer.本主題說明如何才能擷取現有ASP.NETMVC應用程式(ASP.NET...
![在Windows Docker 容器中執行ASP.NET MVC 應用程式](https://i.imgur.com/H8YKUrg.jpg)
在 Windows 容器中執行現有的 .NET Framework 架構應用程式,不需要對您的應用程式進行任何變更。Running an existing .NET Framework-based application in a Windows container doesnt require any changes to your app. 若要在 Windows 容器中執行您的應用程式,您可以建立包含您應用程式的 Docker 映像,然後啟動該容器。To run your app in a Windows container you create a Docker image containing your app and start the container. 本主題說明如何才能擷取現有 ASP.NET MVC 應用程式 (ASP.NET MVC application)[1] 並部署到 Windows 容器中。This topic explains how to take an existing ASP.NET MVC application[2] and deploy it in a Windows container.
您可以從現有的 ASP.NET MVC 應用程式開始,然後使用 Visual Studio 建置已發行的資產。You start with an existing ASP.NET MVC app, then build the published assets using Visual Studio. 您可以使用 Docker,建立其中包含並會執行您應用程式的映像。You use Docker to create the image that contains and runs your app. 接著瀏覽到 Windows 容器中正在執行的網站,並確認應用程式可以正常運作。Youll bro...