Summary

This chapter introduced ASP.NET Web pages. It showed a simple Web page and demonstrated how ASP.NET still supports the traditional ASP programming model. Further, ASP.NET builds upon that model with special Web page controls and code-behind Web pages.

ASP.NET supports three different types of controls: server, validation, and HTML. Server controls correspond to HTML tags in addition to providing more sophisticated controls that can be manipulated programmatically. Validation controls permit various types of checks to be made on server controls before a Web page is posted back to the server. HTML controls mirror the HTML tags and can be manipulated at the server.

Controls may be manipulated at the server by both on-page code and code-behind ...

Get C# 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.