Recent Posts

8
Comments

Visual Studio 2011 New Editor Features by nmarun

To add a asp:DetailsView, all I typed was <dv, and it’s there for you. You can extract a snippet of html to a user control Just ‘space’ after the backgrouund-color property and you’ll see a popup for you to choose from. This is the CSS Color Picker...
2
Comments

TPL Dataflow–An overview by nmarun

Some time back I blogged about Parallel Tasks that was introduced in .net 4.0. This was a part of the Task Parallel Library (TPL) made available to the developer community to add parallel / concurrency concepts to their applications. They have gone a...
4
Comments

Good ol’ DebuggerDisplay attribute by nmarun

I got to know about this DebuggerDisplay attribute that you can use on your types for ease of debugging, seems like this has been there since VS2005. Lets’ get started. I have an Employee class which is being used somewhere in the code. Just as any other...
Filed under: , ,
6
Comments

Solution Explorer gets new features in VS 2011 by nmarun

The more I play with VS 2011 (in Dev Preview, don’t hold me if things in future versions don’t have what I’ve mentioned below), the more interesting I find it. Productivity Power Tools is a VS plugin which has some interesting features (blogged here ...
6
Comments

ReadOnlyDictionary in .net 4.5 by nmarun

Oh yea, .net 4.5 is out (although it’s still Developer Preview). Some time back, I blogged about a ReadOnlyCollection and .net 4.5 has introduced a similar concept with a Dictionary object – a ReadOnlyDictionary type in the System.Collections.ObjectModel...
0
Comments

Using Autofac DynamicProxy2 Interceptors with MVC3–Part 2 by nmarun

Continuing from the previous post , the interceptor is now ready to be registered and consumed. In the Application_Start() method of my Global.asax.cs, I create an instance of the IoC container and register all the types. 1: protected void Application_Start...
3
Comments

Using Autofac DynamicProxy2 Interceptors with MVC3–Part 1 by nmarun

Autofac is an IoC container and using DynamicProxy we can intercept method calls to perform custom logic. What this means is that, you can actually add ‘hooks’ to methods in your code so that when these methods are called, you automatically invoke an...
1
Comments

Some cool features introduced in ReSharper 6 by nmarun

I recently upgraded to ReSharper 6 and the experience so far has only been positive. Here are the top things for which I said ‘Good job Jetbrains ’. View Completion – So now you will be able to get intellisense on Views as well. Say you’re in your razor...
Filed under: , , , ,
1
Comments

RSS Feed moved to Odiogo by nmarun

I have moved my feeds to Odiogo – Automatic podcast generation and “Near-human” quality text-to-speech are the features that prompted me to make the switch. So if you were subscribed to my feeds, please update your link to: http://podcasts.odiogo.com...
Filed under: ,
1
Comments

Registering KnownType types at runtime using IsAssignableFrom() by nmarun

While doing some reflection, I hit this method IsAssignableFrom(). MSDN says: “Determines whether an instance of the current Type can be assigned from an instance of the specified Type.” With a boolean return type, it returns: “true if c and the current...
Filed under: , ,
More Posts Next page »