Deepak Sharma's Blog

Commentary on Microsoft & Innovation happening around.

News

www.flickr.com
This is a Flickr badge showing public photos from DeepakSharma123. Make your own badge here.

My Blogs

Dynamic Discovery in .Net (Why was it disabled?)

I answered a question on a Microsoft .Net newsgroup about an error that a guy was getting when he tried to add a web reference to a .vsdisco file. The error that he was getting:

"The document was not recognized as a known document type (WSDL, XML Schema, or Discovery document) for the following reason: - the content type 'application/octet-stream' is not valid for an XML document."

Well, I kind of knew the answer that .vsdisco HTTP handler got disabled during the final release of .Net framework and you could enable it by removing the comments in the machine.config file for vsdisco entry. But why would MS do that. Here's the answer by Aaron Skonnard. MSDN has another security article which discusses the decision to comment out .vsdisco http handler.

Comments

No Comments