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 - Azure Tutorial
From the course: Exploring Performance and Scale with Data Options in Azure
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Overview of Cosmos DB5m 27s
-
(Locked)
Provisioning Cosmos DB2m 48s
-
(Locked)
Coding patterns for Cosmos41s
-
(Locked)
Code changes for Cosmos SDK7m 41s
-
(Locked)
Designing for performance in Cosmos6m 8s
-
(Locked)
Challenge: Convert app to Cosmos25s
-
(Locked)
Solution: Convert app to Cosmos7m 4s
-
(Locked)
-
-