Chapter 19. ASP.NET Web Programming


Visual Basic .NET Unleashed
By Paul Kimmel
Table of Contents
Part IV.  Building Web Services

In This Chapter

  • Web Forms

  • Using Request and Response


  • Output Caching

  • Performance Considerations

  • Rendering Controls

  • Dynamically Adding Controls to a Page

  • Creating Custom Web Controls

  • Summary

From the perspective of someone who loves object-oriented code, I am not a big fan of ASP. Relative to pure Visual Basic, ASP produces spaghetti code because it is a heterogeneous mixture of HTML and script. Fortunately, this is one of the challenges undertaken by the ASP.NET developers: clean up ASP.

ASP.NET aims squarely at providing a rich user interface for multiple browsers, separation of client and server, stateless execution, simplifying data access, and enhancing scalability. ASP.NET does all of these things nicely . In addition to making the ASP.NET experience more like programming, developers benefit from the .NET Framework object model, having access to all of the CLR. ASP.NET is an event-driven programming environment. Although you do not have as many events in Web Forms as in Windows Forms, ASP.NET supports a rich, interactive, event-driven model. ASP.NET renders browser-independent applications by dynamically generating HTML based on the manufacturer and version of the browser. ASP.NET provides intuitive state management mechanisms, security, and scalable performance.

Chapter 19 introduces you to some of the aspects of ASP.NET from the Visual Basic .NET programmer's perspective. If you are intent on ASP.NET development, consider buying and reading either of these books from Sams Publishing: ASP.NET: Tips, Tutorials, and Code by Doug Seven et al. or Programming Data-Driven Web Applications with ASP.NET , by Donny Mack and Doug Seven. These authors maintain a Web site at

In this chapter, we will take a look at creating ASP.NET applications using Web Forms, caching, and state management, and creating server controls.


Visual BasicR. NET Unleashed
Visual BasicR. NET Unleashed
Year: 2001
Pages: 222 © 2008-2017.
If you may any questions please contact us: