Try deleting both obj and bin folders for your function project. I had same error and when I copied my code to a new Function project it worked. That is how I discovered this.
Error Running Azure Function (Isolated Worker) Locally
Bernard Brown
65
Reputation points
Hi,
I've converted my Azure Function from in-process to isolated-worker. I used the .NET Upgrade Assistant and I've followed these instructions. I've tried to run it from Visual Studio, Rider and the command line (func host start --donet-isolated-debug). Each time I run it, I get the following error:
System.InvalidOperationException: 'The gRPC channel URI 'http://:' could not be parsed.'.
I've tried searching, but none of the solutions have helped. Can someone please provide assistance?
Thanks