You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Microsoft Visual Studio Enterprise 2022, Version 17.11.0 (VisualStudio.17.Release/17.11.0+35208.52) with the latest Azure Function Core Tools (4.0.5907) and Microsoft.NET.Sdk.Functions (4.4.1) when I create a new Function App based on the Visual Studio Azure Function template, the application generated compiles and runs, but gives a synchronisation error.
(I check Azurite and .NET8.0 as options in the wizard).
When I trigger the function by visiting the url, the logging shows the function is executed , but then gives an error:
[2024-08-14T10:59:43.694Z] Executing ‘DurableFunctionsEntityCSharp_CounterHttpStart’ (Reason=‘This function was programmatically called via the host APIs.’, Id=57f99977-047f-446c-84bf-3e49c9b23008)
[2024-08-14T10:59:43.727Z] Executed ‘DurableFunctionsEntityCSharp_CounterHttpStart’ (Succeeded, Id=57f99977-047f-446c-84bf-3e49c9b23008, Duration=33ms)
[2024-08-14T10:59:43.730Z] An unhandled host error has occurred.
[2024-08-14T10:59:43.730Z] Microsoft.AspNetCore.Server.Kestrel.Core: Synchronous operations are disallowed. Call WriteAsync or set AllowSynchronousIO to true instead.
Using Microsoft Visual Studio Enterprise 2022, Version 17.11.0 (VisualStudio.17.Release/17.11.0+35208.52) with the latest Azure Function Core Tools (4.0.5907) and Microsoft.NET.Sdk.Functions (4.4.1) when I create a new Function App based on the Visual Studio Azure Function template, the application generated compiles and runs, but gives a synchronisation error.
(I check Azurite and .NET8.0 as options in the wizard).
When I trigger the function by visiting the url, the logging shows the function is executed , but then gives an error:
[2024-08-14T10:59:43.694Z] Executing ‘DurableFunctionsEntityCSharp_CounterHttpStart’ (Reason=‘This function was programmatically called via the host APIs.’, Id=57f99977-047f-446c-84bf-3e49c9b23008)
[2024-08-14T10:59:43.727Z] Executed ‘DurableFunctionsEntityCSharp_CounterHttpStart’ (Succeeded, Id=57f99977-047f-446c-84bf-3e49c9b23008, Duration=33ms)
[2024-08-14T10:59:43.730Z] An unhandled host error has occurred.
[2024-08-14T10:59:43.730Z] Microsoft.AspNetCore.Server.Kestrel.Core: Synchronous operations are disallowed. Call WriteAsync or set AllowSynchronousIO to true instead.
More details of the issue available here: https://developercommunity.visualstudio.com/t/Visual-Studio-template-for-Azure-Functio/10722427
The text was updated successfully, but these errors were encountered: