
silverlight示例

There's a lot of Silverlight in the air right now. I haven't seen the 'net abuzz like this since FutureSplash Animator. ;)
现在有很多Silverlight。 自从FutureSplash Animator以来,我还没有看到像这样的网络嗡嗡声。 ;)
I've been collecting links to samples out there. Since Silverlight is all text (XAML, JS, etc) there's a whole world of copy/pasting out there just waiting for us (developers) to create Green and Purple blinking abominations like we did with Visual Basic 3.
我一直在收集到样本的链接。 由于Silverlight是所有文本(XAML,JS等),因此存在一个复制/粘贴的世界,就像我们对Visual Basic 3所做的那样,等待我们(开发人员)创建绿色和紫色闪烁的憎恶。
I'm enjoying XAML, but I'm not at the point where I'll do it all in a text editor like Chris Sells or all in black and white like Charles Petzold, so I'll stick with using Expression to draw my XAML for now. I've also I haven't gotten my brain around the object model yet...I can't remember who said it, I think it was Bret, but they said it, and they are awesome:
我很喜欢XAML,但是现在还不能像Chris Sells这样的文本编辑器或像Charles Petzold这样的黑白文件来完成所有工作,因此我将坚持使用Expression来绘制XAML目前。 我也还没有为对象模型着迷...我不记得是谁说的,我以为是Bret ,但是他们说了,他们很棒:
"Drawing with code is like painting over the phone.
“用代码绘画就像在电话上绘画。
Here's links to some of the choicest samples that I've been viciously copy/pasting from after Getting Started and viewing the screencasts and the Silverlight Comparison Chart from Alexander Strauss:
这是指向一些最佳示例的链接,这些示例是我在入门并查看亚历山大·斯特劳斯的截屏视频和Silverlight比较表后恶意复制/粘贴的:
-
Monotone - Reminds me of the demo scene on C64
单调-使我想起了C64上的演示场景
Digger - really a Boulderdash game clone
挖掘机-一个真正的Boulderdash游戏的克隆
Inplay - MP3 player. Listen to Hanselminutes if you like.
播放中-MP3播放器。 如果愿意,请听Hanselminutes 。
DLR/Dynamic Silverlight Samples
There's a pile here, make sure you get the DLRConsole. That's a version of the demo John Lam did. You can run the DLRConsole in your browser here. It lets you code in JavaScript or Python, all CLR-compiled and in the browser. Requires Silverlight Alpha 1.1.
这里有一堆,请确保您拥有DLRConsole。 那是John Lam演示的版本。 您可以在此处的浏览器中运行DLRConsole 。 它使您可以使用JavaScript或Python(所有CLR编译器)和浏览器进行编码。 需要Silverlight Alpha 1.1。
-
Beta 1.0 Samples - SilverlightPad is a must see, as is PageTurn
测试版1.0样品- SilverlightPad是一个必须看到,由于是PageTurn
Alpha 1.1 Samples (my preference)
Alpha 1.1样本(我的偏爱)
Alpha 1.1 Samples (my preference)
Alpha 1.1样本(我的偏爱)
Sam Ruby's Silverlight Workbench
This side-by-side demonstration will likely only work in FireFox with Silverlight for now, and Sam talks about why. He's created a client-side SVG to XAML Converter. It's a start, and clearly a harbinger of things to come.
目前,这种并行演示可能仅在使用Silverlight的FireFox中有效,Sam讨论了原因。 他创建了一个客户端SVG到XAML转换器。 这是一个开始,显然是即将发生的事情的预兆。
Inline SVG in IE - This demo shows how an island of SVG in an existing document can be translated info Silverlight, allowing us to potentially use Silverlight as a proxy-SVG plugin, enabling inline SVG without Adobe's no-longer-supported Plugin. His javascript shows the SVG on Firefox, and Silverlight on IE and he says "Same source works on MSIE 7.0/with Silverlight on WinXP, Firefox 2.0.0.3 on Ubuntu, and Opera 9.20 also on Ubuntu"
IE中的嵌入式SVG-此演示演示了如何将现有文档中的SVG孤岛转换为Silverlight信息,从而使我们有可能将Silverlight用作代理SVG插件,从而无需Adobe不再受支持的插件即可启用嵌入式SVG。 他JavaScript显示了Firefox上的SVG,以及IE上的Silverlight,他说:“相同的源代码可以在MSIE 7.0上运行,在WinXP上可以使用Silverlight ,在Ubuntu上可以使用Firefox 2.0.0.3,在Ubuntu上也可以使用Opera 9.20”。
The Fantasy Baseball demo and source from the Mix Keynote
Mix主题演讲中的Fantasy Ball演示和来源
I'm sure the coming months are going to bring lots of good samples. I also want to dig into OpenLaszlo, JavaFX, and Apollo, as well as Flex. Does anyone have contact info for Ted on Flex? I'd like to do a show on Flex for Hanselminutes.
我相信未来几个月将会带来很多好的样本。 我还想深入研究OpenLaszlo , JavaFX和Apollo以及Flex 。 有人在Flex上有Ted的联系信息吗? 我想在Flex上为Hanselminutes表演。
silverlight示例