hash_bucket()

Archive for the ‘C#’ Category

Unit testing internal methods

Posted by: globbe on: January 12, 2009

Here’s a little gem.
Most people like to keep their unit test assemblies and code separate from the code being tested (maintainability is such a nice thing). This however raises the issue of how to write tests for methods and classes that are marked internal.
Lots of different approaches exist, such as editing the *.csproj file by [...]

Conditional Attribute / Debug

Posted by: globbe on: May 23, 2008

This article will introduce the Conditional Attribute and give an example of its usage. The technical level is kept low to make the text as accessible as possible. More info can be found in the official C# Programming guide, in particular the section called ‘Conditional’.
When it comes to debugging, the world (of IDEs) is full [...]

ASP.NET Model View Controller Pattern

Posted by: globbe on: March 25, 2008

There’s been some buzz around the web lately around ASP.NET MVC, particularly after Mix where it was a reoccurring topic amongst the more technically oriented visitors. I’ve kept an eye on it for some time, mostly because I like the MVC (Model-View-Controller) pattern a bunch, but I never took the time to actually download the [...]

Building a simple text editor…

Posted by: globbe on: September 4, 2007

I just wanted to point out for those of you who are interested in working with editable FlowDocuments in the Windows Presentation Foundation (WPF) that most standard editing commands such as adjusting alignment, setting various font variations such as underline, italics or bold and also building bulleted lists and other nice (albeit simple) layout tricks, [...]

XBAP Connectivity and Web Services

Posted by: globbe on: April 12, 2007

This post is going to explain, in simple terms, how to build an XBAP that needs to access data (in this case XML) over a network. It is also going to talk about how to communicate with a Web Service from within an XBAP. All this while avoiding the WebPermission exception AND the Environment exception. [...]

Teaching

Posted by: globbe on: April 11, 2007

Today I held a 3 hour introduction to building user experiences (that’s UI’s for those who don’t like Buzz words :) using the Microsoft Expression suite of applications.
Focusing mainly on Expression Blend and how to integrate it into the workflow, I took the class from understanding the relationship between code-behind files and XAML, walked through [...]


.

This blog has no clear focus. It has a focus though, it's just not very clear at the moment...

meanwhile, in the bat-cave:

  • @joltcan let's hope it stays 'til xmas!! 4 weeks ago
  • @sefr jo ti s? 4 weeks ago
  • looking for a good webhosting company in japan, with support for Ruby/MySQL/mail... any ideas? 国内でルビーの利用可のホスティングを探してます。お勧めはありますか? 4 weeks ago
  • should be sleeping, can't stop coding... 1 month ago
  • @kohji405mi16 True dat! But I have no LP player any more, and sadly most of the great new jazz that comes out is not released on wax.. 1 month ago

c

Dev Env.

Visual Studio 2008 Prof / NUnit / Gallio / csUnit / STools (ExactMagic) / doxygen / dxCore / TypeMock / TestDriven.net / SequenceViz / CLRProfiler / Snoop / Reflector / Mole / FxCop / Subversion / TortoiseSVN / SlikSVN / CruiseControl.net / msbuild / nant

Blog Stats

  • 26,943 hits

  • Paul Molyski: I ran into the problem of Premiere Pro 1.5 hanging on startup when I tried to run it from a cloned backup of my XP Pro system disk drive. Running the
  • LosManos: Instead of writing "DEBUG" everywhere one can do: private const string Debug = "DEBUG"; [System.Diagnostics.Conditional(Debug)]
  • LosManos: Running a client which talked to a web service I noticed: Only the client's System.Diagnostics.Debug.WriteLine calls were visible, not IIS's. But wh