Contents - Index - Top


WebView2 development basics

 

There are some basics when developing software with the WebView2 control that are good to know and will probably save you some headaches.

 

First one, don't start a UI thread in an event.

The WebView2 control is single threaded! You can't put anything in a background thread! (see Threading model for WebView2 apps  )

 

It is also good to know that WebView2 was designed to be used asynchronously.

We have added some synchronous methods, but there are some limitations when trying to mix them with asynchronous methods.

See Asynchronous versus synchronous for more details.

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024