Web.config Pros
- Only 1 place to add extra bit of code
Web.config Cons
- Sometimes, I forget to update web.config on production environment since I never copy the web.config from staging area to live site.
On every page pros
- When you deploy/publish pages and/or copy pages from dev/test/staging to live server, you don't need to worry about updating web.config
One very page cons
- Its on every page, so if something changes, it's a pain to go through every page and fix it
- You have to add it manually to each page
I'd recommend doing it in the web.config. It's less work for you since you don't need to remember to add it to every page. Although, if you have a ton and lots are only used on a single page, then you could do a bit of both to keep your web.config a bit less cluttered. I usually put my controls in web.config, if I use them in more than one page. If it's just used on a single page, then I usually just declare it in my asp.net page.