문제

I generated a large (31K items) pivot collection whose cxml file exceeds 21 megs. I would need to host this on a website however 21 megs is going to take a long time for the client silverlight pivot viewer control to load. I intend to use gzip compression to serve the file however is there anything better that can be done?

Is there a way to compress a Silverlight Pivot Collection's cxml file?

도움이 되었습니까?

해결책

Using compression on the web server is your only real bet.

However, 31k is not going to work very well. Typically, if you break the 3k mark you start seeing bad performance, slow load times, etc.

I would look at your data and see if there is a way to break it up. Either linking collections, creating hierarchies, etc. That would get your users a better experience.

Sorry there isn't a better answer for you.

다른 팁

Not sure if you are using SL5 version, but if so, I've found that the client doesn't allow the server to send a compressed version of the CXML file. However, Tony is right in saying that 31K items is WAY to many for PivotViewer to deal with. Consider implementing a "gate" that allows you to generate a subset of those items (simulate a user already selecting values one of the facets)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top