SilverlightExamples.NET

Latest Silverlight Samples, Examples, Demos and Tutorials.

Silverlight 3 Is Too Good To Be True But It Is TRUE

clock March 18, 2009 14:54 by author Neo

Shortly after Silverlight 2 was out for development pleasures, we asked for a lot of things from Silverlight team. I myself asked for several features that I thought were most needed for killer applications. Hundreds of Silverlight developers joined in and wished for a trillion of features more. Then I was highly doubt that Silverlight team would deliver all of those, because it was like a million children sending wish letters to Santa Claus. And guess what, they have done it! They have delivered most of the requested features and then some right in Silverlight 3 Beta which is now available for download.

What’s New in Silverlight 3? More controls, support for more media codecs, perspective 3D, pixel shader APIs, animation effects, GPU 3D acceleration, text improvements, element-to-element binding, LocalConnection API, SaveFileDialog, assembly caching, network monitoring API, out-of-browser detachment, standalone desktop application, .NET RIA services, binary XML and additional features, too many to list them all in one post. I'm going to write more detail samples and demos in the upcoming days. Meanwhile, Tim Heuer has more in his blog post A guide to Silverlight 3 new features.

Downloads

Silverlight 3 Beta Tools for Visual Studio - Includes everything from SDK, project templates to developer runtime for Visual Studio user.
Silverlight 3 Beta Developer Runtimes - Windows or Mac.
Silverlight Toolkit - Extra controls.
Microsoft Expression Blend 3 Preview
Silverlight 3 Beta Documentations - Online or Offline (CHM File).

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Silverlight Runtime For Linux Is Available

clock February 12, 2009 18:26 by author Neo

In collaboration with Microsoft, Novell today released the version 1.0 of Moonlight for major Linux distros including openSUSE, SUSE Linux Enterprise, Fedora, Red Hat, Ubuntu, and likely other distros as well. With Moonlight 1.0 plugin installed in Firefox, Linux users can now run Silverlight 1.0 applications without a fuss. Miguel de Icaza, Novell's Vice President of Developer Platform, said in a blog post that his team was working hard to roll out the next version of Moonlight which will be able to run Silverlight 2.0 applications. Moonlight 2.0 is right around the corner, as the current pre-Alpha build of Moonlight 2.0 can already run some Silverlight 2.0 demo applications.

I think we are witnessing a major breakthrough today, as Silverlight is becoming a true cross-platform. Does it matter? Yes, it does. We will just develop our Silverlight application once, it will run anywhere whether it is on the web, mobile or desktop; whether the operating system is Windows, Mac, Linux, or Symbian.

For Linux users, you can download Moonlight plug-in for your browser at http://www.go-mono.com/moonlight/

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Flash, You're Fired!

clock December 10, 2008 12:46 by author Neo

This is not going to be funny for those readers who have got fired lately. Fifty tech specialists likely Flash's at Netflix are expected to be let go in January 2009. It's not about the world's economy. It's about Silverlight. Here is what Steve Swasey, Netflix VP of corporate communications, has to say:

"For those of you who watch movies instantly on your PC or Mac, you may have noticed our player is much easier to install and use now with Silverlight. The good news is fewer problems for you. The bad news is that we are now overstaffed with technical specialists in our Customer Service (CS) group."

"The tech support folks have been underutilized. They’re specialists and the calls are able to be managed by our main Customer Service group, which continues to grow. In January we will add at least as many people to the main CS group as we’re letting go from the tech group."

This is a chilling message for Flash folks. Either they have to adapt or be unemployed.

Currently rated 2.7 by 7 people

  • Currently 2.714286/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Silverlight 3 To Get 3D And Then Some

clock November 17, 2008 01:17 by author Neo

To be released next year, Silverlight 3 will get major improvements in media and graphics. It is going to get 3D support and GPU hardware acceleration. 3D games and applications will simply run on the web, how cool is that? Maybe, just maybe, Web 3.0 would go three dimensions in mainstream because of Silverlight. Liden Lab would create Second Life Web Edition using Silverlight. Or maybe I'm letting my imagination run wild with all these web-based 3D social networking and web browsing.

Besides 3D, Silverlight is going to play H.264 video and include a zillion of new controls. But this is not it. It is still too early to tell whether Silverlight 3 will come with a free lunch or not. Scott Guthrie hinted that Silverlight team has surprises in store for you. So stay tuned.

Currently rated 4.8 by 4 people

  • Currently 4.75/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Silverlight Statistics - One In Four Can Run Silverlight

