View Single Post
  #2 (permalink)  
Old December 29th, 2011, 05:43 PM
ChristianNagel ChristianNagel is offline
Wrox Author
Points: 1,163, Level: 13
Points: 1,163, Level: 13 Points: 1,163, Level: 13 Points: 1,163, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2010
Location: Austria
Posts: 175
Thanks: 3
Thanked 53 Times in 53 Posts
Default

A web.config is used for configuration of Web applications, a app.config is used for configuration of Windows applications. The app.config file is renamed to sampleApp.exe.config during the build with Visual Studio. The web.config stays with this name for Web applications.
In this exercise a Windows application is done to host the WCF service, thus it should be an app.config.
__________________
Christian
CN innovation
Visit my blog at: csharp.christiannagel.com
Follow me on twitter: @christiannagel