Dev102 - dev102.com - Dev102.com
General Information:
Latest News:
2 Important Things to Notice When Using Lock() Statement 27 Feb 2012 | 08:22 am
Hi Every one knows that when different threads write to the same data structure they need to be synced. Lets assume we have a Service that exposed a single function Add which added the value receive...
How to Suppress / Disable Script Errors in WPF WebBrowser Control 23 Feb 2012 | 11:32 pm
Hi I you worked with the WebBrowser control you probably met the following popup: I have started to use the WPF WebBrowser control in some of my applications but when I tried to disable ...
Pay Attention to the Foreach Implicit Casting 29 Jul 2009 | 04:11 am
Last week, I stumbled upon the following piece of code: Can you see the bug in that code? We convert all of the doubles in the list to integers, truncating them. I was very surprised that the comp...
Changing Brush Brightness in WPF/Silverlight 24 Jul 2009 | 03:30 am
Suppose you have several objects in your WPF application filled with similar Brushes which differ in brightness only. Like in this image: The nine rectangles use the same RadialGradienBrush but each ...
Creating A RESTful API With WCF 17 Jul 2009 | 05:21 pm
What is REST? Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. As such, it is not just a method for building "...
We Are Back! 13 Jul 2009 | 04:17 am
Hey all I am sorry for the long absence but I just got married and went on a great honeymoon, so I was not around! I hope things will start to pick up from now. Just wanted to let you all ...
Formatting Your WPF Data – String.Format Is In the House! 29 May 2009 | 12:32 am
Hi When working with WPF I always found myself thinking how to handle Data formatting when a WPF control was bound to it. Let’s look at the following example of a window with a TextBlock that display...
Creating Gapped and Bulleted Shapes in WPF/Silverlight 26 May 2009 | 06:25 am
This article was written by Alan Mendelevich The Problem Creating a shape with bullets on the joints of it’s segments sounds like a really trivial task at a first glance. Just plaster some bullets o...
Parameter count mismatch Error 19 May 2009 | 10:34 pm
Let me share you with one of the weirdest errors I ever encountered. Recently, I have been working on a distributed application which is built from a server and some clients. The clients are Windows F...
4 Great Tips for Custom WPF Controls Developers 5 May 2009 | 02:57 am
This article was written by Alan Mendelevich Hi Recently I’ve been working on a set of custom WPF controls. There are numerous good books and articles about WPF in general and some basic informatio...