From the course: Exploring Performance and Scale with Data Options in Azure

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Convert app to Cosmos

Solution: Convert app to Cosmos - Azure Tutorial

From the course: Exploring Performance and Scale with Data Options in Azure

Start my 1-month free trial

Solution: Convert app to Cosmos

(soft electronic music) - [Instructor] The challenge for this chapter is to finish converting our app to work with Cosmos database. In our application, we currently have chores running off of Cosmos for inserting new ones and then for getting a list of them, but if I try to edit or update it, it doesn't complete the task. For instance, I can create a new one, which is Challenge Finish Conversion to Cosmos. Save that. And if I try to edit one of the existing ones, you'll see that it's going on and trying to do edit on a GUID, an ID that doesn't exist in the Cosmos database, so it's failing. So what we need to do is to finish that conversion. That way that we're going to do that is by coming into here, and I can see that I've got my GetCosmosItems. I currently have unreachable code, and rather that just having unreachable code, I would like to comment out the items that we are never going to get to. Ideally, we…

Contents