Category Archives: C#
Converting from RTF to HTML and HTML to RTF
A while back I posted Converting RTF to HTML which showed how to convert RTF text into HTML markup using the WPF RichTextBox control. Since then I have noticed many posts on forums asking for a free and easy way … Continue reading
FastSharp 2.0
I just released a new version of my FastSharp program. Download it or View the source code This release contains some notable enhancements: Support for multiple languages C# Visual Basic F# Pers… Continue reading →
DiffPlex 1.1 Released
I released a small update to DiffPlex that helps improve performance for both the release and debug builds. I now also package the release build in the download zip file instead of the debug. The release build shows a significant performanc… Continue reading →
Useful Moq Extension Method
I have been working with ASP .NET MVC and I use the Moq mocking library to help test the code I write. Often in ASP MVC anonymous objects are passed around as function arguments. This is especially common in calls to RouteUrl. S…
Converting RTF to HTML
Have you ever had the desire to convert some RTF text into HTML? Probably not. But if you do, then you are in luck! I recently had the need to do this conversion and after some searching found out a way to do it by enhancing a sample distributed in the…