棱镜,XAP和动态加载 [英] Prism, XAP and dynamic loading

查看:134
本文介绍了棱镜,XAP和动态加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我一直在阅读远程模块的动态加载.一切似乎都非常简单,但是,我似乎没有发现任何文档可以解释这些远程"模块的存在位置.

它们与相同"项目中的对象是远程的吗?

XAP文件是否需要放置在特定的位置,有人可以帮我清除一下吗?

Hi there, I''ve been reading the dynamic loading of remote modules. Everything seems pretty straight forward, however, there doesn''t seem to be any documentation I''ve noticed that explains where these "remote" modules can exist.

Are they remote as in the "same" project back on the server or ANY server?

Do the XAP files need to be placed in a specific location, can someone please clear this one up for me?

推荐答案

是的.您需要将它们放置在网站中.

例如:您具有以下Silverlight.

1. Project.Shell
2. Project.Module1
3. Project.Module2

,您有一个名为Project.Shell.Host的ASP.NET项目.

您需要放入Project.Shell.xap,Project.Module1.xap和Project.Module2.xap.在Project.Shell.Host中要显示您的Silverlight项目.

希望它会有所帮助.

Yes. You need to place them in web site.

For example: You have the following Silverlight.

1. Project.Shell
2. Project.Module1
3. Project.Module2

and you have ASP.NET project called Project.Shell.Host.

You need to put Project.Shell.xap, Project.Module1.xap and Project.Module2.xap in Project.Shell.Host that you want to show your Silverlight project.

Hope it helps.


这篇关于棱镜,XAP和动态加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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