Welcome Guest Search | Active Topics | Sign In | Register

Run in docker Options
Dragos
Posted: Friday, March 10, 2017 9:04:09 AM
Rank: Advanced Member
Groups: Member

Joined: 6/3/2016
Posts: 32
Hello,

I have a small wpf-app following the browser example from the full-package. It looks like certain tasks my users needs to do are repetitive and I am investigating the possibility to run this into a docker as a ui-less process. I am not doing anything fancy in particular - just "listen" to some events (before-navigate, doc-complete, new-window), run some javascripts and read the html.

Afaik, EO libraries can support the WebBrowser to be ran without UI and this should be enough for docker.

My question is - are there any guidelines/samples/patterns/rules on how to quickly and safely convert an UI browser app into a ui-less one?

Thanks!
eo_support
Posted: Friday, March 10, 2017 11:58:34 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

There isn't any specific guidelines. One basic rule is you will need to use the ThreadRunner object to run the WebViews. Do NOT create or run WebViews in your own worker thread. Other than that everything else works pretty much the same.

Thanks!
Dragos
Posted: Friday, March 10, 2017 9:21:38 PM
Rank: Advanced Member
Groups: Member

Joined: 6/3/2016
Posts: 32
I am not very familiar with ThreadRunner ... Is it possible to see somewhere an example? I searched the samples pack, but no help there. A link maybe should be more than enough!

Thanks!
eo_support
Posted: Saturday, March 11, 2017 3:37:59 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.