Skip to main content

Summary

This chapter has introduced you to ASP.NET programming. The project in this chapter taught you how to take the code from the Windows Forms program you wrote in Chapter 4 and transfer it here.

While all the code was transferred directly, you saw that it did not work unless some modifications were made. Generally, the modifications involved solving session management issues. Here is a list of what you learned in this chapter:

  • Server controls can be thought of and manipulated in the VWD IDE in much the same way as similar controls in the C# IDE.

  • ASP.NET separates the design code from the business logic code into separate files. This allows different people to work on different aspects of the same page with no conflicts.

  • Each server control sends its events back to the server to be handled in C# code. This allows for stronger data typing and lets you use the full potential of the .NET Framework classes.

  • Some minor events are cached in the browser until a major event, such as a button being clicked, happens. This can be overridden with the AutoPostBack property of the control.

  • Session state is needed to remember values between round trips to and from the server and the browser.

The next chapter will take you back to DotNetNuke. This WebPunch project will eventually be turned into a DNN module for inclusion in your DNN project.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Nick Symmonds

About this chapter

Cite this chapter

(2006). Visual Web Developer. In: Beginning DotNetNuke 4.0 Website Creation in C# 2005 with Visual Web Developer 2005 Express. Apress. https://doi.org/10.1007/978-1-4302-0180-9_5

Download citation

Publish with us

Policies and ethics