同桌,通知中心和服务器两个应用程序 [英] Same Table, Notification Hub and server for two apps

查看:275
本文介绍了同桌,通知中心和服务器两个应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们得到了由Silverlight的微软放弃捕获并专注于UWP。这已经结束了与我们有开发两个重点双重应用(UWP和Silverlight),这给我们留下了两个应用程序不能被捆绑/打包在一起。因此,我们决定有应用程序作为伴侣应用程序。

We got caught by Microsoft's abandonment of Silverlight and focus on UWP. This has ended up with us having to develop two dually focused apps (UWP and Silverlight), which has left us with two apps that cannot be bundled/packed together. We have therefore decided to have of the apps as a companion app.

这两个应用程序使用的身份验证,在present时间,它是与微软的认证。用于身份验证的服务是类型 Azure的应用服务 - 移动。除了身份验证服务,还提供了接口,通知中心,Blob存储和SQL存储。

Both apps use authentication, at present time it is with Microsoft authentication. The services used for authentication is of the type Azure App Service - Mobile. The services besides authentication also provides interfaces to a notification hub, blob storage and SQL storage.

因此​​,问题是是否有可能有一个应用服务 - 移动(不mobileservice),并使用相同的服务来验证两个不同的应用程序?
另外可以在同一个通知中心可以用来发送通知针对不同的应用程序?

The question is therefore is it possible to have one App Service - Mobile (not mobileservice), and authenticate two different apps using the same service? Additionally can the same Notification Hub be used to send notifications towards different apps?

还是需要它,我们为每个应用程序,以方便使用的身份验证和推送消息创建两个不同的服务。然后,我们可以在同一个数据库链接到两个应用服务 - 移动?但是,这会留下不具有相同的注册通知枢纽的问题?

Or is it needed that we create two different services for each application to facilitate the use of authentication and push messages. Then we can link the same database to the two App Service - Mobile ? But this would leave the issue of the notification hubs not having the same registrations ?

推荐答案

我不认为你可以连接到一个Azure的移动应用程序多个应用程序。您可以为移动应用程序的设计是一个单独的应用程序后端在不同的平台但是对于同一个平台而不是多个应用程序连接相同的应用程序。
选中该反馈请求。
<一href=\"https://feedback.azure.com/forums/218849-notification-hubs/suggestions/3821272-push-notifications-for-multiple-apps\" rel=\"nofollow\">https://feedback.azure.com/forums/218849-notification-hubs/suggestions/3821272-push-notifications-for-multiple-apps

I dont think you can have more than one apps connected to one Azure mobile app. You can connect same app on different platforms but not multiple applications for same platform as Mobile app is designed to be an individual app back end. Check this feedback request. https://feedback.azure.com/forums/218849-notification-hubs/suggestions/3821272-push-notifications-for-multiple-apps

这篇关于同桌,通知中心和服务器两个应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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