Creating Web Pages

ASP.NET web pages (also called web forms) make up the bulk of any given website. You create web pages to define your user interface. Web pages in ASP.NET have both a designer component and an event model. The designer enables you to define the controls and look of a given web page. The event model is used on the server to respond to user interaction (or events posted back to the server over HTTP). This section looks at the basics of both the web page’s designer and its event model.

Adding a Web Page to Your Website

The first step to working with web pages is adding one or more to your website. To do so, you use the Add New Item dialog box and select Web Form from the item templates. Figure 17.19 shows an example of adding ...

Get Microsoft® Visual Studio® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.