IBloggable - implemented
-
Using Unity – Part 3
The previous blog was about registering and invoking different types dynamically. In this one I’d like to show how Unity manages/disposes the instances – say hello to Lifetime Managers.
-
Using Unity – Part 2
In the first part of this series, we created a simple project and learned how to implement IoC pattern using Unity. In this one, I’ll show how you can instantiate other types that implement our IProduct interface. One place where this one would want to use this feature is to create mock types for testing purposes.
-
Using Unity – Part 1
I have been going through implementing some IoC pattern using Unity and so I decided to share my learnings (I know that’s not an English word, but you get the point).
-
ASP.NET Server-side comments
I believe a good number of you know about Server-side commenting. This blog is just like a revival to refresh your memories.
-
LINQ – SequenceEqual() method
I have been looking at LINQ extension methods and have blogged about what I learned from them in my blog space. Next in line is the SequenceEqual() method.
-
LINQ – Skip() and Take() methods
I had this issue recently where I have an array of integers and I’m doing some Skip(n) and then a Take(m) on the collection. Here’s an abstraction of the code:
-
LINQ – TakeWhile and SkipWhile methods
I happened to read about these methods on Vikram's blog and tried testing it. Somehow when I saw the output, things did not seem to add up right. I’m writing this blog to show the actual workings of these methods.
-
Tuple - .NET 4.0 new feature
Something I hit while playing with .net 4.0 – Tuple. MSDN says ‘Provides static methods for creating tuple objects.’ and the example below is:
-
MVC 2 jQuery Client-side Validation
Well, I watched Phil Haack’s show What's New in Microsoft ASP.NET MVC 2 and was impressed about the client-side validation (starts at 17:45) that MVC 2 offers.
-
ASP.NET MVC 2 throws exception for ‘favicon.ico’
I must be on fire or something – third blog in 2 days… awesome!