Q1. How to I deploy a Visual Studio 2008 Web Application to SharePoint Server 2007? I notice that there is not much materials on such deployment except for one which mention Visual Studio 2005 (not Visual Studio 2008) deployment to WSS3 - http://msdn.microsoft.com/en-us/library/cc297200%28v=office.12%29.aspx. (Even though it mention also applies to MOSS 2007)
Q2. In the link itself, it mention about - "It is best to use a _layouts based application when the goal is to extend every site with some functionality such as additional administration pages." What does the _layout based application mean? (I could not find it as a project in Visual Studio 2008 SharePoint templates)
Do kindly note that the Visual Studio 2008 web application that I will be creating will be reading and writing data to and from a SQL database server and should be able to run inside SharePoint Server 2007