I have created a SharePoint web part and inside this web part I am trying to consume a WCF service.To do so I have added the system.serviceModel node (copied from client app.config) into the web.config of my web application.
Is there any other way to do the same? Actually i am trying to avoid any modification in web.config of web application because MSDN says:
Changes that you make to Web.config may be overwritten when you install updates or service packs for Windows SharePoint Services, or when you upgrade an installation to the next product version.