RSS图片
wpf
If you are starting to get into integrating web services with Silverlight, you'll notice that you have to have a cross domain policy file in place on the target server, that is to say, the server hosting the service you want to implement.  There are some public web services (Flickr, YouTube, Digg, etc.) that already have these files in place for Flash, but implement in a slightly different wa......
作者:发表于:2009/10/23 点击:328 评论:0
http://msdn.microsoft.com/en-us/library/cc645032(VS.95,printer).aspx  ...
作者:发表于:2009/10/23 点击:40 评论:0
今天在做silverlight访问JSon数据的时候老是出现错误,才发现是跨域的问题,因此将这方面的内容整理一些,列了出来 SilverLight 出于对安全性的考虑默认情况下对URL的访问进行了严格的限制,只允许访问同一子域下的URL资源。下表列出了Silverlight 2.0 中 URL 访问规则:   WebClient对象 Media、images、ASX XAML 文件、Font 文件 流媒体 允许的协议 HTTP, HTTPS HTTP, HTTPS, FILE HTTP, HTTPS, FILE HTTP 跨协议访问 不允许 不允许 不......
作者:发表于:2009/10/23 点击:390 评论:0
Silverlight 跨域的策略文件 clientaccesspolicy.xml  <?xml version="1.0" encoding="utf-8"?><access-policy>    <cross-domain-access>        <policy>            <allow-from>               ......
作者:发表于:2009/10/23 点击:1389 评论:0
反编译.NET应用程序已经成为一种很常见的工作方法,而类似Reflector这样的工具使得这项工作更容易了。反编译一个应用程序的原因通常包括了学习编译器是如何转换代码,避开程序库的限制,或直接窃取他人的成果。在浏览器世界里,普遍认为 "查看源文件"是学习如何编码的一个主要手段。 撇开法律上的影响,反编译Silverlight 2应用程序是一件很容易的事情。Silverlight应用程序的所有文件都存储在一个扩展名为XAP的zip压缩文件里。它包含了应用程序所需的所有 XAML、DLL和config...
作者:发表于:2009/10/23 点击:184 评论:0
Microsoft’s WPF datagrid has a lot of properties and styles you can tweak to get it looking right (if you are a designer).  Below, find my cheat sheet to styling the grid.   It is not 100% comprehensive but it gets you far and has a few very useful tips & gotchas. At the highest level in the DataGrid , you can change the look & feel by setting some of these: ......
作者:发表于:2009/03/30 点击:588 评论:0
Intro If you haven't already, you can download the DataGrid v1 bits and source here.  DataGridComboBoxColumn has had a make-over since the CTP release.  In particular, the whole data binding story has been updated so that you can accomplish basic ComboBox tasks that before required some tedious workarounds.  While other stock columns such as DataGridTextColumn and DataGridCheckBoxC......
作者:发表于:2009/03/30 点击:3037 评论:0
from msdn:http://msdn.microsoft.com/zh-cn/library/aa970069.aspx 文件  绝对 pack URI   资源文件 — 本地程序集  Uri uri = new Uri("pack://application:,,,/ResourceFile.xaml", UriKind.Absolute);   子文件夹中的资源文件 — 本地程序集  Uri uri = new Uri("pack://application:,,,/Subfolder/ResourceFile.xaml", UriKind.Absolute);   资源文件 &mdas......
作者:发表于:2009/03/28 点击:1073 评论:0