Azure Functions support #3452
Replies: 4 comments 5 replies
-
Already asked at https://stackoverflow.com/questions/66705939/cefsharp-offscreen-netcore-with-azure-function |
Beta Was this translation helpful? Give feedback.
-
Is there any possible update on this? |
Beta Was this translation helpful? Give feedback.
-
Using CefSharp 119.4.3, .NET 8.0 and an Azure Function running on an App service plan B2 i have gotten this to work. |
Beta Was this translation helpful? Give feedback.
-
Hmm interesting. I tested a deployment of CefSharp 121.3.70 on a B2 plan and got the same result as I listed above.
As a side mention, I tried PuppeteerSharp on a windows consumption plan, but hit the same SxS issue. And any info online about that suggests a VC++ issue, and I had been thinking the same with Cef. But the below command suggests VC++ seems to be ok on a consumption box
very much mixed success. I'm currently falling back to PuppeteerSharp on linux containers as a workaround. Feels totally overweight, would much prefer a CefSharp solution. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to create an Azure function, which takes an url and then returns a screenshot of the page.
I have added the package CefSharp.OffScreen.NETCore to the project and the code from CefSharp.MinimapExample for generating a screenshot. Running this in a simple Core console application works as intended, but when run as an Azure Function i get the following error:
Beta Was this translation helpful? Give feedback.
All reactions