Click to See Complete Forum and Search --> : Sample Code


Nicodemas
07-01-2004, 04:41 AM
Hello all,

looking at getting my feet wet in the .NET pool and I wonder if there is a sample piece of code out there I can throw on my server to see if it supports ASP.NET.

PeOfEo
07-01-2004, 09:56 AM
<%@ Page enableViewState="False" Language="VB" debug="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
</head>
<body>
<% response.write("your server supports asp.net") %>
</body>
</html>

That should do it, if this response.writes it works. You can use code blocks <% %> just like asp classic in asp.net.

Nicodemas
07-01-2004, 10:44 AM
PEofEo = the man

Thanks a ton!

PeOfEo
07-01-2004, 04:06 PM
:D No problem