Search this site
My StackExchange profile
-
Recent posts
- Using a FileStreamResult with a MemoryStream in ASP.NET MVC 3
- An HtmlHelper to display if a field is required or not in ASP.NET MVC 3
- Hosting Nancy from a console application
- Building a photoblog with Nancy and Simple.Data Part 7: The archives
- Building a photoblog with Nancy and Simple.Data Part 6: Adding comments
Tags
Categories
Archives
Blogroll
Links
Monthly Archives: August 2010
Anonymous types and the ItemDataBound event
As you will probably know, when you bind a list of items to a Repeater, you can then convert the DataItem to the type of that item in the ItemDataBound event of the Repeater like this: public class Person { … Continue reading
Some of my extension methods
I’m really starting to appreciate extension methods. They provide an easy way to perform small common tasks you would usually put in static utility classes. Below you can find some I use regularly. The first two are extension methods to … Continue reading