Silverlight 3 Beta发布了

首先你需要下载Microsoft Web Platform Installer 2.0 Beta

下载完后启动安装包,它会去获取最新的网络安装包信息

我惊喜的发现Silverlight 3 Tools for Visual Studio 2008 SP1 Beta已经可以下载了

Silverlight3_01

其详细信息如下图所示,并和Silverlight 2 Tools比较,发现Silverlight 3 Tools的大小反而小了很多,压缩了1倍多

Silverlight 3 Tools的版本号由Silverlight 2 Tools的9.0.30729.146提升到了9.0.30729.463

 Silverlight3_00 Silverlight3_04

此外我们还从上面看到了ASP.NET MVC 1.0正式版

这两个Web组件估计都是明天在MIX2009上才发布的

不过不小心通过Microsoft Web Platform Installer 2.0 Beta泄露出来了

Silverlight3_02

但是目前的问题是简体中文版的VS2008 SP1不能安装(亲身测试过)

Silverlight 3的文档也已经提供了下载

Silverlight 3 Tools For Visual Studio Beta也可以从这里下载

 

在英文版的VS2008 sp1上安装过后,Silverlight 3 Runtime版本号是3.0.40307.0

Silverlight3_06

Silverlight 3包含了三个工程Silverlight Application,Silverlight Navigation Application(这个是最新的),Silverlight Class Library

Silverlight3_05

创建网站的类型依托现在依托在ASP.NET网站

Silverlight3_07

ToolBox的控件也增加了很多,包括所有的2含有的控件+Silverlight Toolkit包+少量新控件(比如ErrorSummary等)

Silverlight3_08 Silverlight3_09

 

Silverlight 3 Beta和Silverlight 2之间的兼容性做的不错,看下下面的 Breaking Change文档就知道了

Ensuring That Your Silverlight 2 Applications Work with the Silverlight 3 Beta Release

Introduction

This topic discusses the changes made to the Silverlight runtime and Silverlight tools between the Microsoft Silverlight 2 and Silverlight 3 Beta. The changes discussed in this article are focused on changes that might cause your older Silverlight-based applications to now fail or behave differently, not on new features/enhancements for this release.

Note   Corrections/Additions to this document (if any) are listed here.

Contents:

· OpenFileDialog.ShowDialog() can now only be opened from a user initiated event

· HyperlinkButton now navigates the entire window and not just the IFRAME that Silverlight is in

· Mouse events inside a Popup now give positions relative to the pop-up not the entire application

· ReadOnlyObservableCollection moved from System.Windows.Controls.Data.dll to System.Windows.dll

OpenFileDialog.ShowDialog() can now only be opened from a user initiated event

Who Is Affected: All applications.

Summary

For security reasons, OpenFileDialog.ShowDialog() may only be called during a user initiated event (MouseLeftButtonDown/Up and KeyDown/Up) or derived user event like clicking a button, checking a checkbox, etc. This brings Silverlight into line with how the other major browsers and plug-ins behave.

HyperlinkButton now navigates the entire window and not just the IFRAME that Silverlight is in

Who Is Affected: Silverlight 2 applications recompiled for Silverlight 3 Beta.

Summary

In Silverlight 2, HyperlinkButton behaved inconsistently across browsers. In Internet Explorer, HyperlinkButton will navigate the entire browser not just the current IFrame.

In other browsers, HyperlinkButton navigates only the current IFrame, which is consistent with HTML behavior. In Silverlight 3 Beta, we've changed the behavior inside Internet Explorer to match the behavior in other browsers.

Mouse events inside a Popup now give positions relative to the pop-up not the entire application

Who Is Affected: Silverlight 2 applications recompiled for Silverlight 3 Beta.

Summary

Suppose you have an element inside a pop-up that listens to mouse events:

[xaml]

<Popup>

<Border Name="border" MouseLeftButtonDown="OnMouseLeftButtonDown"/>

</Popup>

[c#]

void OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)

{

… e.GetPosition(border) ...

}

