Simple command-line driver that will read a query from a file and submit it to the server at the given URL. No validation of the query file is done to insure that it really is XQuery or that it's a reasonable size.
[Visual Basic]
<STAThread>
Public Shared Sub Main( _    ByVal args As String() _ )
[C#]
[STAThread]
public static void Main(    string[] args );
Parameters
args
First arg: a URL as per ContentSourceFactory.NewContentSource(URI)}. Second arg: a filename to read XQuery text from.