将第三方interop导入Metro应用程序 [英] Importing third party interops into a Metro application

查看:73
本文介绍了将第三方interop导入Metro应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有
挂钩到资源管理器的企业级应用程序。展望未来我希望能够使用Metro界面作为替代选项。实际上更好的选择
  Metro界面正是我多年来向客户讲道的。简化的界面,减少用户输入所需的元数据。它非常棒,具有企业级应用所需的全新理念。
它可以弥补手机上的应用程序和真正的企业级应用程序之间的差距在桌面上使用。所有这些都是您需要的云,或者让我们用它的真实名称来调用Cloud
。它只是一个集中式数据中心。你知道,我们用新名称已经有15年了。

I currently have an enterprise level application that hooks into Explorer. Going forward I would love to be able to use a Metro interface as an alternate option. Better option actually.  The Metro interface is exactly what I’ve been preaching to my clients for years. Simplified interface, reduction of metadata required for user input. It’s wonderful and has the exact new philosophy needed for enterprise level applications. It could bridge the gap between the apps on phones and real enterprise level applications that are used on the desktop. All of this is what you need for the Cloud, or let’s call the Cloud by its real name. It’s just a centralized datacenter. You know, the same thing we have had for 15 years with a new name.

在我的例子中,我们已经有.NET interops和暴露的API。通过这些API,我可以访问SQL \ Oracle元数据,调用Office应用程序并基于3层体系结构下载文档,在集中式数据中心体系结构(云)中,桌面性能实际上需要

我读过的所有内容到目前为止,由于Metro的限制,这基本上是不可能的。但是我无法相信微软会以这种方式限制Metro。这将限制Metro
创建大多数玩具应用程序,这些应用程序仅提供有限的功能,如天气应用程序,查看图片或从网络服务器获取股票或博客的订阅源。您将在手机上使用的相同基本应用程序。幸运的是,Windows也安装在
台式机上(如地球的99%),虽然玩具应用程序在手机上很有趣,在某些情况下是PC,但它们无法提供桌面用户所需的功能。  Metro功能使Windows 8变得更好。没有它只是Windows
7。

现在,我知道我可以使用VS2012或Blend中的XMAL界面将此应用程序构建为普通桌面应用程序。当然,但你失去了很酷的Metro功能,如Charms,
AppBar,Suspend和Terminate功能,能够在另一个应用程序旁边运行另一个Metro应用程序。

我还没找到在新VS RC发布后提出这个问题。所以我拼写出来。

如何我可以在Metro应用程序中包含自定义的.NET interops,如上面列出的那些吗?

或者这只是平的不可能的。对于在沙盒之外运行的任何自定义.NET互操作,不会像我拥有的​​那样支持任何支持。
  没有SQL数据库访问计划,没有注册表访问权限。您可以在沙箱中运行什么,也可以通过Web服务访问?这是底线吗?

Or is this just flat out impossible. There isn’t going to be any support for any custom .NET interops that run outside of the sandbox like the ones I have.  No plans for SQL database access, No registry access. Just whatever you can run from within the sandbox or access from via web service? Is that the bottom line?

我是真的希望有人在这里说话并告诉我,我要么完全错了,而且我已经错过了一些明显的观点,或者我只是在思考整个概念。

推荐答案

嗨World_D,

Hi World_D,

我不是确定你在这里的第三方互操作意味着什么。您可以在应用包中包含第三方控件或库,只要第三方库满足Metro风格应用的要求即可。您无法使用应用程序包中未包含
的控件或库。

I'm not sure what exactly you mean by third party interops here. You can include 3rd party controls or libraries in your app package so long as the 3rd party libraries meet the requirements for Metro style apps. You cannot use a control or library which isn't included in your app package.

Metro风格应用程序无法与桌面应用程序或系统交互在他们的沙箱之外。

There is no supported way for Metro style apps to interop with desktop apps or with the system outside of their sandbox.

他们可以通过与其他Metro风格应用的合同进行沟通。在系统外,他们可以通过网络连接到Web服务等。

They can communicate via contracts with other Metro style apps. Off of the system they can connect to web services, etc. over the network.

- Rob


这篇关于将第三方interop导入Metro应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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