DEV Community

Discussion on: Build a Student Feedback Analyzer with Blazor, Azure Functions, Azure Static Web Apps and Azure Cognitive Services

Collapse
 
ashirwadsatapathi profile image
Ashirwad Satapathi

Hi @oliverwolffe , Glad you found it resourceful. Did you configure your solution to start multiple projects. With reference to error, I'm assuming that your function project i.e, API project has not started while the client project has started. I will definitely give it a look later tomorrow. In the meanwhile, can you please configure your solution and try to start multiple projects in your solution.

Collapse
 
oliverwolffe profile image
oliverwolffe

Thank you for getting back to me! I didn’t realise that this configuration was required but that’s very helpful to know - I will have a look at this. I’m using VS Code rather than VS, which I think is meant to start both projects at once.

Thread Thread
 
ashirwadsatapathi profile image
Ashirwad Satapathi

Yes. That's what I meant. Hope it helps 😇

Thread Thread
 
oliverwolffe profile image
oliverwolffe

I managed to figure out the issue by running the Api project on it's own as an Azure function. There were a couple of .net v5 dependencies which don't work with Functions, so the Api project wasn't starting up. After I downgraded these to 3.1.x the Api works!