Introducing ASP. NET 2.0 (Introduction to ASP. NET 2.0)

Source: Internet
Author: User
This is the first time I have translated my work, so I still have many shortcomings. Please give me some advice. This article is for translation in my spare time, so in some places the translation is not accurate enough and I have not specialized in searching professional dictionaries, some statements have not yet been translated, so I hope you will bear with me that we will continue to improve in the future and try to do better, because the first translation will certainly have many errors, so we will post them together with English, I hope you can criticize and correct each other.

Introducing ASP. NET 2.0

ASP. Network 2.0Introduction

 

Http://www.c-sharpcorner.com/UploadFile/anandn_mvp/IntroducingASP.NET2.005292006112235AM/IntroducingASP.NET2.0.aspx


ByAnand narayanaswamy May 30,200 6

AuthorAnand narayanaswamy2006Year5Month30Day

Translator:Sparon 2006Year5Month30Day

In this article, the author examines the fundamentals of ASP. NET 2.0

In this articleArticleLi,The author studiedASP.Net 2.0Basic principles.

 

ASP. NET is an excitingServerSide technology used for developing web based applications. it uses the namespaces, classes and methods provided by. net Framework. ASP. NET 2.0 is the popular framework and latest among developers. nowadays, developers are working to convert existing ASP. NET 1.1 applications to 2.0 to take advantage of its rich features. ASP. NET 2.0 has simplified the work of developers by providing controls new controls. you can perform all tasks using wizards. there is no need to write long lines of code evenDatabaseAccess.

ASP. NETIs an exciting server-side developmentWebFramework Language.It uses namespaces, classes, and methods

In this article, you will learn how to Develop ASP. NET 2.0 applications with C # programming language.

In this article,You will learn how to useC #Language DevelopmentASP. NETApplicationProgram.

Basic Requirements

Basic Requirements

You need a computer with a minimum of 512 MB of Ram to properly develop and execute ASP. NET applications. firstly, you shoshould install. net Framework SDK 2.0. the SDK can be downloaded from the website of Microsoft.

Your computer requires minimum memory512 MBTo runASP. NETApplications.First,You must install. NET Framework sdks 2.0.You canMicrosoftDownload the site to thisSDK.

Visual Studio 2005 is not compulsorily required for developing ASP. NET applications. you can make use of notepad as an editor for entering source codes. visual Studio 2005 will greatly simplify the development task as you can drag and drop controls from the toolbox. it also comes with intelliisense which will help you to complete the code. I will show you how to make use of both these editors for developing ASP. NET applications.

DevelopmentASP. NETNot RequiredVisual Studio 2005.You can also use NotePad to writeSource code, Visual Studio 2005The procedure is simplified.,You just need to drag and drop the control from the toolbox to the design window..I will teach you how to use the two to createASP. NETApplications.

You can also use Visual Web Developer express which is available for download free of cost. microsoft had recently announced that express versions will be always free. it is a light weight editor and its interface looks like Visual Studio 2005.

You can also useVisual Web Developer Express,It is downloaded for free. Microsoft recently announced that the trial version will always be free of charge. This is a simplified Editor,But its interface looks likeVisual Studio 2005

I assume that you have installed. net Framework 2.0 on your system. notepad comes with the Windows operating system so there is no need to install it separately. let us examine how to write a simple ASP. net program with notepad as the editor.

Assume that you have installed. NET Framework 2.0.Notepad isWindowsAdditional installation is not required..Let's study how to use NotePad to writeASP. NETInstance Program.

Fire up Notepad, enter the following code and save the file as welcome. aspx. This file is called as a webform. Each and every ASP. NET page is termed as a webform.

Open notepad,Enter the followingCodeAnd saveWelcome. aspx.

<% @ Page Language = "C #" %>
< Script Runat = "Server">
Void Button#click ( Object Sender, Eventargs E)
{
Textbox1.text = "Welcome to ASP. NET" ;
}
</ Script >
< Html >
< Head >
</ Head >
< Body >
< Form ID = "Form1" Runat = "Server">
< P >
< ASP : Textbox ID = "Textbox1" Runat = "Server"> </ ASP : Textbox >
</ P >
< P >
< ASP : Button ID = "Button1" Onclick = "Button#click" Runat = "Server" Text = "OK"> </ ASP : Button >
</ P >
</ Form >
</ Body >
</ Html >

Enter the URLHttp: // localhost/welcome. aspxTo execute the above program.

InputHttp: // localhost/welcome. aspxExecute the above program.

A server with the specific port will be started if you use Visual C #2005 express for executing the above program. You can locate the server on the taskbar.

If you useVisual C #2005 ExpressTo run the above program,The server uses a special port to run the program..

In the above Code, we have placed a Textbox Control and a button control. When the user clicks the button the text "Welcome to ASP. NET" will be displayed on the textbox.

In the above program,I placed a text box and a button..The text box is displayed when you click the button."Welcome to ASP. NET ".

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.