コード例 #1
0
        public static void WriteHtml(this ResponseContext response, string text)
        {
            const string header = @"<!DOCTYPE html><html>";
            const string footer = @"</html>";

            response.SetHtmlContentType();
            response.Write(header, text, footer);
        }