pooj17
pooj17

Reputation: 81

containerizing a .net c# WPF application with docker

I want to deploy a WPF .Net(Version 4.0, C#) Application with Docker since I need to install multiple hardware related software installed before the program starts. And also want to install java before it because there is java program which needs to run inside this c# application.

Questions:

  1. Is it possible?, which I hope 'Yes' on the basis of what I have read till now

  2. How I can do it.

  3. If any other way available for doing it.

  4. which would be preferable one.

Any sort of referential link, video that can help me moving. I'll be grateful for this.

Upvotes: 3

Views: 2287

Answers (2)

pooj17
pooj17

Reputation: 81

I got the solution of requirement at that time by wix (window installer) https://wixtoolset.org/documentation/

with the help of this you can write a xml like code to provide step by step procedures to run and generate a .msi or .exe file. I hope this will help visitors.

Upvotes: 1

ingvar
ingvar

Reputation: 4377

It's not possible to run WPF application in docker container (see this article for more info):

You can’t run desktop apps in Docker because there’s no UI integration between the Docker platform and the Windows host. That rules out running Windows Forms or Windows Presentation Foundation (WPF) apps in containers

Upvotes: 2

Related Questions