Hi everyone,
We'd like to track who's on our website and what pages they're looking at. The plan is to create a delegate (which will log visits to a database table) and call it asynchronously.
We're using .Net 3.5 and I don't know if the delegate idea, along with BeginInvoke and EndInvoke, is the way to go these days or if there are newer, improved methods-- a BackgroundWorker possibly, or something else. Not sure.
The idea is to keep as light an overhead as possible, since this processing will take place each time one of our pages is called. If we use a delegate it won't return a value, that's for sure. If you have any suggestions I'm glad to hear them. Thanks!