Replies: 3 comments
-
There are no plans on this side. But it looks like something interesting to see. Shouldn't it be quite easy to implement a BackgroundService? |
Beta Was this translation helpful? Give feedback.
-
@kblok I feel like the way Puppeteersharp is currently handling socket transport would have to change to use BackgroundService. But I haven't done a deep dive on it. So I could be wrong. |
Beta Was this translation helpful? Give feedback.
-
@donnyv you can pass a TransportFactory into the LaunchOptions. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to call Puppeteersharp from a controller endpoint but it needed AspNetWebSocketTransport. Which I did find and added to my project. But AspNetWebSocketTransport uses HostingEnvironment.QueueBackgroundWorkItem. Which has been removed in in Asp.net Core .NET 6.0. It looks like background tasks need to be registered as a service now during startup.
Is there an update coming up that fixes this?
Beta Was this translation helpful? Give feedback.
All reactions