Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 找不到可变的azure移动应用程序_Javascript_Azure_Authentication_Azure Mobile Services - Fatal编程技术网

Javascript 找不到可变的azure移动应用程序

Javascript 找不到可变的azure移动应用程序,javascript,azure,authentication,azure-mobile-services,Javascript,Azure,Authentication,Azure Mobile Services,在Adrian Hall的这篇文章中,我谈到了将此代码添加到服务器的部分。他说他将其添加到azure移动应用程序sdk的初始化中。我不知道在哪里可以找到这个,把它放在哪里。我最后把它放在了我的javascript文件中,但这显然没有返回azuremobileapps。那么我应该把这个代码放在哪里呢?我是新来的,提前谢谢你 // Configuration of the Azure Mobile Apps can be done via an object, the // environment

在Adrian Hall的这篇文章中,我谈到了将此代码添加到服务器的部分。他说他将其添加到azure移动应用程序sdk的初始化中。我不知道在哪里可以找到这个,把它放在哪里。我最后把它放在了我的javascript文件中,但这显然没有返回azuremobileapps。那么我应该把这个代码放在哪里呢?我是新来的,提前谢谢你

// Configuration of the Azure Mobile Apps can be done via an object, the
// environment or an auxiliary file.  For more information, see
// http://azure.github.io/azure-mobile-apps-node/global.html#configuration
var mobileApp = azureMobileApps({
    // Explicitly enable the Azure Mobile Apps home page
    homePage: true,
    // Explicitly enable swagger support. UI support is enabled by
    // installing the swagger-ui npm module.
    swagger: true,
    // Authentication settings for custom auth
    auth: {
        audience: '04pHmxVuhYU1QTDo4lEojLo1sseRLfKG',
        issuer: 'https://shellmonger.auth0.com'
    }
});

我找到了。它位于您在azure门户的app.js中wwwroot下的脚本中