Chapter 19

ASP.NET Web Programming

WHAT YOU WILL LEARN IN THIS CHAPTER

  • An overview of ASP.NET development
  • How to use ASP.NET server controls
  • How to send an ASP.NET postback to different pages
  • How to create ASP.NET Ajax postbacks
  • How to validate user input
  • How to manage state
  • How to add styles to a web page
  • How to use master pages
  • How to implement page navigation
  • How to authenticate and authorize users
  • How to read from and write to SQL Server databases

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=0123456789 on the Download Code tab. The code is in the Chapter 19 download and individually named according to the names throughout the chapter.

Windows Presentation Foundation is the technology for writing Windows applications; with ASP.NET you can build web applications that are displayed in any browser. ASP.NET enables you to write web applications in a similar way to Windows applications. This is made possible by server-side controls that abstract the HTML code and mimic the behavior of the Windows controls. Of course, there are still many differences between Windows and web applications because of the underlying technologies — HTTP and HTML — on which web applications are based.

This chapter provides an overview of programming web applications with ASP.NET, how to use web controls, how to deal with state management (which is very different from how it’s handled in Windows applications), how to perform ...

Get Beginning Visual C# 2012 Programming 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.