Use of .disco file in WCF RRS feed

  • Question

  • Hi,

    What is the real use of .disco file in WCF? When we add service reference a .disco file got created as below. What is the real use of it?


    .disco file Example

    <?xml version="1.0" encoding="utf-8"?>

    <discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">

      <contractRef ref="http://localhost:1285/Service1.svc?wsdl" docRef="http://localhost:1285/Service1.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />


    Thanks in advance.




    Sunday, October 23, 2011 2:16 PM


  • DISCO was initially a Microsoft discovery protocol that was never meant for more than simple document-based lookups. DISCO is ultimately limited by the type and depth of the information that it provides.It is through the discovery process that WCF service clients learn that an WCF service exists and where to find service's description document.Actually, there is no purpose to it. UDDI is not actually used. It sounded like a good idea at the time, but has turned out not to be usable.

    In practice, WCF Service clients learn that an Service exists because someone tells them the URL of the WSDL file.As i know this is not being used any where unless you use Discovery-driven WCF Service.

    For more details below link will help you to understand what is Discovery-driven Service


    NB: This link is for asmx web service,But .disco process is not changed for WCF.


    Lingaraj Mishra

    Sunday, October 23, 2011 5:48 PM