I found that if we use PSI in developing an event handler for a sharepoint site, it should set the web service url for some objects in code, e.g. ProjectService.Project, WSSInteropService.WssInterop, is there any way to make the url be configurable? I don't want to hard code it in the assembly, thanks!
Great article. The "Place config information in the web.config <appSettings> section " option seems to be best.
All others work, when we consider deployment, managing config information in <appSettings> would be ideal. Going a step further, you can create a different config file for each environment, and letting each config file to have environment specific settings. Here is an example
<appSettings file="config\dev.config" />
<appSettings file="config\test.config" />
<appSettings file="config\staging.config" />
<appSettings file="config\prod.config" />