To develop your first ASP.Net page, it can be created simply by taking an existing HTML file and changing its file name extension to .aspx. Create HTML page in examples folder that we configured in the last topic IIS Settings, then change its extension from .html to .aspx. Below is the code to develop your first ASP.Net page:
ASP.NET page developers can utilize code blocks to get the dynamic output. Following example will demonstrate you, how to use code blocks in simple HTML code.
<html> <head> <title>ASP.Net Code</title> </head> <body> <% Response.Write("Hello World!") %> </body> </html>
Save above code as example2.aspx
This asp.net example code will give you the output : Hello World!
Click here for more information about Visual Web Developer Express Edition to create your ASP .Net website.
Be the first to rate this post
Tags: create asp .net page
8/23/2008 9:06:11 PM