When developing an ASP.NET web application we can avoid having the ‘code behind’ in a separated file. We can place it inside the aspx file. When dealing with simple web applications that include one aspx page only that can be an advantage especially when it comes to deploying the application. The simplicity of deploying a web application that includes one aspx file only is unmatched. The following video clip shows a small demo for developing a single page web application in ASP.NET.
You can find more video clips and tutorial in my ASP.NET course, available for free personal and academic usage at www.abelski.com.