Silverlight 技术 论坛讨论微软最新的 Silverlight 技术!Sliverlight自测获奖名单新鲜出炉,看看有没有你! 版主:Shiny Zhu,guitarpark,八爪熊© 2009 Microsoft Corporation。保留所有权利。Fri, 27 Nov 2009 23:11:19 Zc0de1d7e-4aac-4d1b-93fe-3686845edc9ahttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/d1a38e40-379e-433d-a943-412f1c886a57http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/d1a38e40-379e-433d-a943-412f1c886a57升宝http://social.microsoft.com/Profile/zh-CN/?user=%u5347%u5b9d怎样获得重载后返回的数据?<p>服务端:<br/>        [WebMethod]<br/>        public string test()<br/>        {<br/>             return &quot;ok&quot;;<br/>        }<br/><br/>SL端:<br/>string aa()<br/>       {   <br/>            string value = null;<br/><br/>            sunWeb.WebService1SoapClient ss = new sunWeb.WebService1SoapClient();<br/>            ss.testAsync();<br/>            //            ss.select_Completed += new EventHandler&lt;Sunpro.sunWeb.testCompletedEventArgs&gt;(ss_aa);<br/><br/>           return value;<br/>        }<br/><br/>问题是:<br/><br/>     当调用aa()时怎样让aa()返回&quot;ok&quot;  ?</p> <p><br/>大家一般是用什么办法的?</p>Fri, 27 Nov 2009 23:11:19 Z2009-11-27T23:11:19Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/ebfeb532-f6cc-4217-8577-0fa1ae59ee1bhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/ebfeb532-f6cc-4217-8577-0fa1ae59ee1b懵盛盛http://social.microsoft.com/Profile/zh-CN/?user=%u61f5%u76db%u76db如何遍历DataGrid的行?在使用DataGrid的过程中,有时需要遍历DataGrid的行,但没有找到相关属性或方法。<br/>请各位老大指教!<br/><br/>简明需求:<br/>在DataGrid中显示一个CheckBox列,DataGrid外部有一个按钮,点击按钮后获取该DataGrid中的所有CheckBox为True的DataContextWed, 10 Jun 2009 10:36:53 Z2009-11-27T14:16:44Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/8be60890-e0f0-4188-bf3f-14436a34e654http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/8be60890-e0f0-4188-bf3f-14436a34e654升宝http://social.microsoft.com/Profile/zh-CN/?user=%u5347%u5b9dsilverlight4如何打开串口?本人想在浏览器外用串口。<br/>能否通过 ComAutomationFactory.CreateObject  来使用 MSCOMM 控件 ? <br/>Fri, 27 Nov 2009 09:11:45 Z2009-11-27T09:11:45Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/2b3f1eec-9e97-4fec-aaf3-4d35813b3a97http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/2b3f1eec-9e97-4fec-aaf3-4d35813b3a97升宝http://social.microsoft.com/Profile/zh-CN/?user=%u5347%u5b9dsilverlight4播放视频的问题安装了windows media server , 缺省配置 。 在开发机上用mms://192.168.10.8/my 能够播放 ,<br/><br/>但为什么在开发机上无反应?(本地immortality.wmv能够播放)<br/><br/>&lt;Canvas x:Name=&quot;tv&quot; Background=&quot;#FFF7DCDC&quot;&gt;<br/>   &lt;Button x:Name=&quot;tv_play&quot; Content=&quot;播放&quot; Height=&quot;29&quot; Canvas.Left=&quot;28&quot; Canvas.Top=&quot;288&quot; Width=&quot;85&quot; Click=&quot;tv_play_Click&quot;/&gt;<br/>   &lt;MediaElement x:Name=&quot;tv_2&quot; Height=&quot;195&quot; Canvas.Left=&quot;242&quot; Source=&quot;/immortality.wmv&quot; Stretch=&quot;Fill&quot; Canvas.Top=&quot;8&quot; Width=&quot;198&quot; AutoPlay=&quot;False&quot;/&gt;<br/>   &lt;TextBox x:Name=&quot;tv_url&quot; Height=&quot;23&quot; Canvas.Left=&quot;41&quot; TextWrapping=&quot;Wrap&quot; Text=&quot;mms://192.168.10.8/my&quot; Canvas.Top=&quot;235&quot; Width=&quot;374&quot;/&gt;<br/>  &lt;/Canvas&gt;<br/><br/><br/>  private void tv_play_Click(object sender, System.Windows.RoutedEventArgs e)<br/>  {<br/>            tv_2.Source = new Uri(tv_url.Text.Trim());<br/>            tv_2.Play();<br/>  }<br/><br/><br/>Fri, 27 Nov 2009 03:28:29 Z2009-11-27T05:58:59Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/fcd67b9e-92fc-4493-b9e1-2baa3216cac2http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/fcd67b9e-92fc-4493-b9e1-2baa3216cac2清风落叶http://social.microsoft.com/Profile/zh-CN/?user=%u6e05%u98ce%u843d%u53f6在Blend 3中怎样加超级链接?请教哈:Blend 3中给一个TextBlock或者其他的元素加上超级链接? Fri, 27 Nov 2009 03:15:55 Z2009-11-27T05:51:59Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/194c2024-945b-45b7-b4f2-e614692ec6c5http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/194c2024-945b-45b7-b4f2-e614692ec6c5wowdd1http://social.microsoft.com/Profile/zh-CN/?user=wowdd1******苦求郭晓颖mm联系方式*******<p align=left><font face=Arial size=3>就是讲 微软Silverlight开发团队零距离接触系列课程(2):用Silverlight快速构建网络应用 的那个女的啊</font></p> <p align=left><font size=3></font> </p><font size=3>有谁认识她吗?</font>     真是太迷人啦    <img src="http://forums.microsoft.com/china/WebResource.axd?d=NySzF1eivP_rMoc50GQJzcvS4MHMOEKwYrCIgDtzuzlw7GsNki3H_INlfYaLgkxFCLVvZNcnIJT9x2uZNvyuIGWah9F3g0vyQYx7NayjHus1&amp;t=633337194230757564">   本人qq   512014103 (绝非色狼)Fri, 02 May 2008 16:27:50 Z2009-11-27T02:51:12Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/1f575bde-cfc2-4071-995c-70a4fe88e599http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/1f575bde-cfc2-4071-995c-70a4fe88e599怎么样在xml文件中访问文本文件http://social.microsoft.com/Profile/zh-CN/?user=%u600e%u4e48%u6837%u5728xml%u6587%u4ef6%u4e2d%u8bbf%u95ee%u6587%u672c%u6587%u4ef6求 silverlight播放mpg格式视频解决方案我在网上查到说是能够实现播放mpg格式文件   但是得在服务器上面装一个什么插件。。。<br/>但是那个人具体的没说!!<br/>我现在正在做视频网站,用自己写的一个silverlight播放器,怎么才能够实现播放服务器上面的额mpg格式文件啊!<br/>如果谁要是知道支持其他格式视频的解决方案  也可以说说啊!<br/>Fri, 27 Nov 2009 02:45:26 Z2009-11-27T05:17:09Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/5822bd29-3e09-4e2e-8973-7a3cd7469ea6http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/5822bd29-3e09-4e2e-8973-7a3cd7469ea6Felixyanhttp://social.microsoft.com/Profile/zh-CN/?user=FelixyanPollingDuplex模式下,如何stop服务器端push数据<p align=left><font style="background-color:#c7edcc" face=Arial size=2>我的应用场景是:有大量的数据需要从server端传到client端,所以要分批传输,当所有的数据传输完毕后,就关闭这个deplex WCF。</font></p>Fri, 12 Sep 2008 02:23:23 Z2009-11-27T02:02:09Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/cd285d23-0c51-4156-bbd3-c6d2301939eehttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/cd285d23-0c51-4156-bbd3-c6d2301939eeGrant Liuhttp://social.microsoft.com/Profile/zh-CN/?user=Grant%20Liusl4 的 ImageBrush 赋值后图像没有显示,在sl3 上可以了<p>由于测试 摄像头和麦克风,在使用 sl 4, 可是 ImageBrush 这儿出现问题了,那位帮助看看 谢谢<br/><br/>我图片链接保存在一个数组里面,也定义了一个  ImageBrush 数组,代码如下,在sl3 中可行<br/><br/>        private int imageIndex = -1;<br/>        private ImageBrush[] imageBrushArray;<br/>        private string[] imageArray;<br/><br/><br/>            int brushIndex = imageIndex;<br/>            for (int i = 0; i &lt; 7; i++)<br/>            {<br/>                imageBrushArray[i].ImageSource = new BitmapImage(new Uri(imageArray[brushIndex], UriKind.RelativeOrAbsolute));<br/>                brushIndex++;<br/>                if (brushIndex == imageArray.Length)<br/>                {<br/>                    brushIndex = 0;<br/>                }<br/>            }</p>Tue, 24 Nov 2009 07:36:55 Z2009-11-27T01:54:29Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/60d5d9ac-1bfc-4a29-84ef-72c6a470fffbhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/60d5d9ac-1bfc-4a29-84ef-72c6a470fffb懵盛盛http://social.microsoft.com/Profile/zh-CN/?user=%u61f5%u76db%u76dbImage加载图片的问题<p>SL3:<br/>&lt;Image x:Name=&quot;img_Traffic&quot; Source=&quot;<a href="http://192.168.1.7:8080/axis2/ImageFile/2008/2.jpg&quot;/">http://192.168.1.7:8080/axis2/ImageFile/2008/2.jpg&quot;/</a>&gt;这样没问题。<br/>但是如果:(Loaded里)<br/>string imageurl = &quot;<a href="http://192.168.1.7:8080/axis2/ImageFile/2008/2.jpg">http://192.168.1.7:8080/axis2/ImageFile/2008/2.jpg</a>&quot;;<br/>Uri uri = new Uri(imageurl);<br/>BitmapImage bi = new BitmapImage(uri);<br/>img_Traffic.Source = bi;<br/>就无效,参考了这个帖子后,也没什么帮助……<br/>没有任何图片显示。</p>Thu, 19 Nov 2009 13:18:13 Z2009-11-27T01:35:46Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/f6521007-79db-4349-b3bb-e27b29c126f3http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/f6521007-79db-4349-b3bb-e27b29c126f3http://social.microsoft.com/Profile/zh-CN/?user=%u53f6请问silverlight4 RTL right to left 是什么意思?silverlight RTL right to left 是什么意思?<hr class="sig">aaaaThu, 26 Nov 2009 08:48:04 Z2009-11-26T19:36:54Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/0578684c-d659-4a52-b37c-b0f45cb32292http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/0578684c-d659-4a52-b37c-b0f45cb32292ahkinghttp://social.microsoft.com/Profile/zh-CN/?user=ahking想用silverlight开发一个漂亮的曲线绘制程序,有什么教程么包括坐标系,曲线,用户交互设定坐标范围,曲线颜色,导出图片等 vs2010+silverlight3,4;曲线数据从数据库获取 我安装了vs2010,感觉开发silverlight好慢啊Thu, 26 Nov 2009 08:11:31 Z2009-11-26T08:11:31Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/24da55a0-5684-4315-9928-b0b148b99b45http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/24da55a0-5684-4315-9928-b0b148b99b45TFSofthttp://social.microsoft.com/Profile/zh-CN/?user=TFSoft同步方式下如何动态更新UI界面?能否办到,请高手回答,哪怕答一个“否”字,同样感谢。1)我的要求就是实现ShowWait()子程序。<br/>2)程序的逻辑结构大致如下,请不要对逻辑结构进行修改。<br/><br/>'--------------------------------------------------------<br/>'假设页面有一TxtStatus的文本框元素<br/>'--------------------------------------------------------<br/>Sub Start()<br/>     Call ShowWait()      '实际上,这里的UI界面得不到更新,不会显示“正在处理数据,请稍候....”<br/>     Call SyncTask()<br/>     Call ShowReady()   ’因为整个工作结束,因此这里会显示出“就绪”<br/>End Sub<br/>Sub SyncTask()<br/>     '这里通过同步模式访问Web数据库,可能需要耗费比较长的时间<br/>     '我不喜欢SL的异步模式,所以用XmlHttp的同步模式实现对<br/>     'Web数据库的访问<br/>End Sub<br/>Sub ShowWait()<br/>    TxtStatus.Text = &quot;正在处理数据,请稍候....&quot;<br/>End Sub<br/>Sub ShowReady()<br/>    TxtStatus.Text = &quot;就绪&quot;<br/>End SubMon, 23 Nov 2009 04:45:26 Z2009-11-27T01:47:49Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/81bee3b4-8e82-4829-9fd8-ddf44e24d1f5http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/81bee3b4-8e82-4829-9fd8-ddf44e24d1f5Grant Liuhttp://social.microsoft.com/Profile/zh-CN/?user=Grant%20Liu急等: sl调用wcf 出现 跨域错误,连个跨域文件都有,在2003下可以,换到2008了不行<p>大家好:<br/>用sl调用wcf,在2003下一直都可以,现在部署到2008下,用域名 <a href="http://ah.tb169.com/whiteboard/whiteboardservice.svc">http://ah.tb169.com/whiteboard/whiteboardservice.svc</a> , 调用后抛出错误:<br/><br/>尝试向 URI“http://ah.tb169.com/whiteboard/whiteboardservice.svc”发出请求时出错。这可能是由于试图以跨域方式访问服务而又没有正确的跨域策略,或策略不适用于 SOAP 服务。您可能需要与该服务的所有者联系,以发布跨域策略文件并确保该文件允许发送 SOAP 相关的 HTTP 标头。出现此错误也可能是由于使用的是 Web 服务代理中的内部类型而没有使用 InternalsVisibleToAttribute 属性。有关详细信息,请参阅内部异常。<br/><br/>如果换到 2003 的域名就可以,请帮助<br/><br/>谢谢</p>Wed, 25 Nov 2009 02:13:34 Z2009-11-25T07:10:21Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/16fd5224-05c2-4d25-8681-2bbce1cf722bhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/16fd5224-05c2-4d25-8681-2bbce1cf722bmubaihttp://social.microsoft.com/Profile/zh-CN/?user=mubaiSL3 DataGrid问题代码: <br/> &lt;data:DataGrid x:Name=&quot;LastUpdateGrid&quot; AutoGenerateColumns=&quot;False&quot; HeadersVisibility=&quot;None&quot;&gt; <br/>   &lt;data:DataGrid.Columns&gt; <br/>       &lt;data:DataGridTextColumn Header=&quot;AddTime&quot; Binding=&quot;{Binding AddTime}&quot; /&gt; <br/>       &lt;data:DataGridTemplateColumn Header=&quot;Name&quot;&gt; <br/>           &lt;data:DataGridTemplateColumn.CellTemplate&gt; <br/>                 &lt;DataTemplate&gt; <br/>                     &lt;HyperlinkButton Content=&quot;{Binding GameName}&quot; NavigateUri=&quot;/{pageName}&quot; TargetName=&quot;ContentFrame&quot; /&gt; <br/>                 &lt;/DataTemplate&gt; <br/>           &lt;/data:DataGridTemplateColumn.CellTemplate&gt; <br/>         &lt;/data:DataGridTemplateColumn&gt; <br/>     &lt;/data:DataGrid.Columns&gt; <br/> &lt;/data:DataGrid&gt; <br/> <br/> private void FillLastUpdateGrid() <br/> { <br/>     List &lt;Game&gt; GameData = new List &lt;Game&gt;(); <br/>     GameData.Add(new Game() { GameName = &quot;Tetris&quot;, AddTime = DateTime.Now.ToString(&quot;yyyy-MM-dd&quot;) }); <br/>     GameData.Add(new Game() { GameName = &quot;Piano&quot;, AddTime = DateTime.Now.ToString(&quot;yyyy-MM-dd&quot;) }); <br/>     GameData.Add(new Game() { GameName = &quot;Fly&quot;, AddTime = DateTime.Now.ToString(&quot;yyyy-MM-dd&quot;) }); <br/>     GameData.Add(new Game() { GameName = &quot;Match&quot;, AddTime = DateTime.Now.ToString(&quot;yyyy-MM-dd&quot;) }); <br/>     LastUpdateGrid.ItemsSource = GameData; <br/> }<br/> <br/> 问题: <br/> 1、我只绑定了2列,但显示的是3列,第1列是AddTime,第2列是Name,第3列无列名,无内容,是一个空列,请问是什么原因? <br/> 2、自定义超链接数据列,如何指定转向的页面NavigateUri=&quot;/?&quot;? 既然是用DataGrid绑定,转向的页面不能写死,必须是一个变量,类似{pageName}之类的,但 NavigateUri=&quot;/{pageName}&quot; 这样写是不行的,程序不把{pageName}识别为一个变量。我可以让页面名称与绑定的Name属性值相同,该怎么设置这个变量?Wed, 25 Nov 2009 03:49:56 Z2009-11-25T07:07:30Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/06693937-a960-42a5-9ebf-1be8cea6efa4http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/06693937-a960-42a5-9ebf-1be8cea6efa4风_云http://social.microsoft.com/Profile/zh-CN/?user=%u98ce_%u4e91国人编写的首本Silverlight3.0图书诞生《银光志--Silverlight 3.0开发详解与最佳实践》(附电子书下载)<p>     大家好,笔者做为一名Silverlight技术的爱好者和狂热份子,学习和从事Silverlight项目开发已有3年多的时间了,回首2007的Silverlight 1.0,当时Silverlight主要依赖JavaScript编写后台代码,团队开发全部项目都是在一堆堆JS中诞生的,项目中遇到的问题数不胜数,走了很多弯路。</p> <p>      如今在Silverlight 3.0正式版的到来,我们不得不感到由衷的欣慰,因为现在已经有越来越多的国内外企业将Silverlight应用到自己的产品系统中,并且对Silverlight技术产生了“好感”,而不仅仅是望而却步,这样一来国内的Silverlight开发者们就有了施展才华的空间。</p> <p>      为了让喜欢Silverlight的朋友能快速的熟悉它,将Silverlight用起来,成为自己的所长,我花了几乎一年的时间来筹备撰写这本《银光志--Silverlight 3.0开发详解与最佳实践》,很荣幸它可以成为国人手里编著的第一本Silverlight 3.0技术书籍。</p> <p>      其实Silverlight不仅仅是RIA领域的一门学问或一种语言,因为它包含了太多和.NET相关的知识,对于学习者来说,需要同时学习和掌握之门知识并不容易。</p> <p>      有人说学习Silverlight就是学会使用XAML对象,其实到这步你只学会了一半。为什么这么说呢?其实,了解Silverlight的XAML你只是看到的Silverlight表层的东西,就像盖房子一样,你学会XAML之后,你可以看出来一栋房子是用什么材料建成的。但是让你再建一个同样的房子,你就无从下手了。本书要完成的使命就是然读者学会XAML的同时,在每个章节都配套一个比较完整的、有一定针对性和应用价值的范例,例如:Silverlight唱片商店、Silverlight整站布局、Silverlight用户管理系统、Silverlight留言簿等。</p> <p>      对于一些B/S程序员来说,这些看似在B/S应用程序中简单的范例,在Silverlight中你会发现它们十分相似,但实现的过程确截然不同。因为这是RIA开发,RIA中不但是简单的控件堆砌,还有创意、程序算法等,它们是一个优秀Silverlight应用程序的灵魂。笔者尽可能的在《银光志--Silverlight 3.0开发详解与最佳实践》里的范例中提供让读者深入了解开发经验和学习有针对性的相关技术,例如:LINQ、WCF、SOCKET等。</p> <p> </p> <p>相比生涩的MSDN和Silverlight官方文档而言,一本通俗易懂的Silverlight书籍正是Silverlight开发人员最需要的东西。相信不论你是一名有B/S开发经验的程序员,还是从事FLASH、WINFORM,甚至是UI设计师,都可以通过本书在最短的时间内成为一名Silverlight技术的行家高手!</p> <img src="http://p.blog.csdn.net/images/p_blog_csdn_net/dotfun/EntryImages/20091122/book.jpg" alt=""> <img src="http://images.cnblogs.com/cnblogs_com/slteam/WindowsLiveWriter/Silverlight3.0_1CC6/image_thumb_17.png" alt=""> <p>目录和介绍:<a href="http://www.china-pub.com/193091">http://www.china-pub.com/193091</a></p> <p>电子版下载:<a href="http://www.china-pub.com/computers/common/mianfeisd.asp?id=193091">http://www.china-pub.com/computers/common/mianfeisd.asp?id=193091</a><br/><br/>随着Silverlight 3的发布,Silverlight应用为互联网门户及企业应用带来了全新的用户体验和更广阔的商业模式。多年来风云一直紧密关注微软的Silverlight技术成长,从事Silverlight商业产品和Silverlight教学已久,经验丰富,认真而负责。本书针对Silverlight的最新版本,讲解通俗易懂,实例丰富而详细,凝聚了作者的多年经验和技巧,是风云对广大Silverlight爱好者的精心奉献。这本书的问世将为国内Silverlight开发者答疑解惑,为开发者提供Silverlight应用的有益参考。.<br/>——微软(中国)有限公司平台及开发合作部技术经理 黄继佳<br/><br/>本书以Silverlight的预备知识开篇,最后以具体的案例分析介绍全书,全面而且深入的讲解了Silverlight技术的各个知识点,在广度和深度上都恰到好处。<br/>——蓝色理想社区Silverlight版主 Silverlight MVP 王喆<br/><br/>风云从Silverlight1.0一直走到现在,现在终于把自己以前积累的经验总结和精炼拿出来与广大的Silverlight爱好者进行分享。本书简明扼要介绍了Silverlight 3各个方面,如果准备踏入Silverlight殿堂的朋友,愿此书能与你相伴走过一段欢乐的旅程。..<br/>——微软论坛Silverlight版主 IT最有影响力开发者 八爪熊<br/><br/>作为国内Silverlight技术的先行者,风云将自己在Silverlight开发积累的大量经验凝结于此书之中,包含Silverlight项目开发中常用的各个方面。阅读此书定会使你受益匪浅。本书在介绍基础的同时辅以许多风云原创的实例应用,对读者学习的过程产生了一定程度的指导意义,一般来说,基础类和实例类的书很难做到两全齐美,但这本书恰倒好处的做到了这一点。<br/>——中软国际 高级开发工程师 姜子赫<br/><br/>认识风云是在MS一个小型技术论坛上,席间总看他积极与同行交流技术心得、提出问题,无不展现着一种对技术的高涨热情。本书有机将Silverlight基础概念和实践实例结合起来,读者可以在学习编写实例的同时又掌握了XAML、LINQ等的基础知识,阅读这本书会使你感到Silverlight编程是一件简单快乐的事情。...<br/>——人民网 研发工程师 张旖旎</p> <p>希望努力能为大家快速掌握Silverlight提供一条捷径!<br/><br/>——风云<br/><br/>Silverlight博客:<a href="http://blog.csdn.net/dotfun">http://blog.csdn.net/dotfun</a></p> <hr class=sig> <p>My blog: <a href="http://blog.csdn.net/dotfun">http://blog.csdn.net/dotfun</a> <a href="http://dotfun.cnblogs.com'">http://dotfun.cnblogs.com</a></p> <p>My contact: QQ:372900288 E-mail:372900288@qq.com msn:sellnet007@hotmail.com</p>Sat, 21 Nov 2009 17:44:53 Z2009-11-25T03:58:26Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/0029c331-1c78-4a3e-a014-7e74e5d875bahttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/0029c331-1c78-4a3e-a014-7e74e5d875baxxyxxyhttp://social.microsoft.com/Profile/zh-CN/?user=xxyxxySL3 在运行环境下出现奇怪的问题,请帮忙看看<p>情况是这样  我在开发的时候运行测试一点问题没有,但是放在服务器上就出现错误,结果 在一台笔记本上运行也发现了错,但是错误的地方是我百思不得其解,错误代码如下</p> <div style="color:black;background-color:white"> <pre> DbCommand cmd = <span style="color:blue">new</span> SqlCommand(); <span style="color:blue">using</span> (DbConnection conn = <span style="color:blue">new</span> SqlConnection() ) { conn.ConnectionString = connectionString; PrepareCommand(cmd, conn, <span style="color:blue">null</span>, cmdType, cmdText, commandParameters); <span style="color:blue">int</span> val = cmd.ExecuteNonQuery(); cmd.Parameters.Clear(); <span style="color:blue">return</span> val; } </pre> </div> DbCommand cmd = <span style="color:blue">new</span> SqlCommand();<br/><span style="color:blue">using</span> (DbConnection conn = <span style="color:blue">new</span> SqlConnection() )<br/>这两个部分出错,报下面错误<br/>throw new Error(&quot;Unhandled Error in Silverlight 2 Application 操作过程中出现异常,结果无效。有关异常的详细信息,请查看 InnerException。   位于 System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()\n   位于 EdtorRATE.EditService.insertRateDataCompletedEventArgs.get_Result()\n   位于 EdtorRATE.Page.editSer_insertRateDataCompleted(Object sender, insertRateDataCompletedEventArgs e)\n   位于 EdtorRATE.EditService.RartDaoSoapClient.OninsertRateDataCompleted(Object state)&quot;);<br/><br/><br/>这个究竟是怎么回事呢,是不是环境的问题?Mon, 23 Nov 2009 07:26:05 Z2009-11-24T01:08:09Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/08f2b6c1-0026-4dcf-bdb6-d0389e806ecehttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/08f2b6c1-0026-4dcf-bdb6-d0389e806eceJ.Mottohttp://social.microsoft.com/Profile/zh-CN/?user=J.Motto安装express blend时出现问题<p>在不知的情况下删除了MSOCache与ProgramData文件,然后express blend 2(sp1)就不能用了,<br/>重装时老是出现安装express blend2组件时错误。</p>Tue, 25 Aug 2009 18:20:26 Z2009-11-23T16:05:36Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/b5470817-ed70-43ff-bca3-f7126be37458http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/b5470817-ed70-43ff-bca3-f7126be37458yeminggenghttp://social.microsoft.com/Profile/zh-CN/?user=yeminggeng网络连接状态的变化?这是一段用SL3写的程序<br/><br/> <pre lang="x-c#">namespace YmgSilverlightApp { public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); this.Loaded += new RoutedEventHandler(MainPage_Loaded); NetworkChange.NetworkAddressChanged += new NetworkAddressChangedEventHandler(NetworkChange_NetworkAddressChanged); } void NetworkChange_NetworkAddressChanged(object sender, EventArgs e) { IsNetworkAvailable(); } void MainPage_Loaded(object sender, RoutedEventArgs e) { if (App.Current.IsRunningOutOfBrowser) { textBlock1.Text = &quot;程序在浏览器之外&quot;; } else { textBlock1.Text = &quot;程序在浏览器之中&quot;; } IsNetworkAvailable(); } private void button1_Click(object sender, RoutedEventArgs e) { if (App.Current.InstallState == InstallState.NotInstalled) { App.Current.Install(); } else { MessageBox.Show(&quot;应用程序已安装!&quot;); } } private void IsNetworkAvailable() { if (NetworkInterface.GetIsNetworkAvailable()) { textBlock2.Text = &quot;网络连接正常&quot;; } else { textBlock2.Text = &quot;网络连接受阻&quot;; } } } } </pre> <p> </p> <p>程序在IE下运行,拔掉网线后,立刻显示“网络连接受阻”。放到浏览器之外运行后,拔掉网线,不会有这种变化,这其中的原因在哪里呢?</p><hr class="sig">yeminggengMon, 23 Nov 2009 08:47:45 Z2009-11-23T11:14:24Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/5881c301-3146-4e6a-a255-60f6ca7341d3http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/5881c301-3146-4e6a-a255-60f6ca7341d3HiYouAllhttp://social.microsoft.com/Profile/zh-CN/?user=HiYouAll关于SOCKET和输入法的两个小疑问<p>1. SL的socket应用,特别是在局域网和外网通信的环境中,是不是会有端口转换的问题要处理?</p> <p align=left> </p> <p align=left>2. 有人用‘万能五笔’输入法么?在SL里的输入框里输入不了任何内容。</p>Sun, 21 Sep 2008 08:38:26 Z2009-11-21T12:33:26Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/10f21e50-a67d-4f6e-8a8c-b4681ea5eac3http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/10f21e50-a67d-4f6e-8a8c-b4681ea5eac3TFSofthttp://social.microsoft.com/Profile/zh-CN/?user=TFSoft求救:请高手举例说明SL中如何实现类似ASP.NET母版页功能求救:请高手举例说明SL中如何实现类似ASP.NET母版页功能<br/>应用场景:<br/>我的页面框架是大致类似,就是需要动态修改里面的某些内容,这样如果用类似ASP.net母板页的技术,实现起来就非常方便。做成控件把,不行,因为框架里面还要设计一些变化的东西。<br/>Thu, 10 Sep 2009 02:39:31 Z2009-11-23T08:02:49Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/de784639-33d8-4259-99af-bb22f15c4d32http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/de784639-33d8-4259-99af-bb22f15c4d32Grant Liuhttp://social.microsoft.com/Profile/zh-CN/?user=Grant%20Liu如何为silverlight提供一个炫酷的动态加载等待进度条大家好,silverlight启动时需要加载很多东西和后台验证识别,在此过程中,希望提供一个炫酷的进度条给用户提示等待,请问该如何做,哪怕进度条是假的也行,没有使用 blend 的设计能力,谢谢 Wed, 18 Nov 2009 07:58:04 Z2009-11-24T07:32:53Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/ddbdd164-cd0d-4b4e-bb19-a824ff968e59http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/ddbdd164-cd0d-4b4e-bb19-a824ff968e59Silverlighterhttp://social.microsoft.com/Profile/zh-CN/?user=Silverlighter请问,如何调用datatemplate中的控件呢?我建立了一个Treeview控件,使用了datatemplate建立我的选项。<br/><br/>这个选项我使用了HyperlinkButton,我想在点击treeview选项的时候,实现 HyperlinkButton.UriNavigate=选项值,但是不知道该如何调用树控件中的datatemplate中的控件,请帮帮我。<br/><br/>谢谢。Tue, 17 Nov 2009 02:18:33 Z2009-11-23T07:48:12Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/a73dba7b-328f-45c7-9963-954e3c250ed4http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/a73dba7b-328f-45c7-9963-954e3c250ed4SimonFanghttp://social.microsoft.com/Profile/zh-CN/?user=SimonFang新手求助,ria services+Silverlight开发的问题<div>本人刚接触ria,对于ria的原理不清晰,遇到以下问题:<br/>1. ria services 解决了传统的N层架构的问题,但是它是属于什么架构?</div> <div>我的老师让我用三层架构的软件来开发,但是在我看来 ria services 搭配 Silverlight3 来开发,在项目的创建上已经把界面和后台分离了,而且更要使用ado.net entity 这种实体模型来做数据库的数据交换。这个跟三层架构的功能不是差不多吗?</div> <div><span style="font-family:Times New Roman">所以我觉得ria services 应该已经不用使用三层架构,加入三层架构完全是多余的。我这样理解有没有错呢?</span></div> <div><span style="font-family:Times New Roman">如果要加入三层架构,如何把三层架构跟Silverlight整合?<br/> <div><span style="font-family:Times New Roman">2。我想实现前台上传照片,不知</span><span style="font-family:Times New Roman">RIA Services 用什么通信服务比较好?有没有本身自带的服务?请各位帮忙介绍一下使用方法和区别。</span></div> </span></div>Wed, 18 Nov 2009 04:08:12 Z2009-11-25T10:27:56Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/1ba289d3-524b-44e7-91e9-18be1b289aachttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/1ba289d3-524b-44e7-91e9-18be1b289aacyin327http://social.microsoft.com/Profile/zh-CN/?user=yin327silverlight播放视频流初次接触silverlight,想请教一下,在silverlight中:<br/><br/>1、数据库中存有很多视频文件(注:不是视频文件的地址,而是二进制数据),在silverlight中如何播放这些数据?有没有相关的资料或例子可以借鉴?<br/><br/>2、有一台摄像头,可由A电脑连接,silverlight如何连接到A电脑去播放摄像头的实时视频呢?Thu, 05 Nov 2009 07:54:57 Z2009-11-21T11:55:28Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/fa172aed-c104-493b-998d-06563024c62bhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/fa172aed-c104-493b-998d-06563024c62b黎东海http://social.microsoft.com/Profile/zh-CN/?user=%u9ece%u4e1c%u6d77开心银光。silverlight社区<a href="http://FunSL.com">http://FunSL.com</a><br/>开心银光silverlight中文社区<hr class="sig">如果您觉得对您有帮助,请在“是否有帮助”点“是”;如果你觉得回复很满意,请“标记为已解答”Thu, 12 Nov 2009 02:34:11 Z2009-11-21T11:41:35Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/edba9b0f-9cba-4373-822e-0b96bfa6c1bdhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/edba9b0f-9cba-4373-822e-0b96bfa6c1bdSilverlighterhttp://social.microsoft.com/Profile/zh-CN/?user=SilverlighterSilverlight 4 Beta正式发布<p>2009年11月18日,微软在洛杉矶Professional Developer's Conference(PDC) 正式发布Silverlight 4 Beta版本。</p> <p>Silverlight 4 Beta新功能列表:</p> <p><strong>增强企业级应用开发功能 -</strong></p> <ol> <li>打印支持</li> <li>提供超过60中可自定义,可样式化的控件,其中提供了新控件RichTextBox;另外增强了Datagrid功能,允许对于列数据进行排序和改变区域尺寸,另外支持行复制和粘贴;</li> <li>发布WCF RIA Service,方便在n-tiers 应用中对于网络和数据库的存取;</li> <li>增强项目本地化功能,提供双向文本功能,支持30多种新语言切换;</li> <li>支持.Net CLR类库引用,对于Silverlight桌面项目不用再做另行编译;</li> <li>增强数据绑定功能,使数据分组,编辑以及字符格式化更加灵活,效率更高;</li> <li>VS2010全新的设计开发工具,包括全套编辑设计界面,拖拉数据绑定功能,自动绑定控件,数据源选择,全代码自动感应系统;</li> </ol> <p> </p> <p><strong>增强多媒体影像功能 -</strong></p> <ol> <li>网络摄像和麦克录音功能,允许共享视频和语音;</li> <li>在不用请求服务器交互的情况下,进行录音或者录像;</li> <li>允许拖拉或者复制粘贴外部数据到应用中;</li> <li>桌面应用,支持右键菜单;</li> <li>对于长列表控件,增加鼠标滚动效果;</li> <li>支持Google Chrome Browser;</li> <li>性能大幅度优化,Silverlight 4比Silverlight 3运行要快200倍;</li> <li>Deep Zoom功能强化,增加硬件加速,另外,支持大型dataset,动画效果更加流畅;</li> <li>多点触控支持;</li> <li>组播网络支持,支持互动性网络会议,以及网络教学功能;</li> <li>H.264媒体内容保护;</li> <li>多媒体数据流输出保护;</li> </ol> <p> </p> <p><strong>强化客户端功能 -</strong></p> <ol> <li>允许读取客户本地文件,例如读取我的文档,我的音乐,我的图片,我的视频等本地目录;</li> <li>允许运行本地桌面应用,例如Office,发送报告到Word文档,发送Email等功能;</li> <li>COM操作;</li> <li>组策略功能;</li> <li>增强键盘支持和全屏支持;</li> <li>增强网络支持,允许在没有策略文件下支持跨域访问应用;</li> <li> </li> </ol> <p>需要了解更多Silverlight 4 Beta新功能,请访问:http://www.silverlight.net/getstarted/silverlight-4-beta/</p> <p>(如果需要转载,请标注出处 <a href="http://www.silverlightchina.net">银光中国网</a>【<a href="http://www.silverlightchina.net">www.silverlightchina.net</a>】)<br/><br/></p> <h2>Silverlight 4微软培训课程视频(英文)<br/><a href="http://silverlightchina.net/html/learn/2009/1118/244.html">http://silverlightchina.net/html/learn/2009/1118/244.html</a><br/><br/> <h2>Silverlight 4新功能详解以及演示<br/><a href="http://silverlightchina.net/html/learn/2009/1118/245.html">http://silverlightchina.net/html/learn/2009/1118/245.html</a></h2> </h2>Wed, 18 Nov 2009 23:01:54 Z2009-11-20T07:15:35Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/09c8fe9e-143e-4224-be12-6e0803405fadhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/09c8fe9e-143e-4224-be12-6e0803405fadDahuahttp://social.microsoft.com/Profile/zh-CN/?user=DahuaSilverLight 4 Beta Download LinkWindows Runtime <a href="http://silverlight.dlservice.microsoft.com/download/F/6/5/F653F7FD-AD4D-411D-8B1F-9C4B1BD69881/Silverlight_Developer.exe"><br/>http://silverlight.dlservice.microsoft.com/download/F/6/5/F653F7FD-AD4D-411D-8B1F-9C4B1BD69881/Silverlight_Developer.exe</a><br/><br/>Mac Runtime <br/><a href="http://silverlight.dlservice.microsoft.com/download/F/6/5/F653F7FD-AD4D-411D-8B1F-9C4B1BD69881/Silverlight_Developer.dmg">http://silverlight.dlservice.microsoft.com/download/F/6/5/F653F7FD-AD4D-411D-8B1F-9C4B1BD69881/Silverlight_Developer.dmg</a><br/><br/><span style="color:#8b5ed0">Silverlight 4 SDK</span><br/><span style="color:#8b5ed0"><span style="text-decoration:underline"><span style="color:#800080"><a href="http://silverlight.dlservice.microsoft.com/download/8/2/8/828D7562-1058-4346-A287-3EE41D1DF6CB/silverlight_sdk.exe">http://silverlight.dlservice.microsoft.com/download/8/2/8/828D7562-1058-4346-A287-3EE41D1DF6CB/silverlight_sdk.exe</a></span></span><br/><br/><br/><br/>More Information , Please refer to this Link <a href="http://silverlight.net/getstarted/silverlight-4-beta/">http://silverlight.net/getstarted/silverlight-4-beta/</a></span>Thu, 19 Nov 2009 07:06:26 Z2009-11-25T10:27:41Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/84eec532-ba36-4934-b040-0373a5320525http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/84eec532-ba36-4934-b040-0373a5320525心星http://social.microsoft.com/Profile/zh-CN/?user=%u5fc3%u661fIE6使用Silverlight上传问题在网站上使用Silverlight实现上传功能,在ie8下运行良好(在本地测试也良好),但是发布到服务器后,如果客户使用的是ie6,则无法上传文件。想了几天,不知道是什么原因,希望各位能帮助下。<br/>在ie6下,偶尔(有时提示,有时不提示,但是照样上传失败)会提示脚本错误。发帖的时候,测试了好多次,突然又不报错了(故无法在这里粘贴错误信息。一般错误在选择文件时就出来了),但是ie6照样无法上传成功。可能是服务器配置问题,但是该设置的、该装的似乎都装了,希望各位给给建议。<br/>这个问题很急,希望各位帮帮忙。Tue, 17 Nov 2009 22:31:57 Z2009-11-19T06:23:24Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/6ab7b0da-a0a6-4cd5-b74f-088a907be2b3http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/6ab7b0da-a0a6-4cd5-b74f-088a907be2b3Xun Sun - MSFThttp://social.microsoft.com/Profile/zh-CN/?user=Xun%20Sun%20-%20MSFTWCF RIA Services aka .NET RIA Services Now available<a href="http://forums.silverlight.net/forums/t/144513.aspx">http://forums.silverlight.net/forums/t/144513.aspx</a><br/><br/>WCF Ria Services (原.NET Ria Services) 同Silverlight 4 Beta 已经同时发布. 欢迎试用.<br/>一些信息:<br/><strong><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:18pt"> <p><strong><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:18pt">What is WCF RIA Services?</span></strong></p> <p><span style="font-family:'Verdana', 'sans-serif';font-size:18pt"><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Microsoft WCF RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms using WCF. The RIA Services provides a prescriptive pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. It also provides end-to-end support for common tasks such as </span><span style="font-family:'Verdana', 'sans-serif';color:black;font-size:10pt">data </span><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">validation, authentication and roles by integrating with Silverlight components on the client and ASP.NET on the mid-tier. It includes rich tooling for integrating client and mid-tier projects and for building rich UI through the simplicity of drag-drop support</span></span></p> <p><span style="font-family:'Verdana', 'sans-serif';font-size:18pt"></span> </p> <p><span style="font-family:'Verdana', 'sans-serif';font-size:18pt"><strong>Where can I download the BETA for Visual Studio 2008 SP1 from?</strong></span></p> <p><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">The installer can be found <a href="http://go.microsoft.com/fwlink/?LinkId=144609"><span style="color:#0078c9">here</span></a> or at <a href="http://silverlight.net/getstarted/silverlight3/default.aspx"><span style="color:#0078c9">http://silverlight.net/getstarted/silverlight3/default.aspx</span></a>.  </span></p> <p><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">You will need the following pre-requisites to install WCF RIA Services:</span><span style="font-family:'Arial', 'sans-serif';color:#444444;font-size:12pt"> </span></p> <ol> <li><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt"><a href="http://msdn.microsoft.com/en-us/vs2008/products/cc268305.aspx"><span style="color:blue">Visual Studio 2008 SP1</span></a> or <a href="http://www.microsoft.com/express/vwd/"><span style="color:blue">Visual Web Developer Express 2008 SP1</span></a></span><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt"> </span></li> <li><span style="font-family:'Arial', 'sans-serif';color:#444444;font-size:8.5pt"><span style=""><span style="font:7pt &quot;Times New Roman&quot;"> </span></span></span><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Silverlight 3.0 (Runtime,SDK and Tools) </span></li> </ol> <p><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Installation Instructions:</span><span style="font-family:'Arial', 'sans-serif';color:#444444;font-size:12pt"> </span></p> <ol> <li><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Uninstall previously installed preview</span></li> <li><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Install the PDC Beta for Visual Studio 2008 SP1</span></li> </ol> <p><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">The go-live restriction from the EULA has been dropped in response to repeated requests. But please remember that this is a preview, use it at your own risk and expect breaking changes.</span></p> <p><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt"><strong>Note: This is a 4MB Download. If the MSI you download is 5.68 megs then wait for a bit and try again as the bits get propped to all the servers.</strong></span></p> <p><strong><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:18pt">Where can I download the Preview for Visual Studio 2010 Beta 2 from?</span></strong></p> <p><strong></strong> </p> <p><strong></strong><strong></strong><strong></strong><strong></strong><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">The installer can be found <a href="http://go.microsoft.com/fwlink/?LinkID=169231"><span style="color:#0078c9">here</span></a> or at <a href="http://silverlight.net/getstarted/silverlight-4-beta/"><span style="color:#8b5ed0">http://silverlight.net/getstarted/silverlight-4-beta/</span></a></span></p> <p><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">You will need the following pre-requisites to install WCF RIA Services: </span></p> <ol> <li><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt"><span style=""><span style="font:7pt &quot;Times New Roman&quot;"> </span></span></span><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt"><a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx"><span style="color:#0078c9">Visual Studio 2010 Beta 2</span></a> or <a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx"><span style="color:#0078c9">Visual Web Developer Express 2010 Beta 2</span></a></span></li> <li><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Silverlight 4 (Runtime, SDK and Tools)</span><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt"> </span></li> </ol> <p><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Installation Instructions: </span></p> <ol> <li><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Uninstall previously installed preview</span></li> <li><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt"><span style=""><span style="font:7pt &quot;Times New Roman&quot;"> </span></span></span><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Install the PDC Preview for Visual Studio 2010 Beta 2</span></li> </ol> <p><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">This is not a Go Live release. </span></p> <p><strong style=""><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Note: The Visual Studio 2010 beta 2 preview release will also be installed part of Silverlight 4 Tools. The preview cannot be installed if you have the WCF RIA Services Beta installed.</span></strong></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt 7.5pt;background:#fafafa"><strong style=""></strong> </p> <p><strong style=""><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt"> </span></strong><strong><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:18pt">What’s new?</span></strong></p> <p><strong></strong> </p> <p><strong></strong><strong></strong><strong></strong><strong></strong><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Here is a list of what is available in WCF RIA Services:-</span><span style="color:#444444;font-size:12pt"><span style="font-family:Calibri"> </span></span><span style="font-family:'Arial', 'sans-serif';color:#444444;font-size:12pt"> </span><span style="font-family:'Arial', 'sans-serif';color:#444444;font-size:12pt"> </span></p> <ol> <li><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt"><span style=""><span style="font:7pt &quot;Times New Roman&quot;"> </span></span></span><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt">WCF Integration</span></li> <li><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt"><span style=""><span style="font:7pt &quot;Times New Roman&quot;"> </span></span></span><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt">Compositional hierarchy</span></li> <li><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt"><span style=""><span style="font:7pt &quot;Times New Roman&quot;"> </span></span></span><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt">Better error handling</span></li> <li><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt"><span style=""><span style="font:7pt &quot;Times New Roman&quot;"> </span></span></span><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt">Better support for DomainDataSource</span></li> <li><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt">Presentation Model</span></li> <li><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt">Inheritance – <strong style="">Visual Studio 2010 Beta 2 only</strong></span></li> <li><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt"><span style=""><span style="font:7pt &quot;Times New Roman&quot;"> </span></span></span><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt">A lot of bug fixes Bug fixes </span><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt"> </span><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt"> </span></li> <li><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt"><a href="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=RiaServices&amp;DownloadId=8313"><span style="color:#0078c9">Breaking Changes Document</span></a></span></li> <li><span style="line-height:115%;font-family:'Verdana', 'sans-serif';font-size:10pt"><a href="http://msdn.microsoft.com/en-us/library/ee707344(VS.91).aspx"><span style="color:#0078c9">Link to MSDN Documentation</span></a></span></li> </ol> <p><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">All the samples can be found at <a href="http://code.msdn.microsoft.com/RIAServices"><span style="color:#0078c9">http://code.msdn.microsoft.com/RIAServices</span></a>. Most have already been updated for the new release.</span></p> <p> </p> <p><strong><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:18pt">Where can I get more information? </span></strong></p> <p><strong></strong> </p> <p><strong></strong><strong></strong><strong></strong><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">Right here, on the WCF RIA Services forums or on our <a href="http://silverlight.net/riaservices"><span style="color:#8b5ed0">official page</span></a>. You can also read our overview document and can be found <a href="http://msdn.microsoft.com/en-us/library/ee707344(VS.91).aspx"><span style="color:#0078c9">here</span></a></span><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">.</span></p> <p> </p> <p><strong><span style="font-family:'Verdana', 'sans-serif';color:#444444;font-size:18pt">How do I provide feedback and report bugs?</span></strong></p> <p><strong></strong> </p> <p><strong></strong><strong></strong><strong></strong><strong></strong><span style="line-height:115%;font-family:'Verdana', 'sans-serif';color:#444444;font-size:10pt">We want your feedback and want to know about the issues you find. Please post feedback and bugs in the forums. Let us know what you think.</span><span style="line-height:115%;color:#444444;font-size:12pt"><span style="font-family:Calibri"> </span></span></p> <p> </p> </span></strong>Wed, 18 Nov 2009 19:17:33 Z2009-11-18T19:17:33Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/03ee1dfd-34d5-4899-80a1-938dce792cb6http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/03ee1dfd-34d5-4899-80a1-938dce792cb6TFSofthttp://social.microsoft.com/Profile/zh-CN/?user=TFSoft拜托:耗时操作中,如何立即更新UI界面?<p>1)如何实现ShowWait子程序。<br/>2)拜托给个简单的例子。<br/>3)不希望在Main中异步调用ProcSub。<br/><br/><br/>Sub Main()<br/>  Call ShowWait(&quot;正在处理数据,请等待...&quot;)<br/>  Call ProcSub()<br/>  Call ShowWait(&quot;就绪&quot;)<br/>End Sub<br/><br/>Sub ProcSub()<br/>     '这里是一个非常耗时的子程序<br/>   '可用System.Thread.Sleep(5000)模拟耗时操作 <br/>     '这个子程序可能会访问(读取)页面中的某些元素的属性<br/>End Sub<br/><br/>Sub ShowWait(ByVal Msg As String)<br/>  '这里要求更新SL页面中的某个元素的属性<br/>      '比如:页面中有一个TextBlock,名称为TxtStatus,<br/>      '如何更新其Text属性,并且其内容会在调用时立即显示,而不是等待Main运行结束后显示。<br/>End Sub</p>Wed, 28 Oct 2009 17:31:41 Z2009-11-18T11:33:33Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/5a6cfb5a-b4e3-434b-ab2c-11a1d90668d7http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/5a6cfb5a-b4e3-434b-ab2c-11a1d90668d7爬完落地http://social.microsoft.com/Profile/zh-CN/?user=%u722c%u5b8c%u843d%u5730Silverlight+wcf iis发布之后,无法访问数据库我用一个工程的website+wcf发布没有问题,可以正常访问数据库。但是Silverlight+wcf 使用iis发布后,也就是两个工程,一个是silverlight客户端工程,另一个就是wcf数据层工程,这样无法访问数据库没有错误提示,就是本来在vs2008里调试打开页面可以看到数据库中的数据,经过iis发布之后,数据库中的数据不能显示,也就是无法连接到数据库,这是什么原因。本人刚接触wcf,请高人指点一下。谢谢Fri, 30 Oct 2009 05:29:46 Z2009-11-18T08:50:38Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/77b5673c-e685-4e57-8aef-8bc04b571f6fhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/77b5673c-e685-4e57-8aef-8bc04b571f6fGrant Liuhttp://social.microsoft.com/Profile/zh-CN/?user=Grant%20Liusilverlight 中用 ImageBrush 加载图片,现在后端换图片了,如何动态更新图片显示一个很拗口的问题,silverlight程序运行后加载一组图片到 一个 <span style="font-family:Verdana, Arial, Helvetica, 宋体, sans-serif;font-size:13px;line-height:23px">ImageBrush[] 数组内,在运行过程中,后端更新了图片,但文件名和地址都没有改变,在得到消息后如何动态刷新 并 显示新的图片? 我把所有的 ImageBrush的source都重新赋值了一下不行,请指教</span>Wed, 18 Nov 2009 05:56:50 Z2009-11-18T13:14:33Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/3f63110a-7979-4551-998a-17f201544164http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/3f63110a-7979-4551-998a-17f201544164luminjihttp://social.microsoft.com/Profile/zh-CN/?user=luminji控件自适应的问题<p>如下代码,我需要   Button 的高度,也自动为700,该如何实现呢?<br/> &lt;Grid Background=&quot;White&quot; Width=&quot;600&quot; Height=&quot;700&quot;&gt;<br/>        &lt;Grid.ColumnDefinitions&gt;<br/>            &lt;ColumnDefinition /&gt;<br/>        &lt;/Grid.ColumnDefinitions&gt;<br/>        &lt;Grid.RowDefinitions &gt;<br/>            &lt;RowDefinition Height=&quot;Auto&quot; /&gt;<br/>        &lt;/Grid.RowDefinitions&gt;</p> <p>        &lt;Button Content=&quot;xxx&quot; Height=&quot;auto&quot; &gt;&lt;/Button&gt;</p> <p>    &lt;/Grid&gt;</p>Wed, 18 Nov 2009 03:44:19 Z2009-11-23T07:54:38Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/7149d957-c0ff-4104-9713-1af953edba45http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/7149d957-c0ff-4104-9713-1af953edba45Tadi_huanghttp://social.microsoft.com/Profile/zh-CN/?user=Tadi_huang在IE8中看sliverlight报错用ie8打开Microsoft的elearning网页,经常会出现&quot;Internet explorer已停止工作&quot;提示框,微软elearning应该是用sliverlight开发的吧?<br/>我的ie版本是8.0.7600.16385 sliverlight是3.0的,不知哪位能够解决小弟的问题?谢谢Fri, 13 Nov 2009 06:13:00 Z2009-11-20T07:58:15Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/fb4a631c-ba8a-4427-b98c-6face7fdcaa7http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/fb4a631c-ba8a-4427-b98c-6face7fdcaa7leanbhttp://social.microsoft.com/Profile/zh-CN/?user=leanbSilverlight音频可视化<p>我在我的网站上使用MediaElement控件播放wma格式的音频,我现在想实现一个与音频同步的可视化效果,请问有什么好的方法</p>Tue, 17 Nov 2009 03:23:14 Z2009-11-23T07:49:47Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/d1d7f7fb-9b09-4aef-8c5e-21d179cf198bhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/d1d7f7fb-9b09-4aef-8c5e-21d179cf198buncodehttp://social.microsoft.com/Profile/zh-CN/?user=uncode期望改进Silverlight的安装方式(请MSFT帮忙)Silverlight 当前的安装方式对于很多非计算机行业用户而言太过复杂,在实际推广过程中遇到如下问题。<br/><br/> <hr> <br/>1. 对于很多不熟悉计算机技术的用户,特别是年长用户,无法完成下载、安装这样的繁琐步骤。<br/><br/>2. 很多防病毒软件(特别是国产的带防火墙的防病毒软件)和浏览器对软件下载和安装给出很多安全警告(特别是很多安全提示中使用大量计算机术语,让非计算机技术类用户困惑不解,导致用户反感),结果导致对计算机安全不了解的用户不敢安装。<br/><br/>3. 一些单位不允许随意下载软件,只能在线安装浏览器插件。<br/><br/>4. 一些浏览器将下载软件的选项设置为禁止,还有些浏览器(特别是国产浏览器)选择下载后无反应,目前已发现部分360浏览器就无反应。<br/><br/>5. 很多用户安使用下载软件(迅雷等)同时下载很多文件,结果下载完成后文件混乱,或被遗忘。<br/><br/>6. 一些防病毒软件阻止了软件安装。<br/><br/>7. 有很多对技术不了解的人,搞不清什么是浏览器插件,对所有需要下载并安装的软件有恐惧感(很多防病毒软件使用“严重警告”、“注意危害”,以及不断闪烁的红色提示框等心理暗示手段,导致用户产生恐惧感),认为所有需要下载后安装的软件均有病毒、木马等危害,不愿意使用需要下载后再安装的软件。<br/><br/> <hr> <br/>由于以上这些原因,因此强烈建议微软公司(请 MSFT 帮忙反映)能够提供官方的 <strong>Silverlight 在线安装</strong>,也就是类似于 Flash Player 的那种安装方式(<a href="http://get.adobe.com/flashplayer/">http://get.adobe.com/flashplayer/</a>)。<br/><br/>支持此提议的朋友请跟帖。Mon, 28 Sep 2009 07:55:27 Z2009-11-15T08:22:41Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/cfbc28e2-5a45-4747-b4f0-a32466b2079ahttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/cfbc28e2-5a45-4747-b4f0-a32466b2079azyschttp://social.microsoft.com/Profile/zh-CN/?user=zyscsgen.exe 在 silverlight中的使用问题我有一个silverlight 程序集 MyClass.dll <div>其中只有一个class</div> <div> <pre lang="x-c#">class MyClass { private Color color; public MyClass{} }</pre> 为什么用sgen.exe时会报一个这样的错误:</div> <div><span style="font-family:simsun;font-size:14px;line-height:23px">无法加载一个或多个请求的类型。有关更多信息,请检索 LoaderExceptions 属性</span></div> <div><span style="font-family:simsun;font-size:medium"><span style="font-size:14px;line-height:23px">去掉这一句 <span style="font-family:monospace;font-size:11px;line-height:normal;white-space:pre">private Color color;</span>就没事了</span></span></div> <div><span style="font-family:simsun;font-size:medium"><span style="font-size:14px;line-height:23px">命令行为 sgen.exe /a:<span style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;line-height:normal">MyClass.dll</span></span></span></div>Sat, 14 Nov 2009 06:57:25 Z2009-11-15T05:00:10Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/9bf404e6-5c10-449e-8ab8-0f1a719997abhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/9bf404e6-5c10-449e-8ab8-0f1a719997ab紫柔http://social.microsoft.com/Profile/zh-CN/?user=%u7d2b%u67d4微软中文技术论坛版主堂Silverlihght版主展示<span style="font-size:22pt;color:#0070c0;font-family:黑体">微软中文技术论坛版主堂<br/>           Silverlihght版主展示<br/></span><br/><br/> <table style="width:490pt;border-collapse:collapse" border=0 cellspacing=0 cellpadding=0 width=652> <tbody> <tr style="height:13.5pt" height=18> <td style="width:185pt;height:13.5pt;background-color:transparent;border-color:#ece9d8" width=246 height=18 align=left valign=top><span> <table border=0 cellspacing=0 cellpadding=0> <tbody> <tr> <td style="width:185pt;height:13.5pt;background-color:transparent;border-color:#ece9d8" width=246 height=18> </td> </tr> </tbody> </table> </span></td> <td class=xl69 style="width:64pt;background-color:transparent;border-color:#ece9d8" width=85><span style="color:#00b0f0;font-family:宋体">Forum ID:</span></td> <td style="width:241pt;background-color:transparent;border-color:#ece9d8" width=321><span style="font-family:宋体">Shiny Zhu</span></td> </tr> <tr style="height:13.5pt" height=18> <td style="height:13.5pt;background-color:transparent;border-color:#ece9d8" height=18> </td> <td class=xl65 style="background-color:transparent;border-color:#ece9d8"><span style="color:#538ed5;font-family:宋体">所任版区:</span></td> <td style="background-color:transparent;border-color:#ece9d8"><span style="font-family:宋体">Silverlight 技术</span></td> </tr> <tr style="height:54pt" height=72> <td style="height:54pt;background-color:transparent;border-color:#ece9d8" height=72><span style="font-family:宋体"><img src="http://img08.pics.livedoor.com/011/f/4/f435787e56c701711f1a-M.jpg" alt=""></span></td> <td class=xl67 style="background-color:transparent;border-color:#ece9d8"><span style="color:#ff0000;font-family:宋体">个人简介:</span></td> <td class=xl66 style="width:241pt;background-color:transparent;border-color:#ece9d8" width=321><span style="font-family:宋体">朱兴亮(微软MVP)是国内早期传播Web标准的忠实fans之一,喜欢微软技术带来的简便快捷,喜欢网络。<br/></span></td> </tr> <tr style="height:27pt" height=36> <td style="height:27pt;background-color:transparent;border-color:#ece9d8" height=36> </td> <td class=xl68 style="width:64pt;background-color:transparent;border-color:#ece9d8" width=85><span style="color:#c00000;font-family:宋体">专家固定在线时间:</span></td> <td class=xl66 style="width:241pt;background-color:transparent;border-color:#ece9d8" width=321><span style="font-family:宋体">晚上</span><br/></td> </tr> </tbody> </table> <hr class=sig> <table style="width:482pt;border-collapse:collapse" border=0 cellspacing=0 cellpadding=0 width=642> <tbody> <tr style="height:13.5pt" height=18> <td style="width:185pt;height:13.5pt;background-color:transparent;border-color:#ece9d8" width=246 height=18> </td> <td class=xl65 style="width:56pt;background-color:transparent;border-color:#ece9d8" width=75><span style="color:#00b0f0;font-family:宋体">Forum ID:</span></td> <td style="width:241pt;background-color:transparent;border-color:#ece9d8" width=321><span style="font-family:宋体">八爪熊</span></td> </tr> <tr style="height:13.5pt" height=18> <td style="height:13.5pt;background-color:transparent;border-color:#ece9d8" height=18> </td> <td class=xl66 style="background-color:transparent;border-color:#ece9d8"><span style="color:#538ed5;font-family:宋体">所任版区:</span></td> <td class=xl67 style="width:241pt;background-color:transparent;border-color:#ece9d8" width=321><span style="font-family:宋体">Silverlight版</span></td> </tr> <tr style="height:135pt" height=180> <td style="height:135pt;background-color:transparent;border-color:#ece9d8" height=180><span style="font-family:宋体"><img src="http://img09.pics.livedoor.com/012/3/6/36ccc37f84c848b7dfe4-M.jpg" alt=""></span></td> <td class=xl68 style="background-color:transparent;border-color:#ece9d8"><span style="color:#ff0000;font-family:宋体">个人简介:</span></td> <td class=xl67 style="width:241pt;background-color:transparent;border-color:#ece9d8" width=321><span style="font-family:宋体">大家好我叫李庆,现任微软论坛Silverlight版块的版主,网名八爪熊.从事10年网站相关开发工作,从Silverlight发布之日起,便开始对Silverlight的技术产生兴趣并开始研究.主要方向是Silverlight动画/游戏/优化的相关方面,如果您对Silverlight技术感兴趣,欢迎来到Silverlight技术版块,与我一起讨论,让我们一起伴随着Silverlight技术成长与完善,不断的提高自己,为下一代RIA网站的诞生做好充实的准备.</span></td> </tr> <tr style="height:27pt" height=36> <td style="height:27pt;background-color:transparent;border-color:#ece9d8" height=36> </td> <td class=xl69 style="width:56pt;background-color:transparent;border-color:#ece9d8" width=75><span style="color:#c00000;font-family:宋体">专家固定在线时间:</span></td> <td style="background-color:transparent;border-color:#ece9d8"><span style="font-family:宋体">周四下午14点-18点</span></td> </tr> </tbody> </table> <hr class=sig> <br/>感谢大家支持版主的工作!<br/>如果任何建议和想法请和紫柔联系!<br/>MSN:angelmartina0525@hotmail.com<br/>E-mail:<a href="mailto:wuln@live.cn"><span style="color:#0033cc">wuln@live.cn</span></a><hr class="sig">我是论坛管管紫柔,欢迎大家与我联系Mail:wuln@live.cn,MSN:angelmartina0525@hotmail.com | 认真生活,努力微笑!Tue, 02 Jun 2009 08:50:05 Z2009-11-14T16:42:11Zhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/f97c643d-db56-4c72-a369-3b4de06afbc5http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/f97c643d-db56-4c72-a369-3b4de06afbc5worldmanhttp://social.microsoft.com/Profile/zh-CN/?user=worldman无法删除或安装silverlight? 有图有字<p>我机器之前有安装silverlight 。 后来由于做测试。反复的删除2.0装3.0然后又装2.0<br/><br/>结果现在机器上留了一个2.0的删也删不掉。用也用不了。。<br/><br/><a href="http://bbs.crsky.com/read.php?tid=1378086">http://bbs.crsky.com/read.php?tid=1378086</a>  同这....求解。<br/><br/>看有什么工具能帮忙删除不。</p>Tue, 03 Nov 2009 06:15:26 Z2009-11-14T16:27:54Z