xml地图|网站地图|网站标签 [设为首页] [加入收藏]

2即将推出betway,更多的控制和动画

betway 1

早就知道Silverlight 2 Beta 2要在本周末发布。昨晚没有等到。今天一早终于等到了。

betway 2

betway 3

    See the light 可以说是Microsoft发布Silverligth3的一句广告语。不过个人觉得以前那句Silverlight light up your web 更有气势。

    当新建Silverlight项目时,我们可以看到有一个叫Sliverlight Business Application 的模板,以前似乎没见过这个模板。单从名字可以猜测是接近商业用途的一个简单例子,这里新建一个项目看其究竟

 

betway 4

betway 5

从项目文件的排列结构看,颇有MVC的味道。

betway 6

跟MVC那个默认模板几乎是一模一样。

betway 7

这张Form和数据验证的方式已经在Silverlight3 Beta版和Ria Services 相结合的例子中用过,不再新奇。

betway 8

我注册一个帐号试试看

betway 9

这个loading简单实用,不错!可惜load了近10秒才算注册成功。 估计是第一次连接要创建数据库的原因。

betway 10

上面是注册或登录成功的页面:welcome Bruce,呵呵!

当我们查看xaml时,默认是没有视图的,右键也没有视图的菜单,其实视图是被隐藏到最下方而已。可以把鼠标放到相应的位置把它拉上来。但是遗憾的是,我猜想Microsoft并不希望我们这样做。

betway 11

betway 12

按道理,点击Resume loading the designer可以看到视图,

betway 13

可惜在Home.xaml文件中, 以下两句显示警告,有点怀疑Microsoft是否真正测试过这个例子。

betway 14

betway 15

即使去掉那两句,虽然警告没了,但依然看不到视图。正如有些朋友说的那样,Microsoft估计要扼杀VS对Silverlight视图的支持,而把这个光荣的任务交给了Blend。我觉得,简单的视图功能总得支持吧,否则如果想看排版效果,非得要运行代码或用Blend打开来看吗,还是Microsoft认为视图和后台代码应该是分别由不同工程师来完成的?如果真是这样,感觉就像开着一架高性能的战斗机,却要每隔一公里就要到指定加油站加油才能继续飞航那样,完全不符合高性能的战斗机的身份。而又有相关消息说,VS2010会支持对Silverlight拖放控件的视图设计,不知道哪个是真是假,期待中。

 

以下是官网对Silverlight 3的新特性介绍(详细的请到www.Silverlight.net上看,这里只是简单罗列):

  1. 对视频音频的改进并支持更多播放格式。这是很多人关注的一个方向。

2. 3D图形以及动画的改进:位图缓存,新的位图API,支持样式切换,提高对文本渲染和字体的支持,可以更高效的展示带动画的文本,应用程序可以通过使用本地的字体来提高加载速度。

3. RIA的功能提升:更多更好用的控件,SEO,提高数据支持元素和元素的绑定,Data Forms ,数据验证,多层架构支持。在客户端缓存类库,提升Deep Zoom性能,XML压缩传输,两个Silverlight程序通过本地通讯。

  1. 高级访问属性:可以访问所有的系统颜色。

5. 脱离浏览器运行。现在当Silverlight3新建一个工程时,就有选项选择是否让你的程序可以脱离浏览器运行。

 

大家一起来共同学习betway,Silverlight!See the light!

在 TechEd 会议上,Soma Somasegar 和 Bill Gates 共同宣布了 Silverlight 2 Beta 2 将会在本周末推出。 Silverlight 2 Beta 2 有以下更新: UI Framework

Microsoft Silverlight Tools Beta 2 for Visual Studio 2008

The Microsoft® Silverlight™ 2 SDK Beta 2 Documentation

Microsoft Silverlight 2 Software Development Kit

微软的Silerlight 2 beta 2在上周五发布。新版本包含了大量根据客户反馈做出的改进,涉及控件、模板、性能、WPF兼容性、Deep Zoom技术等诸多方面,支持通过sockets交互域链接(cross-domain connections),属于现存的Silerlight的交互域HTTP request,并且支持更多的控制和动画。

  • Beta 2 包括对动画的支持,错误处理和回报,以及可用性的支持,键盘输入支持,还有性能。并改进了 Silverlight 和 WPF 之间的兼容性。 Rich Controls - Beta 2 包括了一个新的模板模型,叫作 Visual State Manager。开发者可以创建控件模板,其他功能还包括:TabControl, TextBox 的文本段落及滚动栏, DataGrid 的自动大小调整,重新排序,分类。大部分空间现已经内置于 Runtime 中,而不是包含在应用中。 Networking Support - Beta 2 改进了跨域名支持和安全性,WebClient 的上传支持,双向通讯(服务器端向 Silverlight 客户端)。 Rich Base Class Library - Beta 2 包括了改进的线程功能,LINQ-to-JSON,ADO.NET 数据服务支持,更好的 SOAP 的支持,使得网络和数据处理更加简单。 Deep Zoom - Beta 2 引入了一种新的基于 XML 的文件格式的 Deep Zoom 图片功能,以及一款新的 MultiScaleTileSource 使得现有的图片数据库进行 Deep Zoom。Beta2 中增加了图形缩放状态的时间驱动提示功能。

Expression Blend 2.5 June Preview

根据微软的计划,Silverlight 2正式版将在今年夏末发布。

Deep Zoom Composer

另外,很多重要的控件开发商,也在逐步推出Silverlight 2的控件了

ComponentOne Studio® for Silverlight Pre-release

所有功能更新列表

AgDataGrid Suite for Silverlight

