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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-0180-9_5
Publisher Name: Apress
Print ISBN: 978-1-59059-681-4
Online ISBN: 978-1-4302-0180-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)