If you are developing an application that must be able to work disconnected from the cloud, you'll surely need, at some point, to implement the ability to download the latest data from the cloud to refresh the data local to the app. Doing this efficiently could be tricky, as you would need to understand what are the changes that happened on the cloud since the last time the application synched with it, so that you can only send the differences.

With Azure SQL you can take advantage of Change Tracking to detect which rows have been changed from the last time the application synced and generate a payload that only contains those changes. Something like that:## Inspiration

What it does

How we built itWell, more precisely, not only you can detect the changes, but you can also generate the JSON directly from Azure SQL, so that you can take advantage of the amazing integration that Azure SQL provides across all its features and create a beautifully simple code.

More technical details are available here: Sync Mobile Apps with Azure using Change Tracking API

I've also prepared a video to show in 10 minutes how much simpler can be your life using Change Tracking API.

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for Mini cloud data

Share this project:

Updates