Results 1 to 2 of 2

Thread: Hello world in ASP.Net

  1. #1
    Join Date
    Jul 2008
    Posts
    99

    Hello world in ASP.Net

    Hello World in HTML

    Code:
    <html>
    <body bgcolor="Blue">
    <center>
    <h2>Hello world</h2>
    </center>
    </body>
    </html>
    save as .htm on notepad then open it in browser.


    Hello World in ASP.Net

    The simplest way to convert an HTML page into an ASP.NET page is to copy the HTML file to a new file with an .aspx extension.


    Code:
    <html>
    <body bgcolor="Blue">
    <center>
    <h2>Hello world</h2>
    </center>
    </body>
    </html>
    save the code in a file called "firstpage.aspx".

  2. #2
    Join Date
    Oct 2008
    Posts
    74

    Re: Hello world in ASP.Net

    The ASP.NET page above does not contain any executable code, so nothing is executed. An ASP.NET page has the extension .aspx. If a browser requests an ASP.NET page, the server processes any executable code in the page, before the result is sent back to the browser.

Similar Threads

  1. Replies: 3
    Last Post: 24-07-2010, 06:18 AM
  2. Replies: 2
    Last Post: 25-12-2008, 09:18 AM
  3. Hercules World's Biggest Dog by Guinness World Records
    By Russell in forum Off Topic Chat
    Replies: 5
    Last Post: 15-11-2008, 03:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,788,360.36811 seconds with 16 queries