Aug 13
  • Bouncing Elements using RenderTransform

    Bouncing Elements using RenderTransform

    This tutorial teaches how to create animations using the combination of RenderTransform (TranslateTransform) and DispatcherTimer.
    Very easy to understand and learn.

    Original Post

  • Windows 7 like task bar

    Windows 7 like task bar

    Windows 7 like Menu/Taks Bar. You can customize the color theme of the controls.

    Original Post

  • 3D Ray Tracing

    3D Ray Tracing

    This demo is amazing. I didn’t expect that Silverlight is able to simulate ray tracking and produce a very nice 3D result image!
    The author also included the challenge and a detailed explanation about ray tracing.

    Original Post

  • Implement Double Click

    Implement Double Click

    There is no native support for double click in Silverlight. Therefore, you need to make use of some workaround to solve this problem.
    With a combination of DispatcherTimer and MouseDown Event, you are able to create your own double click event!

    Original Post

  • Loading XML file

    Loading XML file

    A very detailed article teaching you how to get an xml data file from remote server.

    Original Post

  • Sudoku

    Sudoku

    A very famous game in the world. It has 4 levels: easy, medium, hard and expert.

    Original Post

  • Face Monkey

    Face Monkey

    Create your own monkey with various kind of drawings, objects and animations effect.
    A lot of good resrouces can be extracted from the source.

    Original Post

  • Silverlight Eyes

    Silverlight Eyes

    A realistic eye movement animation. The eye ball can follow the direction of your mouse.
    A complete tutorial is included in teaching you the mystery behind the implementation.

    Original Post

  • Chaos Ball Extreme

    Chaos Ball Extreme

    A very amazing game written in Silverlight 2. Experience a full 3D experience in this bouncing ball game.
    The performance is good and impressive!

    Original Post

  • Physics Behaviors

    Physics Behaviors

    A collection of Physics Behaviors. You are able to use to create game in Expression Blend without doing any programming!
    More references are available under the reference link.

    Original Post

  • SketchFlow Control Explorer

    SketchFlow Control Explorer

    An application which demonstrate all the available stetch style controls in SketchFlow.
    SketchFlow styles are re-distributable.

    Original Post

  • Trigger Stroyboard Animation when OnLoaded

    Trigger Stroyboard Animation when OnLoaded

    If you want to start up your storyboad animations when using an C# programming, you can use the EventTrigger method to create a storyboard event.

Aug 12

Read the following if:

  • you have a Silverlight application with many internal pages
  • you want search engine to index your Silverlight content
  • you want to manage Silverlight content for search engine and reader effectively

There isn’t too many particles articles in the web talking about Silverlight SEO. Therefore, I would like to share my seo optimization knowledge with all of you.

To start with, I would like to prove that my concept is practical. One of my application Silverlight Resources Directory, which has a lot of internal pages, is now indexed with Search Engine with most of the pages. Here are the links results from Goolge, Bing and Yahoo:

Link Results from Google

Link Results from Bing

Link Results from Yahoo

For your reference, the application just launched less than 10 days and it is now receiving more than 30 search queries everyday. 

Create a SEO Application together

To better demonstrating the Silverlight SEO techniques, I will attempt to create another new application with a new sub-domain to keep track the performance. If you are interested in it, I hope you could follow my articles and create you own Silverlight application for testing as well.

The detailed steps are as follow:

  1. Create a simple Silverlight Application
    I will utilize the navigation framework in Silverlight 3 to create a simple application with numerous pages.
  2. Setup a PHP/ASP to host the Silverlight application
    Your web server must be able to support either PHP or ASP. The server side script will be responsible for detecting who (Search Engine or Human) is viewing the page.

    If it is search engine, we will display a html page corresponding to the Silverlight Application.

  3. Start linking your website
    This is the most important steps. Your website will never exist if you don’t do any link buildings. I will teach you how to create sitemap and also use webmaster tools to submit you website information.
  4. Result and statistics
    Of course, we also have to evaluate the performance of the work. I will post all the statistics for your reference.

What I can get from the testing

To make it clear, the testing mainly helps you to index your Silverlight content in search engines. It will not cover anything like search ranking or the use of keywords. Those topics will be outside the scope of my testing.

Your SEO Obstacles

One of the biggest obstacle in doing SEO is that your page takes many days before it can be appeared in search engine. You either have to link your newly launched website with some hight traffic websites or you have to build a lot of links.

But don’t worry, if you are interested to go though the testing with me, I will help you to index your site in my blog post as well.

I will tell you more details in the coming days.

