Contact UsSite Map
FAIL (the browser should render some flash content, not this).

Software Articles

How to create your first ASP.NET page

Although VisualStudio.NET Beta 2 is available with intellisense technology to help you develop ASP.NET applications quickly but you can even develop the ASP.NET pages using simple Notepad.

The root directory for ASP.NET pages is the same as that of simple ASP pages running under IIS. Let us assume that your root directory for ASP pages is C:\inetpub\wwwroot. You can also substitute it with your real root directory.

Now, make a new directory with name of "NET" under this root directory. This new directory is not needed but it is still better to keep ASP.NET pages separate from ASP pages.

Now, in C:\inetpub\wwwroot\NET folder create a new ASP.NET page with name as firstPage.aspx (notice the .aspx extension). To be able to run both ASP and ASP.NET pages side by side, ASP.NET pages have a separate extension; .aspx.

The installation process

The installation for ASP.NET premium edition is quite simple (since there is no documentation and samples) but before starting ASP.NET setup program, make sure that you have closed all open windows and applications.

FirstPage.aspx- ASP.NET page

Copy and paste the following C# (ASP.NET) code in the firstPage.aspx page and save it:


Running and testing the ASP.NET page:

To run firstPage.aspx page, open your browser and write http://localhost/net/firstPage.aspx in the URL box and hit enter.

You can contact us now by filling out this form and pressing the 'Send' button. All information is held confidentially.
Name:
Email:
Comments (400 Char Max) :
Watch out for your posting result here!
CES © 2004 - 2008 All Rights Reserved

                Privacy Policy  |  Terms Of Use