-
.NET uses ASP.NET 2.0 for building web applications. In ASP.NET development, the C# programmer's job is to write the event handlers that respond to the user . Many of these events involve interaction with data.
-
As with Windows Forms, Visual Studio 2005 provides a visual design area where you can drag and drop controls onto the form surface.
-
The C# code for ASP.NET Web Forms runs on the server, not on the client. The server typically delivers only HTML to the browser.
-
Web Forms separate the visual part of the program from the logic. The interface is stored in a file with an .aspx extension. The logic, also called the code-behind file, is stored in a .cs file.
-
Like Windows Forms, Web Forms are event-driven and use the same system of delegates and events as Windows Forms do.
-
A postback event is one that causes the form to be sent to the server where event-handling code is run, and then the page is recreated and returned to the browser.
-
A non-postback event is one that does not force a postback. Non-postback events are handled when the next postback event is fired .
-
View state encodes the value of each control during the round trip to the server, so that the page delivered back to the browser retains these values.
-
Session state is used to maintain values across pages during a user's session.
-
ASP.NET provides a set of data-bound controls that enable the controls to respond automatically as the data is changed.