clock November 17, 2008 00:22 by author Neo

Scott Guthrie breaks the silence today with an update on Silverlight download statistics. Silverlight 2 runtime has been downloaded over 100 million times in only four weeks! That translates roughly into one in four computers on the internet. This number should put a big smile on every Silverlight developer. I mean, what is better than that?

The adoption of Silverlight 2 is strong. TV stations around the world, to name a few, FranceTV, NOS, Sportbox.ru and RAI, are switching from Flash to Silverlight to take advantages of Silverlight video streaming and its lower CTO. America Online recently launched AOL Mail using Silverlight 2. Even Blockbuster and Netflix are rolling out their own Silverlight video players possibly to replace Flash. Who wouldn't use Silverlight when it can save thousands of dollars on streaming?

Currently rated 5.0 by 4 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


My Wish List For Future Silverlight Release

clock October 14, 2008 06:17 by author Neo

I have been eagerly waiting for the final release of Silverlight 2. And now it is here before the schedule. Kudos to Silverlight team.

There are a few things on my wish list that are not yet here though:

  1. Unrestricted outbound socket communication, where the policy file is not needed, and port range extended to cover FTP, SMTP, POP and other important ports. This will allow developers to create serious Silverlight applications and to beat Flash hand downs.
  2. Bitmap drawing and rendering, so that we can develop face recognition, photo editing, and other drawing-related software. Our developers desperately need this to create a Logo and Button Generator in Silverlight. Some customers want to get some cool effects off Bitmap Pixel Shading too.
  3. Non-blurry text. It is quite distracting to read text in Silverlight application, since it's all blurry. The anti-aliasing is too much. The problem is rooted down to WPF, more specifically in the way it renders text to favor positioning accuracy over legibility. More info
  4. Support for Khmer language. This is a bit personal, since I'm a Cambodian and would like to see some progress for Cambodia IT, as it is stuck between the incompatibilities and supports. Unicode has finalized the Khmer characters standard years ago, and Vista has officially supported it. But .NET, WPF and Silverlight don't render Khmer text correctly, as these technologies don't go well with the Microsoft Uniscribe Engine and GDI+. More info

Hopefully these things got off my wish list some day (by actual implementations). Anyhow, today is a milestone for Silverlight. The web landscape will be changed forever.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Final Silverlight 2 Released

clock October 14, 2008 05:28 by author Neo

Silverlight team has made it finally. Silverlight 2, SDK and runtimes are now available for download.

Silverlight Tools for Visual Studio 2008

Silverlight 2 Developer Runtime (Windows)

Silverlight 2 Developer Runtime (Mac)

Silverlight 2 SDK offline documentation (CHM)

Expression Blend 2 SP1  

Here is the full press release from Microsoft:

More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Silverlight 2.0 RC0 Is Available

clock September 26, 2008 19:46 by author Neo

Microsoft has just released the Silverlight 2.0 RC0. Unlike the Beta 2 release, Release Candidate 0 is intended for developers only. It could be used to ensure that current Beta 2 applications will be compatible with Silverlight 2 full version. Accoding to Scott Guthrie, a ship load of bugs have been fixed, blocks of code have been heavily optimized for performance, yet it also manages to cramp three more controls as bonus: ComboBox, ProgressBar and PasswordBox. More new controls, including TreeView , are expected to come out within the next few months.

Here are some important links:

Microsoft® Silverlight™ Tools for Visual Studio 2008 SP1 (RC0)

Microsoft Expression Blend 2 SP1 RC Preview

Breaking Changes Since Beta 2

Note that you'll need to uninstall previous Silverlight tools and runtimes in prior to installing new tools.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Silverlight 2.0 Beta 2 Is Released

clock June 7, 2008 03:42 by author Neo

Finally Silverlight Beta 2 is released with lots of improvements and new features, yet the runtime setup file is about 4.6 MB with core controls included! Amazing! If you're using Visual Studio 2008, download the Microsoft Silverlight Tools Beta 2 For VS 2008. This package includes everything from SDK, runtime, to VS 2008 projects and add-ins. Expression Blend 2.5 June Preview is also available for download today. It's a must have for designing the UI.

Noticely the web client and socket have the support for cross domain networking. Though it still requires the annoying XML policy file that must be explicitly created on the target servers before the magic happens. Scott Guthrie has more about the new features.

 

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Load Bitmap Image From Resource in a Single Line of Code

