My Tryst with Code

WCF service hosted in IIS - "This collection already contains an address with scheme http" - Why does this happen?

I came across this error when I tried hosting a WCF endpoint from a website in IIS. This can be...

Author: Alvaro Dias Date: 11/14/2010

Unhandled Error in Silverlight Application Code: 2103 Category: InitializeError Message: Invalid or malformed application: Check manifest

This is one weird error I encountered while creating a simple Silverlight application. Scenario:...

Author: Alvaro Dias Date: 11/14/2010

Pef for fun - an interesting tool to promote TDD

Hi Folks, the PEX team has released on online version of their unit testing tool at...

Author: Alvaro Dias Date: 08/18/2010

What happens when a constuctor is called

Consider the following class public class MyClass{ public int myField = 4; public MyClass() {...

Author: Alvaro Dias Date: 08/06/2010

what using the 'using' block in c# does to your code

Let us take a simple console application which has the below code written in it class Program {...

Author: Alvaro Dias Date: 04/14/2010

How To: Enable multiple netTcp port sharing for WCF end-points

Getting straight to the point, the checklist for this can be found here. 3 basic tasks need to be...

Author: Alvaro Dias Date: 03/09/2010

Nice to have C# 5.0 LinQ feature

currently LinQ only supports projections, instead if we could perform an action for each row inside...

Author: Alvaro Dias Date: 02/15/2010

Want a treat? Get others to send you an invite :P

Here's an example of my "idle mind at work"... writing code just for the heck of...

Author: Alvaro Dias Date: 12/28/2009

Once I was a College Student

<re-published from my old blog> So there I was, sitting at my desk staring at the computer...

Author: Alvaro Dias Date: 12/28/2009

Creating your own Visual Studio code snippets

<re-published from my old blog> Some time back I got thinking... everytime I start reading...

Author: Alvaro Dias Date: 12/28/2009

PEXing your way to better quality

OK. So my previous blog talked about some issue in PEX. What I realized is that I should have a...

Author: Alvaro Dias Date: 12/25/2009

PEX - invalid detour, process is not instrumented

I got the above error the other day while experimenting with moles. I got it at the below line:...

Author: Alvaro Dias Date: 11/30/2009

Data-tier applications in Visual Studio 2010

Today I was attending this session on SQL, all that's new to the market like SQL Azure, improvements...

Author: Alvaro Dias Date: 11/25/2009