A web app is created using developer addition and deployed in IIS. It is working fine. I'd like to locate logic in my application start-up to call a web service and authenticate a user on that service. If the user is OK then finish app start up. If not OK then show message, stop loading and clean-up. I have followed the below thread Web App Start-up with Validation and Bailout if Need Be. That link doesn't tell where to place the control on index.html. Would appreciate your help.