Code Monkey home page Code Monkey logo

Comments (6)

getsantry avatar getsantry commented on September 23, 2024

Assigning to @getsentry/support for routing ⏲️

from sentry-docs.

getsantry avatar getsantry commented on September 23, 2024

Routing to @getsentry/product-owners-sdks-native for triage ⏲️

from sentry-docs.

david-maw avatar david-maw commented on September 23, 2024

I reported this, and as I said the workaround, once I figured it out, was easy. If the incorrect code I chose (call ConfigureFunctionsWorkerDefaults then ConfigureFunctionsWebApplication) had failed to compile, or run with an error, I'd have probably figured it out earlier, but because it seemed to work, but actually didn't, diagnosis took more work. As far as I can tell in the failed configuration my function code was never invoked, the infrastructure just returned status code OK for all calls with no attached data and my caller just quietly did the wrong thing.

All I would have needed is a hint to use either ConfigureFunctionsWorkerDefaults or ConfigureFunctionsWebApplication, whichever was already there.

from sentry-docs.

bitsandfoxes avatar bitsandfoxes commented on September 23, 2024

Thanks for letting us know. I'll update the docs.

from sentry-docs.

david-maw avatar david-maw commented on September 23, 2024

You're welcome, I'm relatively new to Azure Functions but as far as I can see Microsoft now seem to prefer to use the newer ConfigureFunctionsWebApplication function in order to enable some ASP.NET functionality in Azure Functions but still support ConfigureFunctionsWorkerDefaults, presumably for existing code. In particular, ConfigureFunctionsWebApplication is what they emit if you create a default Azure Functions project in Visual Studio (which is how I stumbled over this).

from sentry-docs.

bitsandfoxes avatar bitsandfoxes commented on September 23, 2024

Based on the docs it depends whether you're using the ASP.NET Core integration the ConfigureFunctionsWebApplication is part of.

from sentry-docs.

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.