Re: Why VS2005.IDE adds app.config to C# Class Library projects?



Hi Max,

The IDE adds an app.config file to the class library project to store the
URL for the web service in this case. When compiling the project, this URL
in the app.config file will be made as the default URL for the web service.

When you have a, for example, windows form app calling the class library,
and the web service has been moved. You can add the same key in the winform
app.config file, and the class library will then use the new URL instead of
the default one.

If anything is unclear, please feel free to let me know.

Kevin Yu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 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 or complex
project analysis and dump analysis issues. 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/subscriptions/support/default.aspx.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

.



Relevant Pages

  • RE: writing to file from web service
    ... WCF web service. ... Microsoft Online Community Support ... You can send feedback directly to my manager at: ... nature are best handled working with a dedicated Microsoft Support Engineer ...
    (microsoft.public.dotnet.languages.vb)
  • RE: Problems with namespaces
    ... \par Microsoft MSDN Online Support Lead ... \par where an initial response from the community or a Microsoft Support ... Than I have web service, that also uses the same classes (I ... \par Simon ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: How to alias 2 classes in c#
    ... For ASP.NET webservice's client proxy, if you use "Add WebReference" to ... the type sharing support is still limited. ... where an initial response from the community or a Microsoft Support ... having 2 versions of a web service with a total compatibility ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Web Services Toolkit - SOAP Toolkit
    ... and using managed Web service proxies. ... will continue to support Microsoft Office Web Service Toolkit. ... The following note is quoted from Microsoft Office 2003 Web Service Toolkit ... create a Shared Add-in project called WebAddin. ...
    (microsoft.public.office.developer.vba)
  • Re: Problems with namespaces
    ... \par application and web service. ... \par Simon ... the client-side proxy will also ... \par> Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.webservices)