In Silverlight 2, the coordinates from MouseButtonEventArgs.GetPosition will be relative to the entire Silverlight plug-in, even though the application asked for coordinates relative to the border control (the parameter to GetPosition is supposed to indicate the frame of reference). This has been fixed in Silverlight 3 Beta.

ReadOnlyObservableCollection moved from System.Windows.Controls.Data.dll to System.Windows.dll

Who Is Affected: Silverlight 2 applications recompiled for Silverlight 3 Beta.

Summary

This class has been moved into System.Windows.dll so that other APIs in System.Windows.dll can use it. In order to minimize download size impact we've removed some uncommonly used methods.

Note that this will not affect applications compiled for Silverlight 2. If you use ReadOnlyObservableCollection in Silverlight 2, your .xap file will contain a copy of System.Windows.Controls.Data.dll. When Silverlight 3 Beta runs your .xap, it will use the .xap's copy of System.Windows.Controls.Data.dll and that version of ReadOnlyObservableCollection, not the version that ships in the System.Windows.dll of Silverlight 3 Beta.

posted @ 2009-03-18 18:50 ibillguo 阅读(7122) 评论(37) 编辑 收藏

 回复 引用 查看   
#1楼2009-03-18 18:55 | 学习..      
好!
 回复 引用   
#2楼2009-03-18 19:07 | xxd[未注册用户]
很好!
 回复 引用 查看   
#3楼2009-03-18 19:11 | 重典      
收到消息
 回复 引用 查看   
#4楼2009-03-18 19:27 | Q.Lee.lulu      
很好!!
奔走相告

 回复 引用 查看   
#5楼2009-03-18 19:47 | 紫色永恒      
同上 奔走相告
 回复 引用 查看   
#6楼2009-03-18 19:50 | nfa2dfa      
终于有了Silverlight Class Library
 回复 引用   
#7楼2009-03-18 19:55 | ntx[未注册用户]
Silverlight 3bata 发布了 更全地址http://ntx.me/?p=197
 回复 引用 查看   
#8楼2009-03-18 19:56 | weldon      
晕,也太快了吧~
 回复 引用 查看   
#9楼2009-03-18 20:39 | 生鱼片      
微软的动作真是太快了
 回复 引用 查看   
#10楼2009-03-18 20:41 | Terry.Feng.C      
哇,这个有用啊,可以做游戏了
 回复 引用   
#11楼2009-03-18 20:54 | 东风路[未注册用户]
需要卸载2.0么?能否共存呀?
 回复 引用 查看   
#12楼2009-03-18 21:29 | AlexLiu      
terryLee的书呢。。。
 回复 引用 查看   
#13楼2009-03-18 22:29 | 艾新      
这几年微软的发展确实惊人啊。。sl2.0都还没热,3.0就出世了。真的是计划赶不上变化啊。。。。。
 回复 引用   
#14楼2009-03-18 22:32 | 东风路[未注册用户]
@AlexLiu
其实你不用期盼国内的书籍,写得没有任何内容,也揭露本质不深,浅尝则止,现在Silverlight2.0的国外书籍电子书很多,该讲的都讲了,不该讲的都在各个blog里面,至于应用还得靠自己实践中摸索,看看国内写的Asp.net Ajax东西,人家一本Asp.net ajax in Action立即让那些不管厚的,薄的同类书黯然失色,你看那本也没有什么特殊之处,那看起来就是舒服,获得知识就是迅速,理解就是深刻,再看看国内一本叫做WPF深入编程,我的天哪,还叫深入呢?直冒冷汗,国外大牛之所以写得出东西,那是因为他们一直跟随着微软的进展,和微软开发人员走得很近,甚至参与他们的策划探讨,例如CLR Via c#作者,那是什么样级别的人,建议国内的作者不要在自己刚刚通过别人的Blog等刚刚入门,就写出什么名曰“精通”之类的书籍,你要做的工作只是通过Blog和别人进行沟通交流,当你使用该技术投入到实践中有些时日了,你有一个叫深刻的认识了,你可以写点东西了。

 回复 引用 查看   
