Page view count
A very common question How to count page visits to my site?
Well, it can be done in many ways. Here, I will shade some lights on simple and better approch.
Using ASp.net server side code.
When browser begins the request, OnBeginRequest event you can count the page views againt that requet.
What if the request is coming from Load Testing tool or any robot? It is simple approch but not good.
It doesn't ensure that the request is coming from browser.
This ensures that the request is coming from Browser as script engine inside the browser is making call.
If you planned to create your own, the benifit is you can have this module of tracking something out of box.