TXTextControl MVC site in docker
Автор: SprintDeployLearnRepeat
Загружено: 2024-07-30
Просмотров: 50
Описание:
Getting an old .Net (4.7) MVC app that uses TXTextControl, running in Docker has it's challenges. In this show I talk through some of those challenges that I faced and their solutions...
LINKS
TXSamples: https://github.com/TextControl/TXSamp...
TX Can't connect: https://www.textcontrol.com/blog/2022...
TX blog with install fonts: https://www.textcontrol.com/blog/2023...
(you need the Fonts class and the startup code that uses it, but personally I'd avoid adding fonts to your project. Just get them into a base docker image.)
dockerfile with better base: https://github.com/wallism/aspnet-wit...
vc_redist install command that works:
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
RUN Invoke-WebRequest -Uri "https://aka.ms/vs/17/release/vc_redis..." -OutFile vc_redist.x64.exe; \
Start-Process -FilePath vc_redist.x64.exe -ArgumentList '/passive' -NoNewWindow -Wait; \
Remove-Item -Force vc_redist.x64.exe
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: