is any code related to .NET/ASP.NET or BCL open source? If so where can this be downloaded?
Microsoft's implementation of the CLR is not open source. However, a stripped down version of it, Rotor, is.
That said, Mono is probably better supported when compared with Rotor, so if you're looking for something to distribute I'd use Mono.