Test custom silverlight installation without uninstalling silverlight
How many times have you came across situation where you need to test how your custom silverlight installation would look on a client’s PC who do not have the sivlerlight plug-in installed. Recently one...
View ArticleCloning a generic List
Today we had to do a copy operation on a generic list to accomplish a business logic on our server. The situation was such that we had retrieved some data from the database and then store it in a...
View ArticleContext Menu with check mark
In Silverlight 4 it is very easy to create a context menu, basically a context menu appears on right click action and has choices depending on the state of the UI element. Silverlight toolkit has a in...
View ArticlePerformance Wizard for Silverlight
Microsoft has released the first service pack for Visual studio 2010, although the service pack is marked as beta it comes with a “go live” license. Along with it two other service packs are released...
View ArticleExam 70-506 ( TS: Silverlight 4, Development )
In November I gave the beta exam for silverlight 4, it took me more then four hours to complete the exam questions, review and comment. For beta exams you do not get the score right away, exactly...
View ArticleSilverlight double click event
We had to perform some business logic when a user double click’s on a Image, unfortunately till the current version of silverilght( version 4.x) there is no double click event. In future versions of...
View ArticleSilverlight Cookie Manager
Cookies are popular in web programming for state management, mostly used for persisting small data on client computer. Each cookie is a name-value pairs, this information is stored as small files on...
View ArticleVisual Studio Templates for Silverlight
For Visual Studio and Silverlight there are nice templates available online. If you are a new developers this templates will be very useful, also for experience developers they should be a handy tool...
View Articlec# readonly vs constant in different assembly
In C#/.NET we can declare a constant value by either using keyword 'const' or 'readonly' . Using const keyword will define compile time constant and readonly will define runtime. Only the C# built-in...
View ArticleUsing StopWatch to calibrate code performance
When we have to calibrate the performance of a loop, method or block of code we quickly tend to throw in few datetime.now and calculate the time difference. This approach has some flaws and does not...
View ArticleAsync task helper
Here is a simple helper class for async tasks. The helper class encapsulates code for creating task, This is a very interesting way to isolate the complexity of task programming. Class implementation...
View ArticleDecompiling BAML
We know that XAML is a declarative markup language. XAML simplifies creating a UI for .NET application created using WPF or Silverlight. It is simple and easy to create UI elements using XAML, and then...
View Article