Category Archives: C#

C# related posts.

Code Contracts

I recently started using CodeContracts and have a few tips.
Also posted in Best Practices, Short, XMPP Server 2010 | Leave a comment

Automatically Wrap BeginInvoke (dispatch)

Easily handle multi-threaded events in .Net WinForms.
Also posted in Programming, Tricks | Leave a comment

SSRS Timeout on SSL 443 – Resolved

If you are getting either a 'The underlying connection was closed' or 'The operation has timed-out' error when deploying reports manually (add reference to web service) to SSRS via SSL on port 443 this fix may work for you.
Also posted in Programming, SSRS | 2 Comments

XLinQ Serialization

XmlSerializer suprisingly supports List.
Also posted in Programming, Short | 1 Comment

Remove System Menu Icon in WPF

Howto remove the caption bar in WPF.
Also posted in Code 7 Contest, Programming, Top Hacks | 1 Comment

Wrapping on Specific Characters

How to inform GDI+ that a certain character can be automatically wrapped.
Also posted in Migrated, Programming, Top Hacks | Leave a comment

Unbox Enum as an Integral Value

How to unbox an enum without needing to know its base type.
Also posted in Migrated, Programming | Leave a comment

How to close a XML Element using XmlTextWriter

You can't close an XML element using the XmlTextWriter class unless you write a conflicting state to the document (e.g. Comment). Here is how to get around that.
Also posted in Migrated, Programming, Top Hacks | Leave a comment

TFS Build Server 2005 with VS 2008 Solutions

How to use build VS 2008 projects on TFS Build Server 2005.
Also posted in Migrated, Programming, Top Hacks | Leave a comment

Anonymous Configuration Elements

How to make configuration elements that support 'unknown' attributes.
Also posted in Migrated, Programming | Leave a comment