clock April 8, 2008 15:42 by author Neo

If you read my recent article "How to Get Files From Resources in Silverlight 2.0", you'll see that loading a file embedded as resource takes only a few lines of code. You also have to remember the formats of the URI. Well, that is going to change today, because now you'll need to write just a single line of developer-friendly code.More...

Currently rated 3.5 by 2 people

  • Currently 3.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


How to Get Files From Resources in Silverlight 2.0

clock April 7, 2008 03:14 by author Neo

Questions like "How to load an embedded bitmap programmatically?" appear in Silverlight.net forum every single day, and some people actually think it is impossible to do such thing in Silverlight 2.0. Well, the truth is that not only is it possible but it is also damn easy.More...

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


VectorLight Controls for Silverlight 2.0 Beta 1

clock April 4, 2008 13:43 by author Neo

 

 

I think the competition in Silverlight Controls market will be fierce. Just under a few months, developers have created a handful of UI controls for Silverlight 2.0 already. Well, some like VectorLight provides it for free with full source code (maybe for now?). The VectorLight's controls set include Calendar, Dropdown List, Fieldset, ListBox, Textbox, TextArea, Tree View, Progress Bar, and Text Label.

VectorLight Controls Demo 

Currently rated 3.7 by 3 people

  • Currently 3.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Restrictions of Sockets in Silverlight 2.0 Beta 1

clock March 5, 2008 05:41 by author Neo

As expected, Silverlight 2.0 Beta 1 was released hours ago, and it comes with Socket Networking support. Silverlight applications can now make direct/persistent connections to remote server. There are however some restrictions:

  • Supports only TCP.
  • Connect to only site or host of origin. (Temporary restriction until future release of Silverlight 2.0)
  • Connect to only port range of 4502-4532.
Maybe there are some more. It is a bit early to list them all here.

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Nokia Phones to Run Silverlight Applications

clock March 5, 2008 04:39 by author Neo
Espoo, Finland - Nokia today announced plans to make Microsoft Silverlight available for S60 on Symbian OS, the world's leading smartphone software(1), as well as for Series 40 devices and Nokia Internet tablets.  Adding support for Silverlight will extend opportunities for developers to create rich, interactive applications that run on multiple platforms in a consistent and reliable way.
 
"Today's consumers are very clear in what they want: easy access to tightly integrated services and data on any device," said Lee Williams, Senior Vice President in Nokia's Devices software organization. "Nokia's software strategy is based on cross-platform development environments, enabling the creation of rich applications across the Nokia device range.  Nokia aims to support market leading and content rich internet application environments and to embrace and encourage open innovation. By working with Microsoft, we are creating terrific opportunities and additional choices for the development community, S60 licensees and the industry as a whole."
 
More...

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Silverlight 2.0 Beta 1 Is Available For Download

clock March 5, 2008 04:39 by author Neo

Like I told you guys over the past few weeks, Silverlight 2.0 Beta 1 was to be released on March 05. Yes, confirmed! Silverlight 2.0 Beta 1.0 run-time binaries, SDK, source code and documentation are now available for download. Thanks to coolio for his compilation of links.

If you're developing Silverlight applications in Visual Studio 2008, you should download Silverlight Tools Beta 1 for VS2008 and Expression Blend 2.5 March Preview.

Microsoft Silverlight Tools Beta 1 for Visual Studio 2008 (This package contains VS2008 add-on, run-time binaries,  SDK, documentation and samples)
http://www.microsoft.com/downloads/details.aspx?FamilyID=e0bae58e-9c0b-4090-a1db-f134d9f095fd&DisplayLang=en

Expression Blend 2.5 March Preview:
http://www.microsoft.com/downloads/details.aspx?FamilyID=32a3e916-e681-4955-bc9f-cfba49273c7c&DisplayLang=en 

SDK:
http://www.microsoft.com/downloads/details.aspx?FamilyID=4e03409a-77f3-413f-b108-1243c243c4fe&DisplayLang=en

Silverlight 2 Beta 1 runtime for Windows:
http://silverlight.dlservice.microsoft.com/download/6/6/3/663404e9-990d-4b74-873c-c4611aea2133/Silverlight.2.0.exe

Silverlight 2 Beta 1 runtime for Mac OS X:
http://www.microsoft.com/Silverlight/handlers/getSilverlight.ashx?v=2.0&targetplatform=macintel

Controls Source Code:
http://www.microsoft.com/downloads/details.aspx?FamilyID=ea93dd89-3af2-4acb-9cf4-bfe01b3f02d4&DisplayLang=en

