Silverlight网站的性能 [英] Silverlight web site performance

查看:74
本文介绍了Silverlight网站的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Wpf 开发人员,但我对 silverlight 很感兴趣.我使用 C# Silverlight 结束了设计网站的一切准备工作如果我没有在xap中放入WMA(任何媒体或音乐),但是当我在 .xap 网站中甚至放音乐时,打开速度非常慢,并且Lendtop网站上的第二个问题很好地显示,但是当请尝试在其他PC"或"Leptop TextBlog"上重新设置我的网站"的大小或外观不正确.这是我的网站地址 http://carolineolivia.com
我做错了.为提高我的 Silverlight 网站(.xap)的性能我必须做的事情是为您的Hellp提供22,9 MB Thx

Im Wpf Developer but I am Fun of silverlight I Desided Design Web Site With C# Silverlight Everthings ok if Im Not Put WMA(Any media or music) in xap But When I Put Even Music in .xap Web Site Very Slow Opening and 2.nd Problem is on My Leptop web site verywell shown But When I try My Web Site at Another Pc or Leptop TextBlog Resized or Looking Not Properly. Here is My Web Site Adress http://carolineolivia.com
What I Do Wrong. And What ı must Do To Performance Up My Silverlight Web Site (.xap) is 22,9 MB Thx For Your Hellp

推荐答案

您通过将模块分解为较小的xap文件,可以稍微重新设计网站.
诸如Microsoft Prism之类的东西可以帮助您做到这一点.
You can redesign your site a little by breaking up your modules into smaller xap files.
Something like Microsoft Prism can help you do this.


我在我的一个Silverlight应用程序中遇到了同样的问题,即xap文件的大小过大.然后我尝试了这些:

http://blog.silverlightxap.com/2011/01/xap-file- Optimization-techniques-for.html [ ^ ]

http://msdn.microsoft.com/en-us/library/dd833069 (v = vs.95).aspx [
I was facing the same issue of large size of xap file in one of my silverlight application. Then I tried these:

http://blog.silverlightxap.com/2011/01/xap-file-optimization-techniques-for.html[^]

http://msdn.microsoft.com/en-us/library/dd833069(v=vs.95).aspx[^]

hope it helps :)


这篇关于Silverlight网站的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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