this is a sample from the asp.net website to create a single page application