Quote:
Database, what are the performance and re-usability trade-offs between the two approaches mentioned below?
1. WCF Service for "update the SQL tables" task. And then calling it from ASP.Net Web Application.
2. "Updating the SQL" table using ADO.Net from ASP.Net Web Application code-behind.
Go with 1st option.
0) By using Webservice(WCF), you could reuse the same things when end-user/you want to go with other targets(like Winform, WPF/Silverlight, etc.,). There's no need to rewrite things. All you have to do is call the service, that's it.
1) Easy deployment things
2) You could
optimize your services too[
^]
3) Consider you have written some code in your code-behind, what'll you do if you want to call the samething from multiple pages/projects? Copy-paste on multiple places?X| Here Webservice rocks, just call the service URL.
4) And you could secure things(restrict-others to use methods) by implementing authentication +/ authorization at service level.
5) There're more .... just Google for webservice/wcf advantages.