Server-Side Code
Your service is given a table called “channels” for storing the current channel URI for each unique client. It is also given four scripts for acting on this table, written in JavaScript: delete.js
, insert.js
, read.js
, and update.js
. You can see them in your portal at http://windowsazure.com, or in Visual Studio’s Server Explorer tool window, shown in Figure 24.17.
The insert.js
script, shown in Listing 24.2, inserts or updates a record in the channels table, using the passed-in installationId
as the key. The most ...
Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.