Ok, here is a nice title. :) As usual, I'm looking for the best way to fine tune my application.
The situation is that I have several ASPX files that need to gain access to specific methods from the Universal Thread Web Service. So, in the Page_Load() event, we have the Web Service instantiation, the definition of the username and password and the Login() call. That is the same for all the pages. Wouldn't there be a way to simply that by only putting this code in one place?
I don't see it or not sure if that can be put in a class as I have to instantiate the Web Service. Or, is it that this shouldn't bother?