Documentation:
http://www.microsoft.com/downloads/details.aspx?FamilyID=1840cab5-196c-4264-b55d-562242a72625&DisplayLang=en  

Online documentation:
http://msdn2.microsoft.com/en-us/library/bb404700.aspx 

Notes

Silverlight 2.0 Beta 1 is not compatible with Silverlight 1.1. Therefore, you might have to uninstall the following components first before installing that of Silverlight 2.0 Beta 1:

  • Previous version of Silverlight runtime.
  • Previous version of Silverlight SDK.
  • Previous version of Silverlight Tools for Visual Studio.
  • Visual Studio Update KB949325

Enjoys!

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Expression Blend March Preview to be released with Silverlight 2 Beta 1

clock February 28, 2008 21:50 by author Neo

Scott Guthrie just blogged about the Expression Blend 2.5 March Preview minutes ago. Expression Blend 2.5, which adds support for new Silverlight controls, is to be released as a free preview at the same time Silverlight 2 Beta 1 goes public. You should take a take look at his blog post for details.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Silverlight 2.0 will support Socket and Cross-Domain Networking

clock February 23, 2008 13:03 by author Neo

In case you missed the recent Scott Guthrie's blog post on Silverlight 2.0, there are going to be some cool developments in Silverlight 2.0 Beta1, which is to be released before March 05 2008. I like the fact that direct socket networking is supported. Better yet, cross-domain access is also supported. These two features alone will allow Silverlight developers to create rich Client-Server applications. Basically, a Silverlight 2.0 application will get the privileges of what a desktop application has, in terms of networking. Creating live chatting application in Silverlight is now possible, so are stock trading terminal, remote desktop client, multi-player game, grid computing client,  FTP client, streaming real-time chart, etc. With the help of new 'local storage' support, creating a full-featured BitTorrent P2P client might be a reality. And yes, those new built-in controls will help us create UI applications much quicker. Isn't this super exciting? 

Scott mentioned many other things:More...

Currently rated 3.5 by 2 people

  • Currently 3.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Silverlight Libraries Source Code Will Be Available

clock January 21, 2008 18:39 by author Neo

On January 17 2008, Scott Guthrie announced the availability of .NET Framework Source Code under read-only reference for debugging purposes. That was great news indeed for .NET developers especially for those who had used .NET Reflector. This will solve a lot of debugging mysteries behind the "[External Code]" in the call stack. But hold on a sec, there is greater news for Silverlight developers, the source code of Silverlight libraries will be available as well according to his reply to our comment. I asked him if Silverlight source code could be opened. "Yes - we'll be releasing the source and enabling debugging for the Silverlight libraries as well once they ship." he replied. Although his reply is not an official announcement, it significantly leverages the possibility of having Silverlight source released.More...

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Open File Dialog in Silverlight

clock January 18, 2008 02:40 by author Neo

Silverlight 2.0 Alpha introduced OpenFileDialog control which allows Silverlight applications to open and read *local* files outside Isolated Storage. It's better than the HTML <input> tag which is widely used for uploading files in web page. Well, like HTML <input>, OpenFileDialog could be used to build a file uploader quickly. Both must prompt user to select files. But unlike HTML <input>, OpenFileDialog control could be used to read and process the file data locally in Silverlight application. This is pretty powerful since Silverlight application will not need to upload the files to server for processing. What's more is that OpenFileDialog allows user to select multiple files at once. No need to create multiple instances of OpenFileDialog for that. Let's see some examples:More...

Currently rated 4.0 by 4 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Fluid Canvas in Silverlight

clock January 17, 2008 06:37 by author Neo

So you wanted the root canvas to scale proportionately to the host element to achieve fluid layout, and you tried setting Width=”100%” or Height=”50%”, but then horror struck because of this parser error: “Invalid attribute value 100% for property Width/Height”.  Ok, to tell you the truth you cannot set “%” to the Width and Height properties because the % is not accepted. Read on for the solution.

The BrowserHost instance has the Resize() event which fires every time the host element is resized and the ActualWidth/ActualHeight properties which tells the dimension of the host element. So, to automatically resize the root canvas, handles the BrowserHost.Resize() event, and from there you can resize the canvas. Let’s sum it up with VB.NET and C# code:More...

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Search

Calendar

<<  July 2009  >>
SuMoTuWeThFrSa
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

Archive

Tags

Categories


Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2009

    Sign in