Webreference XYZ.datasource file

R

Rory Becker

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?
 
A

Allen Chen [MSFT]

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)

http://msdn.microsoft.com/en-us/library/6ckyxa83(VS.80).aspx

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.

Regards,
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:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

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
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Allen Chen [MSFT]

Hi Rory,

Do you have any progress on this issue?

Regards,
Allen Chen
Microsoft Online Support
 
R

Rory Becker

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.
 
Joined
Mar 14, 2009
Messages
1
Reaction score
0
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)
X.datasource?
y.datasource?

Thanks in Advance
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top