哪里是在新的Azure应用程序服务的关键? [英] Where is the key in new Azure App service?

查看:187
本文介绍了哪里是在新的Azure应用程序服务的关键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然采用了经典的Azure移动服务,用于获取与您的移动服务应用程序的URL一起的关键。该键也被用来探索后端网站和放API的;用作口令。

While using the classic Azure Mobile services, you used to get a key along with a URL for your Mobile Service app. This key was also used to explore the APIs on your backend site & was used as a password.

使用新的Azure应用程序服务,所有你需要instntiate移动服务客户端是URL像下面

With new Azure App services all you need to instntiate the mobile service client is the URL like below

private static readonly MobileServiceClient MobileService = new MobileServiceClient("https://thecityapp.club");

有没有钥匙*,这是可用的Azure移动服务的第二个参数。什么是目前普遍使用的密码,探索在网络上的API?

There is no key *a second parameter that was available with Azure Mobile services. What is now used as password to explore the APIs on the web?

推荐答案

苏$ P $宠物,

通过应用服务/移动应用,应用程序键不再使用/需要,这就是为什么它不再可用的门户。你可以用上面的code实例化客户端,并开始消耗服务API没有这种资料。

With App Services/Mobile Apps, the application key is no longer used/required, that is why it is no longer available on the portal. You can instantiate the client with the above code and start consuming the service APIs without that information.

有关身份验证,请参阅本文档:<一href=\"https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-windows-store-dotnet-get-started-users/\">https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-windows-store-dotnet-get-started-users/

For authentication, please refer to this documentation: https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-windows-store-dotnet-get-started-users/

我希望这有助于。

这篇关于哪里是在新的Azure应用程序服务的关键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