This Code Was Generated By A Tool

This comment seems to be appearing in my code rather more frequently recently, especially as I have been working with WCF.
This should include the important information which tool generated the file, include version information and parameters used.

WCF code generation is rather weak. It includes 7 wierdly named hidden files. One of these includes a url reference to the web service that generated the client proxy.
If the config file for the service fails to include a reference to the service then the service that generated the client is used. This is very dangerous and will make production code accidently refer to a test server.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s