Silverlight anti-aliasing woes

I recently ran into an interesting problem. The designer in my team gave me a piece of XAML for my UI containing horizontal lines of the form:   <Rectangle Fill="#FFDADADA" Height="1"  …/>   I put this in the application and to our surprise, these lines showed twice as thick (2px) on my machine but looked…

0

Deferred TLS/SSL handshakes on windows mobile

I recently received an email and blog comment from João Almeida, who was trying to use the SslHelper class to make a secure connection to an SMTP server and was having some trouble. After doing a little research I found this is a little different from doing an HTTPS connection. The SMTP protocol requires the…

5

Handling DOM events in a C# ActiveX

I recently had to implement an ActiveX object (or I guess just a COM object since it had no UI) in C#. There are several articles out there about how to do this (bing it), but I couldn’t find much information about handling DOM events in managed code. After some digging and experimentation I found…

1

New name: Random.Next()

I decided to rename the blog. Given that it just started I figured this wouldn’t be too bad. Plus “Carlos’” blog was lacking some creativity. So why “Random.Next()”? Well, I don’t work on any particular Microsoft product or research area so the blog content will largely be dictated by the projects that get thrown my…

0

Getting a managed socket to talk SSL

This is a follow up to my previous post, where I showed a helper class I wrote to enable a managed socket to communicate via SSL on windows mobile. It was my first technical blog post and a friend gave me some very good feedback: blogs can be more interesting if they not only show…

13

Enable SSL for managed socket on windows mobile

I recently had to implement an application on windows mobile that would talk to a service via an SSL socket. This wasn’t just doing https requests so HttpWebRequest was not an option. And unfortunately the compact framework doesn’t include the SslStream class (which would have made my life easier). I found windows mobile sockets support…

20

New to the blogosphere

Finally, I decided to start a blog. This is something I’ve been thinking about for a while but kept putting off. This week I attended Devscovery and the keynote by Scott Hanselman was all about social networking for developers and I guess it gave me the nudge I needed to get started. By the way,…

0