Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using CEF (Chromium Embedded Framework) inside Asp.Net WebApplication

I've packed Joel solution (http://joelverhagen.com/blog/2013/12/headless-chromium-in-c-with-cefglue/) in a library because I need to use it inside an ASP.Net WebApplication. The library works fine as standalone but hangs on (on some internal unidentified process) when invoked inside a webapp. Have you ever tryed this running mode? Have you got an idea about what could be the problem? Thanks a lot

like image 859
Ispanico Avatar asked Dec 05 '25 02:12

Ispanico


1 Answers

Where are you running the ASP.NET site and under what security profile? My guess is that this is going wrong because it is running in a context where GDI operations aren't allowed. Even if no window is created, GDI is still used to do the rendering.

This same problem has affected me with PhantomJS which is why I ask.

like image 164
Kevin Boyle Avatar answered Dec 06 '25 14:12

Kevin Boyle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!