Jan/100
NETDUG – Silverlight/WPF Multi-Targeting Presentation Sample Code
If you attended the NETDUG user group meeting last Thursday night and would like to download the sample code for my Silverlight/WPF Multi-Targeting presentation, you can download it here.
Recap:
The Silverlight and WPF platforms are very similar, but they do not have binary compatibility; this means that an assembly compiled for one platform cannot execute [...]
Jan/100
The Entity Framework and the “The invoked member is not supported in a dynamic assembly” exception.
When you create an entity model, a few mapping files are created for you; namely .cdsl, .ssdl, and .msl. Right about now you may be saying to yourself, I don’t see those files anywhere. That is because they are actually stored as a resource in the assembly you created your entity model. When you create [...]
Dec/090
If (Successful) { throw new Exception(); }
So, I was installing Visual Studio 2010 Ultimate Beta 2 on one of my machines the other day and the funniest thing happened. After it successfully installed, I was prompted to send an error report.
Since when is a successful operation a problem? Now, of course, I am assuming this is intentional and is transmitting [...]
Dec/090
BSDG – Silverlight/WPF Multi-Targeting Presentation Sample Code
If you attended the BSDG user group meeting last night and would like to download the sample code for my Silverlight/WPF Multi-Targeting presentation, you can download it here.
Recap:
The Silverlight and WPF platforms are very similar, but they do not have binary compatibility; this means that an assembly compiled for one platform cannot execute on [...]
Nov/090
Silverlight 4 Beta – Using Silverlight as Drop Target
Have you ever wanted to give the user the ability to drag a file from you desktop or file explorer onto your Silverlight application? Well, up until now you couldn’t. What’s that sound? It’s a bird… it’s a plane… no, it’s Silverlight 4 Beta. Yes, Silverlight 4 Beta is coming to the rescue and giving [...]
Nov/090
Silverlight 4 Beta – Text Trimming
Before Silverlight 4 if you wanted to dynamically add ellipses (the commonly used … to show that the sentence continues), you have to invent your own implementation which usually involves creating your own control that wraps a text based control and then manipulate the text inside based on the size. Similar to what Robby Ingebretsen [...]
Nov/090
Silverlight 4 Beta – Accessing a users webcam and microphone
So, by now you should have heard that Silverlight 4 Beta was released at PDC 2009. One of the most interesting and fun features included in the release is the ability for you to access a users webcam and microphone. Even a fellow ElegantCoder wrote a short post on it. But I wanted to go [...]
Sep/090
NETDUG: WPF Event Routing Sample Code
Here is the sample code for last Thursday’s WPF Event Routing presentation.
Download Sample Code
I know I covered the subject fast, but I was in a hurry. I had to go to the airport. So here is a quick review.
Event Types:
Direct events are like ordinary .NET events. They originate in one element and don’t pass to [...]
Aug/090
A Simple WPF Loading Animation
Okay, so I needed a very simple and clean loading animation for a multi threaded application I was working on to notify the user that something was in the process of being loaded. So of course the first place I looked was Google, because I figured someone else has already written one and I could [...]
.jpg)