Loading...
Jumping from ASP to ASP.NET
ISBN: 978-0-470-39184-6
44 pages
While making the jump from Classic ASP to ASP.NET 3.5 can seem like a daunting task, and while there is no automatic way to convert an existing Classic ASP web site over to ASP.NET, building a web site in ASP.NET from the ground up is very straightforward.
To help make the conversion as easy as possible, you’re first presented with some Classic ASP code that you would have used to perform a given task, then shown the equivalent ASP.NET code as well as a discussion and explanation of the new code.
Lastly, while most Classic ASP developers will be coming from a background strongly rooted in VBScript, this article uses C# instead of VB.NET throughout. However, this shouldn’t deter you in the slightest because it’s assumed that you have no prior knowledge of C# or of ASP.NET in general.
Table of Contents
ASP versus ASP.NET 1
The Languages 2
Classic ASP: Interpreted Code 2
ASP.NET: Compiled Code 3
The Development Environments 4
Object-Oriented, Event-Driven Applications 5
. . . And the Winner Is . . . 9
Getting Started 10
Setting up Your Development Environment 10
Setting up Your Database 12
Building WroxPlay 17
Creating the UI . . . Include Files Are out! 18
Maintaining the State of a Form 23
Working with a Database 30
CDONTS or CDO — Sending E-mail 37
Wrapping up 39
About Doug Parsons 40
Usage Rights for Wiley Wrox Blox
Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:
If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).