#Docker run image and ssh in install#
However, you can deploy it using a Windows container instead, because you can install the font in the Windows container. The app is displayed in your default browser.Īs the app uses an installed font, the app can't run in the App Service sandbox. Type Ctrl+F5 to run the app without debugging. Open the custom-font-win-container-master/CustomFontSample.sln file in Visual Studio. This font is publicly available from Google Fonts. In Windows Explorer, navigate to custom-font-win-container-master/CustomFontSample, right-click FrederickatheGreat-Regular.ttf, and select Install. To migrate such an app to App Service, you either rearchitect your code to remove the integration, or migrate it as-is in a custom Windows container. However, the sample is an example of an app that is integrated with the underlying OS. The sample project contains a simple ASP.NET application that uses a custom font that is installed into the Windows font library. Extract (unzip) the custom-font-win-container-master.zip file.
Set up the app locally Download the sample Add the workloads in Visual Studio by clicking Tools > Get Tools and Features.Install the latest updates in Visual Studio by clicking Help > Check for Updates.If you've installed Visual Studio 2022 already: Install Visual Studio 2022 with the ASP.NET and web development and Azure development workloads.Switch Docker to run Windows containers.You deploy a custom-configured Windows image from Visual Studio to Azure Container Registry, and then run it in App Service.
#Docker run image and ssh in how to#
This tutorial demonstrates how to migrate to App Service an ASP.NET app that uses custom fonts installed in the Windows font library. So it's easy to migrate on-premises app that requires custom OS and software configuration. You can deploy a custom-configured Windows image from Visual Studio to make OS changes that your app needs. The preconfigured Windows environment locks down the operating system from:įor more information, see Operating system functionality on Azure App Service.
Azure App Service provides pre-defined application stacks on Windows like ASP.NET or Node.js, running on IIS.