azure-functions-host icon indicating copy to clipboard operation
azure-functions-host copied to clipboard

Unable to Call MySQL from within Azure Functions v2 with .NET Core

Open edblankenship opened this issue 8 years ago • 2 comments

Hi! I have a StackOverflow issue with additional details about what we're seeing and an open support case with Microsoft Support. They suggested creating a GitHub issue here in parallel since Azure Functions v2 is in Preview.

One additional contributor in Stack Overflow was able to reproduce the issue in his environment as well.

Brief Description

There seems to be a problem with the configuration system initializing when running locally in the latest version of Visual Studio 2017 and the latest version of the Azure Functions extension. Additionally, this project is using V2 of the Azure Functions platform.

Additional Information

Sample source code, dependencies, stack trace, exception information, and repro available on Stack Overflow at: https://stackoverflow.com/questions/50142785/local-configuration-exception-in-azure-functions-v2-and-mysql

edblankenship avatar May 25 '18 20:05 edblankenship

Are you able to reproduce this with the latest CLI version on npm? https://www.npmjs.com/package/azure-functions-core-tools/v/2.0.1-beta.28

brettsam avatar May 30 '18 18:05 brettsam

I don't mean to be silent on this one.... I've switched over to using the npm version of the CLI and I can't seem to get the host to start at all so I'm not sure I've been able to verify whether this works or not in this latest version. I do have the latest version of the npm package installed and it does seem to be used on the command-line now.

edblankenship avatar May 31 '18 23:05 edblankenship