3

想知道独立存储站点设置和应用程序设置之间的区别吗?何时在 Silverlight 的应用程序中使用什么。

4

2 回答 2

1

站点和应用程序以及在其上构建的相应设置都有独立的存储空间。

站点存储在从同一域运行的所有应用程序之间共享,其中应用程序存储仅在从同一 uri 运行的所有应用程序之间共享 - 通常只有一个应用程序。

只要我相信用户没有明确删除它们,两者都存在。

于 2012-06-16T15:30:46.990 回答
0

As per MSDN says and on my previous experience:

SiteSettings are specific to a user, but are shared across applications in the same sub-domain. For example, an application at http://www.contoso.com/site1/application.xap will share SiteSettings with an application at http://www.contoso.com/site2/application.xap. However, SiteSettings for applications at www.contoso.com/ will be isolated from applications at dev.contoso.com/ because they are hosted on different sub-domains.

So you can use two different XAPs on the same domain but on application you will be isolated from that.

于 2013-01-03T09:54:21.943 回答