Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    for whatever reasons, those forums are just not conducive to productive discourse
    Dale Anderson
    @danderson00
    Unfortunately the response on MSDN sometimes comes from a less trained customer support rep, rather than an engineer. I should have just said stackoverflow - you're much more likely to get one of the actual engineers on the team responding.
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    yeah, btw looks like the azure mobile apps .net team is using github wiki for reference material: https://github.com/Azure/azure-mobile-apps-net-server/wiki
    GH wiki >>>>> stackoverflow imo
    (GH wiki + gitter)
    Kurt Opel
    @knaopel
    looking for help using azure-mobile-apps-client npm package in a TypeScript Web App. is there a type definition somewhere? I found one for Server Side and one for (old) Azure Mobile Services but not for Mobile Apps (JS) Client.
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    looks like that's slotted for the 2.0.1 milestone : Azure/azure-mobile-apps-js-client#79
    Anuj Pandey
    @qanuj
    anyone here can suggest how to update a specific record in Azue Mobile Apps via API and not using tables ?
    Swapnil Tripathi
    @tripathi-swapnil
    I have ionic2 app and apis on azure mobile app, trying to implement notification hub
    how to do that ?
    added hub credentials inside app.js
    and tried
        if(req.azureMobile.push){
            var payload = {
                   "data": {
                       "message": 'Welcome'
                   }
               };
           req.azureMobile.push.gcm.send(null, payload, function (error) {
               if (error) {
                   logger.error('Error while sending push notification: ', error);
               } else {
                   logger.info('Push notification sent successfully!');
               }
           });
        }
    it sends on error
    and error is
    Error: 404 - No service is hosted at the specified address..TrackingId:414e948f-778d-4d9a-b784-63c74a9d86ad_G7,TimeStamp:12/15/2016 10:39:28 AM
        at Function.ServiceClient._normalizeError (/home/user/JRNY_code_repo/jrny-api/jrny-api/node_modules/azure-common/lib/services/serviceclient.js:814:23)
    Need complete tutorial or sample code
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    "Easy Auth" is kinda hard actually. since i don't wish to post questions to stack overflow, anywhere else better than here to put Easy Auth questions? would be really great if we could get the Easy Auth team invited to participate actively here...
    there's a code example that uses jquery to call /.auth/refresh
    it's unclear to me how that could ever be secure
    in order for /.auth/refresh to work, the request needs to be authenticated with a token that was obtained with the offline_access scope
    so by definition, that same token could be used to authenticate a request to /.auth/me and obtain the refresh_token
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    so, it follows that we would never want a token with that scope made available to code running in the browser, no?
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    ah, i guess the example in that post is using cookie auth, not token auth, so that might be OK...
    Anuj Pandey
    @qanuj
    is it possible to get have some relationship concept with NodeJS backed and tables ?
    modified question: is it possible to have some relationship concept with NodeJS backed and tables ?
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    @qanuj not really sure, but this is probably worthwhile reading: https://shellmonger.com/2016/05/27/30-days-of-zumo-v2-azure-mobile-apps-day-26-relationship-advice/
    seems like no if that's still accurate:
    The Node.js Server SDK for Azure Mobile Apps does not support relationships in any way, shape or form
    Steve Lee
    @SteveALee
    @qanuj do you mean SQL relationships between tables? If so I believe not with the simple App Service tables. You'd need to use SQLServer
    Anuj Pandey
    @qanuj
    yes, the sad case of using The Node.js Server SDK for Azure Mobile App.
    another question would be if there is a support for Complex Object so, one can manage the Related Object in same table.
    Steve Lee
    @SteveALee
    I like nodejs :)
    I got impression tables are for the simplest possible data need - ie single table. Anything more complicated you have to mange/hack yourself or use a full DB service.
    you might be able to serialise objects to JSON and store the strings?
    Anuj Pandey
    @qanuj
    thanks @SteveALee storing related parent object could do the trick. for now.
    as string ie.
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    continuing to see hanging/timeouts in very straightforward oauth/login flows at the POST to /.auth/login/aad/callback. not interested in posting to stack overflow, but forum post updated: https://social.msdn.microsoft.com/Forums/azure/en-US/54ed3ad6-e218-439f-ba33-91411f5b21de/how-can-i-troubleshoot-easyauth-errors?forum=azuremobile
    just don't see any way for me to be able to troubleshoot this. flying completly blind, my guess is that something is going wrong with cookies
    either "Nonce" cookies, or "CompletionType" cookies that are meant to indicate that the login flow is happening in an iframe?
    here and there, i've been able to get a glimpse at errors at what appears to be something like this line: https://github.com/Azure/azure-mobile-services-node/blob/master/runtime/request/html/templates/loginviaiframe.html#L31
    var frame = window.opener.frames[receiverFrameName]
    Ghost
    @ghost~55e35bf20fc9f982beaf176a
    the error will be something indicating that window.opener is undefined
    (which makes sense, because i'm not using the js client for login, so i'm not using popups)
    Ariel
    @Draidel
    Anyone can help me with some basic configuration of azure please? :)
    hussam-alsh
    @hussam-alsh
    hi
    Swapnil Tripathi
    @tripathi-swapnil
    @danderson00 - not able to get build on azureappnode
    
    \\?\D:\home\site\wwwroot\node_modules\bcrypt\build\Release\bcrypt_lib.node
        at Error (native)
        at Object.Module._extensions..node (module.js:460:18)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:311:12)
        at Module.require (module.js:366:17)
        at require (module.js:385:17)
        at bindings (D:\home\site\wwwroot\node_modules\bindings\bindings.js:76:44)
        at Object.<anonymous> (D:\home\site\wwwroot\node_modules\bcrypt\bcrypt.js:3:35)
        at Module._compile (module.js:435:26)
        at Object.Module._extensions..js (module.js:442:10)
    Application has thrown an uncaught exception and is terminated:
    Error: %1 is not a valid Win32 application.
    
    \\?\D:\home\site\wwwroot\node_modules\bcrypt\build\Release\bcrypt_lib.node
        at Error (native)
        at Object.Module._extensions..node (module.js:460:18)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:311:12)
        at Module.require (module.js:366:17)
        at require (module.js:385:17)
        at bindings (D:\home\site\wwwroot\node_modules\bindings\bindings.js:76:44)
        at Object.<anonymous> (D:\home\site\wwwroot\node_modules\bcrypt\bcrypt.js:3:35)
        at Module._compile (module.js:435:26)
        at Object.Module._extensions..js (module.js:442:10)
    Swapnil Tripathi
    @tripathi-swapnil
    @danderson00 - it works on my local but fails on azure