Page view counter

Silverlight Tips of the Day - Blog by Mike Snow

Game Programming with Silverlight

Browse by Tags

All Tags » RTW (RSS)
Silverlight Tip of the Day #106 – Setting Default Browser from within VS
From within VS you can specify which Internet browser you want launched when running your Silverlight application. Your default system browser is not affected by this setting. To make this change right click on your startup web page and choose Browse...
Silverlight Tip of the Day #77 - Creating an Efficient Random Generator
In some of my older posts I was creating a separate random generator for each object. However, the documentation on Random states: "The default seed value is derived from the system clock and has finite resolution. As a result, different Random objects...
Silverlight Tip of the Day #74 - Monitoring for App.Current Events - Startup, UnhandledException & Exit.
Ever noticed there was an event off the Page class called Loaded() that tells you when the page is loaded but none for for Exit() or Quit()? Example for Page.Loaded(): public Page() { InitializeComponent(); this .Loaded += new RoutedEventHandler(Page_Loaded...
Silverlight Tip of the Day #72 - How to call Page.xaml.cs from App.xaml.cs
Your App class (App.xaml + App.xaml.cs) is primarily used for global events and declarations such as styles. The primary events this class handles by default include: Application_Startup() - called when the applications starts. Application_Exit() - called...
Silverlight Tip of the Day #71 – New Silverlight 2 Web Site Clean Up Check List
When creating a Silverlight application with a web site there are a number of cleanups you will want to perform. I have created a little check list here that I will maintain and update as I get new ideas. Change the Page Title. By default the title is...
Silverlight Tip of the Day #70 – Data Collection Support in Silverlight
Silverlight provides a number of options for data collection, storage and retrieval. In this Tip I will be walking you through various ways of doing this. You will need to add a using statement in your page to reference System.Collections; BitArray. The...
Silverlight Tip of the Day #67 – Silverlight Performance Tips
After watching Seema’s PDC talk on Building an Optimized, Graphics-Intensive Application in Microsoft Silverlight I thought it would be useful to summarize what I learned. 1. Debugging The following items will help you debug performance in your Silverlight...
Silverlight Tools RTW Released!
I am proud to announce we have released the official version our Silverlight Tools for Silverlight 2. Prior to this release we had released an RC1 candidate alongside the RTW version of Silverlight. If you have the RC1 or any previous version please upgrade...
Silverlight Tip of the Day #22 – How to add Sound Effects, Music and Video to your Silverlight App.
No game is complete without a great sound track and sound effects! This tutorial will show you how to do both with a very small amount of code. Demo: (Silverlight 2 RTW required). Silverlight currently supports the following formats: Video WMV1-3 (Windows...
Silverlight Tip of the Day #17: How to Animate a Rotating Image
Each Silverlight element exposes a property called RenderTransform that is used to set the transform information that affects the rendering position of the element. I will be demo’ing a non-stop circular transform rotation of an image as seen here below...
Silverlight Tip of the Day #15 – Communicating between JavaScript & Silverlight
Communicating between Javascript and Silverlight is, fortunately, relatively straight forward. The following sample demonstrates how to make the call both ways. Calling Silverlight From Java script: In the constructor of your Silverlight app, make a call...
Silverlight Tip of the Day #12 - Full Implementation of a Silverlight Policy Server.
Before a Silverlight application can connect to a server it must first successfully connect to a policy server on that machine in order to proceed with the connection. In this tip I will take you through every step you need to create and run your own...
Silverlight Tip of the Day #3: Silverlight Game Support, Limitations and Workarounds
While exploring techniques for game programming with Silverlight I came across some hurdles and discovered some workarounds. I plan to use this blog to track these issues for the purposing of hopefully saving you time from having to do similar research...
Silverlight Tip of the Day #1: Setup and Installation of Silverlight and Silverlight Tools
Silverlight Tools is an add-on package that will allow you to develop Silverlight application using Visual Studio 2008 SP1. Click this link to install: Install Silverlight Tools RTM . This link will take you to the Microsoft Download center where you...
Silverlight Tips of the Day - Introduction
[Read in Spanish] About Silverlight Silverlight 2 is a phenomenal framework for developing rich applications for the web. It includes a cross-platform, cross browser version of the .NET Framework. While it excels at displaying high-definition video files...