Aug 11
  • 3D Image Slide Show

    3D Image Slide Show

    This is a 3D Image Slideshow using perspective 3d technology in Silverlight 3.
    You are able to add more images into the controls.

    Original Post

  • Check CPU performance

    Check CPU performance

    This is a new Silverilght 3 feature that enables you to report the overall computer CPU usage (Analytics.AverageProcessorLoad), as also CPU usage with respect to the current Silverlight Application (Analytics.AverageProcessLoad).
    You can also collect GPU device information.

    Original Post

  • Farsee Physics Library - Water Simulation

    Farsee Physics Library - Water Simulation

    A very impressive Physics Library. The demo simulated boxed floated on water.
    You can also set the fluid density, wave strength, etc..

    Original Post

  • Particle 3D Spectrum

    Particle 3D Spectrum

    Spectrum is a Silverlight 3D particles engine written in C#. You can utilize to generate a lot of stunning 3D effects.
    Please go to the reference page for preview.

    Original Post

  • Reflection using Pixel Shader

    Reflection using Pixel Shader

    A Reflection Effect Class. Please go to the reference website to download the Reflection.ps file which is needed for the assembly to work.

    Original Post

  • Bird Hunt Game

    Bird Hunt Game

    A game similiar to Nintendo’s Duck Hunt. Ducks will fly over and you have to hunt it down using you shooting skill.

    Original Post

  • Text Effect Library

    Text Effect Library

    A library which helps you to create text effects on the fly. More than 6 effects!

    Original Post

  • Ai_boy web page

    Ai_boy web page

    Simple but handsome animation. This animation shows little hack that help us to create “forward” animation. “Backward” animation created by code, which save lot of time of animator…

    Original Post

Aug 07
  • Explosive Bricks

    Explosive Bricks

    A very traditional game. Bounce the ball and break all the bricks. Very simple game logic, but yet very well implemetned with fancy graphics.
    Available for download!

    Original Post

  • Shadow Effect using 3D projection

    Shadow Effect using 3D projection

    A realistic 3D shadow on a sphere. You can move your mouse position to change the shadow projection.

    Original Post

  • 6 pixel shader effects

    6 pixel shader effects

    6 transitional effects using the pixel shader feature in Silverlight 3. Source code is available for download.

    Original Post

  • Transmitting data using JSON

    Transmitting data using JSON

    Using DataContractJsonSerializer to convert Json to c# object.
    To use the the class DataContractJsonSerializer , you have to include both System.Runtime.Serialization.Json.dll System.ServiceModel.Web.dll assembly.

    Original Post

  • Loading Animation

    Loading Animation

    A very simple loading animation in XAML format.

  • Integrate with Browser Cookie

    Integrate with Browser Cookie

    Integrate with the browser cookie for saving and accessing data in the cookie.
    Sample usage:
    CookieManager.SetCookie(”key”, “value”, expiry);
    string value = CookieManager.GetCookie(”value”);

Aug 06
  • Falling Snow

    Falling Snow

    Very beautiful snow effect.

  • Mac Style Button Tray (Fish Eye Style)

    Mac Style Button Tray (Fish Eye Style)

    Mac Style Button Tray control. Simple and easy to use!

  • TextBlock Text Trimming

    TextBlock Text Trimming

    In Silverlight, you always have to deal with various browser size and display something exactly the same across browser. The problem is especially important for text display. Somehow, if you only have a limted size for text display and the drawback is that some texts are cropped. Therefore, we might want to have a solution to display “…” when some texts need to be trim. Here comes to a solution.

  • Loading external assembly

    Loading external assembly

    Loading external libraries is a very effective method to minimize the application file size. You need to use the reflection to create obejct dynamically as well.

  • Create Gradient Background in XAML

    Create Gradient Background in XAML

    Most of the time when you are using Visual Studio and you dont’ want to open Blend for just setting a very Gradient Background! This resources surely can help you!

  • Upload file using File Dialog

    Upload file using File Dialog

    The coding below demonstrating how you might utilize your FileDialog to upload files from your local disk to server.

    The code demonstrated the following:
    1. Limited the selection of JPG and PNG files only
    2. Only 1 file can be selected
    3. Upload the file with the corresponding file name
    4. How to get the file data inside PHP

  • Keyboard Control

    Keyboard Control

    An advanced virtual Keyboard controls with multilanguage support. They keyboard is fully customizable with you own keys as well.

  • Text on A Path

    Text on A Path

    Display your text on any path geometry. Easy and simple to use!

  • Silverlight Multiple File Upload

    Silverlight Multiple File Upload

    Upload multiple files concurrently. Provides a rich User interface a lot of configurable options.

  • Floatable Window

    Floatable Window

    A refactoring of Silverlight’s ChildWindow control, to enable both modal and non-modal uses, but retain template and functionality of what the ChildWindow provides. This is an extended Controls from ChildWindow in Silverlight 3 Toolkit.