hash_bucket()

Archive for the ‘C#’ Category

Unit testing internal methods

Posted by: HK Johansson 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 [...]

Conditional Attribute / Debug

Posted by: HK Johansson 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 [...]

ASP.NET Model View Controller Pattern

Posted by: HK Johansson 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: HK Johansson 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: HK Johansson 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: HK Johansson 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 [...]


.

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:

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

  • 63,289 hits
Follow

Get every new post delivered to your Inbox.