not only for web-api but also for common web-apps