Using ASP.NET and VB, how can I write a webpage to a file as well as send it to a browser? In the example below, a file is created but it only contains the word "True" instead of the content of the page.

Code:
<%@ Page Language="VB" AutoEventWireup="false" %>
<%
Response.BufferOutput = true
%>
Hello
<%
Response.write("Earth")
Dim outputData as String

IO.File.WriteAllText(Server.MapPath("output.txt"), buffer.ToString())

%>