#15楼2009-03-18 23:14 | 二手程序员      
SL 的正式版中都有中文文档的。
 回复 引用 查看   
#16楼[楼主]2009-03-18 23:23 | ibillguo      
@二手程序员
这个是Beta版,目前暂时没有中文版
不过估计会有,但是应该要在英文版出现后再等待一个月左右吧

 回复 引用 查看   
#17楼[楼主]2009-03-18 23:24 | ibillguo      
@艾新
silverlight 3用来开发LOB程序是强大了很多了
有了内置的Navigation功能

 回复 引用   
#18楼2009-03-18 23:37 | 哈哈了[未注册用户]
问:为什么安装包变小了?
答:VS2008的一些更新在sl3 tool里面不用提供了,所以大大变小了

 回复 引用   
#19楼2009-03-18 23:56 | 哈哈了[未注册用户]
什么呀,上当,Doc还是2.0的,没有任何增加,(很小很小)
 回复 引用 查看   
#20楼2009-03-18 23:58 | Rainbow      
哈哈,终于等到了。。。一定看看3D和GPU加速。一直打算用SL来开发Webgame的。顺便打个广告,有兴趣的朋友记得联系我。。O(∩_∩)O~
 回复 引用 查看   
#21楼2009-03-19 00:15 | 摄狼      
@Rainbow
有兴趣一起看看。

 回复 引用 查看   
#22楼2009-03-19 08:00 | Ivan-Yan      
3.0的silverlight要跑起来,客户端的silverlight2.0exe应该不用更新吧?

 回复 引用 查看   
#23楼2009-03-19 09:20 | 一线风      
折腾人呀!
 回复 引用 查看   
#24楼2009-03-19 09:47 | 代震军      
终于等来了
 回复 引用 查看   
#25楼2009-03-19 10:25 | Anytao      
@nfa2dfa
Class Libarary在SL 2.0就有了:-)

 回复 引用 查看   
#26楼2009-03-19 11:55 | 沉默杨仔      
感觉自己越来越跟不上潮流了
 回复 引用 查看   
#27楼[楼主]2009-03-19 12:02 | ibillguo      
@Ivan-Yan
需要更新到最新的Develop Runtime

关注
 回复 引用 查看   
#29楼[楼主]2009-03-19 15:05 | ibillguo      
@东风路
不能这么说哦
国内还是有不少写书写得不错的
比如邹欣,潘爱民等人

 回复 引用 查看   
#30楼2009-03-20 15:14 | sps.shareach.com      
wcf 结合 silverlight ,强大 两个字, 可惜blend会用的人太少,
 回复 引用   
#31楼2009-03-30 15:53 | lxcsl
silverlight3.0 beta我下载后32M,这个可以离线安装吗?为什么我安装不了,希望有人帮忙指点。
 回复 引用   
#32楼2009-03-30 16:04 | lxcsl
The Visual Web Developer feature for Visual Studio 2008 SP1 must be installed before installation can continue.

The Visual Web Developer feature for Visual Studio 2008 SP1怎么安装?

 回复 引用 查看   
#33楼[楼主]2009-03-30 23:01 | ibillguo      
@lxcsl
就是去下载一个VS2008 sp1的补丁

 回复 引用 查看   
#34楼2009-04-13 16:53 | Shannon      
超级郁闷哦,英文版本和日本版本都N早就出来了,中文版本现在还没见任何消息,靠 速度就是慢啊
 回复 引用 查看   
#35楼[楼主]2009-04-16 13:42 | ibillguo      
@Shannon
这个没办法哦
如果想体验最新的技术,而且英文还不错的话
还是装英文版的

装的sl2跑不了sl3的程序啊。公司现在还有用VS2005没装VS2008.那就说SL3也无法安装,进一步说。我的IE打不开SL3做的页面。。。郁闷啊。。。
 回复 引用 查看   
#37楼2010-01-26 08:49 | virus      
请帮忙看看
http://www.cnblogs.com/virusswb/archive/2010/01/25/1655748.html
的效果如何实现呢、我的实现有什么问题呢?谢谢

msn:jorden008@hotmail.com