From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Upgrading the Projector function

Upgrading the Projector function

- [Instructor] We need to be sure that the projector function works correctly so we need to modify its program.cs file to match a brand new Azure function project. Additionally, we need to add its settings file and modify the CS brush to include the required NuGet packages. So let's do this. Let's open up a new instance of Visual Studio and let's select File and then New Project. We're going to create a new Azure functions project. Actually the name, it doesn't matter. What matters is that we select .NET 9 isolated. And then let's click on Create. And we need to be sure that we're using this code that was just created in the hospital projector function. So I'm going to copy this and let's return to these other Visual Studio instance, and I'm going to paste the code right here. Before I do that, I'm going to comment out this code and this is the code that we need to run. As you can see, I'm receiving those errors and this is because some NuGet packages and references are missing. So…

Contents