When Browser agent for .NET is enabled, the application does not start with this error:
An unhandled exception has occurred while executing the request.
System.InvalidOperationException: Synchronous operations are disallowed. Call WriteAsync or set AllowSynchronousIO
Release : 22.1
The issue is fixed in the latest .NET agent. Please download it from the SaaS platform.