Programming

Using Ninject With .NET–Videos & Sample Code To Get Started

Ninject is an awesome open source library to implement Dependency Injection in any Microsoft.NET applications. Today I started a new ASP.NET MVC 3 project and for implementing dependency injection Niject was the first choice. To get started with Niject the following two videos from dimecast.net site helped me a lot. Introduction to the Ninject IoC …

Using Ninject With .NET–Videos & Sample Code To Get Started Read More »

C# How To: Get Calling Class Name & Method Name Using StackFrame Class

In one of the .NET applications I’m designing, we had to identify the name of the calling method as well as the class in which the calling method is defined. This information helped us in automating our process and reduced the lines of code by several times. It’s quite easy to get calling method details …

C# How To: Get Calling Class Name & Method Name Using StackFrame Class Read More »

How To Fix: “Unable to attach. The binding handle is invalid” Visual Studio Error

Problem When you try to debug a solution in Visual Studio, you may get an error “Unable to attach. The binding handle is invalid”. This error does not stop you from running the solution, but it will not allow you to debug the code and none of breakpoints will stop the code execution. A kind …

How To Fix: “Unable to attach. The binding handle is invalid” Visual Studio Error Read More »

.NET 4.0 – What’s New For Developers

Microsoft is consistently improving its .NET framework and providing its developers with enough tools to build sophisticated and large scale enterprise applications easily. Couple of months ago Microsoft released it’s latest version of .NET Framework, version 4.0, with tonnes of new features. Starting from CLR to WPF and  Visual Studio 2010, almost all the components …

.NET 4.0 – What’s New For Developers Read More »