Friday, June 17, 2005

.NET Namespaces

.NET Namespaces (Logged in as: kiranmayee): "Why is it that namespaces in .Net are referenced with an http:// prefix? You can see this in Avalon and Indigo samples, where a namespace will be declared as follows:

namespace Microsoft.ServiceModel.Samples{
...
}


Then, a namespace will be referenced as follows:

[ServiceContract(Namespace = 'http://Microsoft.ServiceModel.Samples')]
...


If you attempt to navigate to such an address, it won't resolve to anything. The same goes with the Avalon/XAML namespace. I just don't understand..."


Check the thread for answer....

Reboting Windows via a web page

Reboting Windows via a web page (Logged in as: kiranmayee): "Hi!
First off, please do not visit the web http://winboot.mine.nu/ because when you visit it, your PC will reboot. Trust me, I experienced it myself. I was very angry, my friend sent me the link. Firefox and IE are affected, Opera is said to be resistant.

I'd like to ask if Microsoft (or you) knows about this 'bug' or whatever it is.

The page tries to resize a pixel large image to 9999999999... pixels - it kills Windows (this is what I heard).

Thanks."

I came across this in Channel 9 Techoff and thought of blogging it immediately.

Please read the complete thread for more details.