Animation Support for animating custom data points Object Animation support (animating structs) Deep Zoom New XML-based file format MultiScaleTileSource to wire up your own images and get the Deep Zoom experience Better notifications when sub-images enter the view Controls Customize the look and feel of controls using Visual State Manager. Interactive control templates were never so easy. Some base controls are now part of the core platform, rather than packaged into apps. Say hello to smaller app sizes. Calendar now supports multi-selection and blackout dates New TabControl Control properties changes (Background, Tooltip, FontFamily, FontSize…) DataGrid improvements: auto size, reorder, sort, performance and more TextBox IME Level 3 input support Text wrapping and multiline selection highlighting in textbox Scrolling and clipboard support Document level navigation keys Improvements in error handling, reporting Parser and Property system DependencyProperty.Register/RegisterAttached now supports PropertyMetadata New DependencyObject.ClearValue Visual tree helper Data-binding Per binding level validation Support for element syntax for binding markup extensions Binding to attached properties ItemsControl extensibility (OnItemsChanged method) Fallback in value conversion (Binding.UnsetValue) Input Support for limited keyboard input in Full Screen mode (arrow, tab, enter, home, end, pageup/pagedown, space). I've seen more than a few requests for this on the forums. Managed APIs for Inking and stylus input Networking and Data Cross Domain support in Sockets Cross Domain security enhancements HttpWebRequest and WebClient callable from background threads Upload support in WebClient Isolated Storage: default size increased to 1MB and new ability to change quota with user consent. Also a new management UI. Duplex communications ("push" from server to Silverlight client with no need to "poll" for data) LINQ -to- JSON serialization Significantly improved SOAP interop "Add New Item" template in Visual Studio for "Silverlight-enabled WCF Service" ADO.NET Data Services support UIAutomation and Accessibility support in the platform Media Platform support for Adaptive Streaming (also referred to by people as multi bitrate), the ability for Silverlight to switch between media depending on network and CPU conditions Content protection with PlayReady DRM and Windows DRM Basic server-side playlist (SSPL) support Localization Changes to localized application model. You now create one xap per locale, instead of one monolithic multilingual app Expanded localization languages of runtime and SDK Japanese SDK Installer and documentation (July 10) Several changes to make API and behavior more compatible with WPF Tools Beta 1 projects will be automatically ported to Beta 2 Remote debugging for VB on the Mac CLR A new developer-oriented runtime package with debugging binaries, localized strings, docs etc. Support for OS fallback logic for resources CurrentCulture and CurrentUICulture isolation to AppDomain level DLR Performance improvements Various new DLR and IronPython 2.0 Beta 2 language features Various new IronRuby features

AgDataGrid是免费的,有源代码的哦,不过现在还下载不到。

下载Silerlight 2 beta 2:

DevExpress出品的控件,我之前用过,确实很好用;其实C1的我也用过,各有千秋。以后我会两个都试用一下。

下面是一些新特性:

  • UI Framework: Beta 2 includes improvements in animation support, error handling and reporting, automation and accessibility support, keyboard input support, and general performance. This release also provides more compatibility between Silverlight and WPF.
  • UI框架的加强:Beta 2 包含在动画支持、错误处理和报表,自动化和易访问性方面的支持、键盘输入的支持和常用性能方面都有所提高。这个版本也提供了在Silverlight和WPF之间更好的兼容性。
  • Rich Controls: Beta 2 includes a new templating model called Visual State Manager that allows for easier templating for controls. Other features include the introduction of a TabControl, text wrapping and scrollbars for TextBox.  DataGrid additions include Autosize, Reorder, Sort, performance increases and more. Most controls are now in the runtime instead of packaged with the application.
  • 丰富的控件:Beta 2包含了新的称为视觉状态管理器(Visual State Manager)的模板化模型,允许对控件进行更容易的模板化。也包含了其他的一些控件和特性:如TabControl、TextBox的文本折行和滚动条支持。DataGrid额外添加了Autosize、Reorder、Sort、性能提高等等。很多控件现在已经加入到运行时的程序集了,而不是和应用程序打包在一起了。
  • Networking Support: Beta 2 includes improved Cross Domain support and security enhancements, upload support for WebClient, and duplex communications (“push” from server to Silverlight client).
  • 网络支持:Beta 2包含了对跨域支持的加强和安全方面的加强,WebClient支持上传和双向同学(以及从服务器“推”数据到Silverlight客户端)
  • Rich Base Class Library: Beta 2 includes improved threading abilities, LINQ-to-JSON, ADO.NET Data Services support, better support for SOAP and other improvements to make networking and data handling easier.
  • 丰富的基类库:Beta 2包含了线程功能的增强,LINQ to JSOn、ADO.NET Data Services的支持,对SOAP更好的支持,以及让网络和数据处理更容易的其他增强。
  • Deep Zoom: Beta 2 introduces a new XML-based file format for Deep Zoom image tiles as well as a new MultiScaleTileSource that enables existing tile databases to utilize Deep Zoom. Better, event driven notification for zoom/pan state is another improvement in Silverlight 2 Beta 2.
  • Deep Zoom更好的支持:Beta 2引入了针对Deep Zoom图像块的基于XML的文件格式,以及一个新的MultiScaleTileSource对象来实现把现存的图片块数据库转换为Deep Zoom。针对缩放更好的,事件驱动的提醒是Silvelight 2 Beta 2中的有一个增强。

Silverlight 2 Beta 2(4.66MB):

Silverlight 2 Tools Beta 2 for Visual Studio 2008(84.3MB):_chainer.exe

Silverlight 2 SDK Beta 2(56.1MB):_sdk.exe

Silverlight 2 SDK Beta 2帮助文档(50.4MB):

Deep Zoom Composer(4.4MB):

Expression Blend 2.5 2008.6预览版(32.4MB):

本文由必威发布于Web前端,转载请注明出处:2即将推出betway,更多的控制和动画