azure-node-sdk

Deploying a Node app on Azure Functions

不羁岁月 提交于 2019-12-07 06:24:05
问题 I am wondering about how it might be possible to deploy a Node.js app on Azure Functions. Basically, I have a function setup and running a basic hello world http example that looks like: module.exports = function (context, req) { context.log('JavaScript HTTP trigger function processed a request.'); context.res = { // status: 200, /* Defaults to 200 */ body: "Hello " + req.params.name }; context.done(); }; The app I am trying to deploy into a function is a simple moc client that uses swagger

How to register devices to Azure Notification Hub from server side(with NodeJS sdk) ?

心不动则不痛 提交于 2019-12-04 12:19:48
问题 I am developing a windows phone 8.1 App (RT), I am trying to push notification with Azure Notification Hub. I am able to do it with the client side SDK available. But I want to do the device registration, tagging etc. from the server side. I see a good guide for .Net backend at http://blogs.msdn.com/b/azuremobile/archive/2014/04/08/push-notifications-using-notification-hub-and-net-backend.aspx . I am using NodeJS in the backend server side. Can anyone help me in the same, with a sample code

How to register devices to Azure Notification Hub from server side(with NodeJS sdk) ?

☆樱花仙子☆ 提交于 2019-12-03 07:49:45
I am developing a windows phone 8.1 App (RT), I am trying to push notification with Azure Notification Hub. I am able to do it with the client side SDK available. But I want to do the device registration, tagging etc. from the server side. I see a good guide for .Net backend at http://blogs.msdn.com/b/azuremobile/archive/2014/04/08/push-notifications-using-notification-hub-and-net-backend.aspx . I am using NodeJS in the backend server side. Can anyone help me in the same, with a sample code or so. I want to register devices from server side (iPhone, Android & Windows Phone), actually I have