Webreference XYZ.datasource file

Discussion in 'ASP .Net' started by Rory Becker, Dec 4, 2008.

  1. Rory Becker

    Rory Becker Guest

    What is the SomeType.datasource file for in a web reference...?

    Is it vital? Was it generated? What causes it to regenerate?

    Short version ... Should I be adding these files to my source control?

    Rory Becker, Dec 4, 2008
    1. Advertisements

  2. Hi Rory,

    The datasource file is mainly used in WinForm application. It's used to
    support drag drop creating UI. We can open the Data Sources Window to see
    the effect of this file. (Please try to create a WinForm application and
    add a web reference)


    As to ASP.NET application the file is seldom used. If you don't like it you
    can just delete it. But please note this file will be regenerated after
    regenerating the proxy class. Of course, you don't have to include it in
    your source control for your ASP.NET application.

    Please let me know if you need further assistance.

    Allen Chen
    Microsoft Online Community Support

    Delighting our customers is our #1 priority. We welcome your comments and
    suggestions about how we can improve the support we provide to you. Please
    feel free to let my manager know what you think of the level of service
    provided. You can send feedback directly to my manager at:

    Get notification to my posts through email? Please refer to

    Note: MSDN Managed Newsgroup support offering is for non-urgent issues
    where an initial response from the community or a Microsoft Support
    Engineer within 2 business day is acceptable. Please note that each follow
    up response may take approximately 2 business days as the support
    professional working with you may need further investigation to reach the
    most efficient resolution. The offering is not appropriate for situations
    that require urgent, real-time or phone-based interactions. Issues of this
    nature are best handled working with a dedicated Microsoft Support Engineer
    by contacting Microsoft Customer Support Services (CSS) at
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Allen Chen [MSFT], Dec 5, 2008
    1. Advertisements

  3. Hi Rory,

    Do you have any progress on this issue?

    Allen Chen
    Microsoft Online Support
    Allen Chen [MSFT], Jan 6, 2009
  4. Rory Becker

    Rory Becker Guest

    Hello Allen Chen [MSFT],

    > Hi Rory,
    > Do you have any progress on this issue?
    > Regards,
    > Allen Chen
    > Microsoft Online Support

    My apologies for not responding earlier Allen.

    your previous answer indeed clears things up nicely for me.

    Thankyou very much for your time on this.

    Rory Becker, Jan 12, 2009
  5. Joined:
    Mar 14, 2009
    how to generate .datasource file using commandline tools

    Hi Alen

    I am trying to generate these ".datasource" files using command line tools like wsdl.exe or disco.exe but some how not able to do
    Can you please help me out of this?

    To give you little backgroud: I am trying to Automate the update web reference task in my Windows app which has many web services referenced in it. I want to create a Batch file in which I will be calling the disco.exe and wsdl.exe to generate reference.vb, service.wsdl, service.disco, results.discomap (Reference.map)

    Thanks in Advance
    , Mar 14, 2009
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. owais
    Dec 18, 2003
  2. Christof Krueger
    Christof Krueger
    Dec 19, 2003
  3. Replies:
  4. Peter van der Veen

    how to use ssl certificates with a wsdl webreference?

    Peter van der Veen, Aug 20, 2003, in forum: ASP .Net Web Services
    Peter van der Veen
    Aug 20, 2003
  5. juglesh
    Thomas 'PointedEars' Lahn
    May 15, 2005

Share This Page