Posts about Dev

Displaying date/time using the user timezone in ASP.NET MVC

This post will show you how you can display date/time using the user timezone (without it being configured anywhere in your application).

New version of Griffin.Networking – A networking library for .NET

I’ve refactored Griffin.Networking quite a lot (I did say that it was still an early release). The new version is called v0.5 (the library is taking shape,…

Feature request: Visit the oldest bookmark

Can someone please make an extension for Google Chrome which once a week suggests that I should visit my oldest bookmark (i.e. the one that I haven’t clicked…

How to dynamically modify model meta data in ASP.NET MVC

Normally you just add the [Required] attribute to a view model to make it required. But I needed a way to configure whether a field should be required or not.…

Switched to Disqus

I’ve switched from the WordPress comment system to Disqus. The old comments will hopefully get imported pretty soon.

Griffin.Container: Register services using your own attribute

As you might know, I recommend that you register most classes using the [Component] attribute. However, you might not want to add an external dependency to…

Resolving all services through dependency injection in Griffin.Container

I’ve just added a new feature to Griffin.Container: Support for resolving all implementations of a service by using constructors.

To “var” or not to “var”, is that really the question?

There are several blog posts and discussions about whether to use var or not. They tend to focus on whether the type is obvious or not. It seems like people…

Updated the localization administration area

I’ve updated the administration area for the localization features in an attempt to make it easier to handle the localization.

New article: Having fun with Griffin.Container

I’ve written a new article which guides you through most of the features in Griffin.Container.