Giter VIP home page Giter VIP logo

Comments (6)

maciej-sielski avatar maciej-sielski commented on September 25, 2024 1

as @dkapadia-jb stated I removed this dependency, had to migrate from returning IActionResult to HttpResponseData as stated in https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cfunctionsv2&pivots=programming-language-csharp

also in my Program.cs I had to change

new HostBuilder()
    .ConfigureFunctionsWebApplication

into

new HostBuilder()
    .ConfigureFunctionsWorkerDefaults

from azure-functions-dotnet-worker.

jviau avatar jviau commented on September 25, 2024

Can you share the version of AspNetCore Worker extension package you are using?

from azure-functions-dotnet-worker.

dkapadia-jb avatar dkapadia-jb commented on September 25, 2024

Hey @jviau,
I was initially using v1.2.1 then upgraded to v1.3.1 and still noticed same behavior,

from azure-functions-dotnet-worker.

dkapadia-jb avatar dkapadia-jb commented on September 25, 2024

Just as an update on this, after removing this package, I noticed the worker no longer throws an exception and request cancellation is handled gracefully. So definitely there is a bug in the package even in the latest stable version 1.3.1
Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore

from azure-functions-dotnet-worker.

dkapadia-jb avatar dkapadia-jb commented on September 25, 2024

Note: This issue still persists with latest release v.1.3.2

from azure-functions-dotnet-worker.

Rihab8 avatar Rihab8 commented on September 25, 2024

#2417 (comment)

from azure-functions-dotnet-worker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.