www.webdeveloper.com
Results 1 to 4 of 4

Thread: Sample Code

  1. #1
    Join Date
    Dec 2002
    Location
    Pensacola
    Posts
    263

    Sample Code

    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.
    Cheers!
    Rob

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    Code:
    <%@ 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.

  3. #3
    Join Date
    Dec 2002
    Location
    Pensacola
    Posts
    263
    PEofEo = the man

    Thanks a ton!
    Cheers!
    Rob

  4. #4
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles