CodeNotes for ASP. NET
List Price: $19.95
Save 30.0%
You Pay: $13.96
Our eBook Library Software is required to purchase and download eBooks. Download it here.
Overview
CodeNotes provides the most succinct, accurate, and speedy way for a developer to ramp up on a new technology or language. Unlike other programming books, CodeNotes drills down to the core aspects of a technology, focusing on the key elements needed in order to implement it immediately. It is a unique resource for developers, filling the gap between comprehensive manuals and pocket references. CodeNotes for ASP.NET is a revolutionary update to Microsoft's Active Server Pages. This edition explores how Web applications and Web services can be developed using ASP.NET. The .NET architecture, Base Class Libraries, ASP.NET form designer, Web controls, and cross-page and cross-language debugging are discussed. Scaling ASP.NET to multiple servers, state management, security, and methods of enhancing performance are also covered. This edition of CodeNotes includes: - Real-world examples - "How and Why" and "Bugs and Caveats" sections that provide workarounds and tips on what should be taken advantage of or avoided - "Design Notes" illustrating many of the common use patterns for Java programs - Instructions and classroom-style tutorials throughout from experts Visit www.codenotes.com
Editorial Reviews
Editorial Reviews for this product are not available at this time.
Author Information
Bio of Gregory Brill
Gregory Brill is the series editor of CodeNotes and the founder and president of Infusion Development Corporation, a technology training and consulting firm that specializes in architecting securities trading and analytic systems for several of the world's largest investment banks. He has written for C++ Users Journal, and is the author of Applying COM+. He lives in New York.
Customer Reviews
There are no customer reviews available at this time. To add your review, Register or Sign In to your account using our free eBook Library Software.
Additional Info
Imprint
Random House Trade Paperbacks
Filesize
2.30 MB
Number of Pages
272
eBook ISBN
9780679647447
Excerpt from: CodeNotes for ASP. NET by Gregory Brill
Chapter 1
INTRODUCTION ASP.NET is Microsoft's new technology for developing web-based applications. The most significant feature of ASP.NET (formerly named ASP+) is that it allows you to develop web applications using the intuitive drag-and-drop methodology that made Visual Basic popular. Simply "paint" your application within an intuitive development environment, and it will look and behave identically when deployed on a client's browser. In addition to this noteworthy capability, ASP.NET boasts a number of improvements over the traditional Active Server Page (ASP) technology that you may be using today. These improvements, which we will examine throughout this book, are listed below.
STRONGLY TYPED AND COMPILED LANGUAGES
The languages used to write traditional ASP applications (VBScript and JScript) have two primary limitations. First, they are inherently typeless, meaning that they have no concept of variable types. For example, in VBScript all variables are implicitly Variants-there is no way to declare a variable as a more specific Integer or String. Second, these languages are interpreted, meaning that ASP translates an application's source on a line-by-line basis. If the fiftieth line of the application contains a syntax error, ASP must process the first forty-nine lines before the error will be detected.
With ASP.NET, applications are developed using strongly typed languages such as Visual Basic, C++, JScript.NET, or Microsoft's new language, C# (pronounced "C-sharp"). Furthermore, applications in ASP.NET are compiled, which means that the entire source file is quickly examined and converted into machine code before the application is executed. Compiled applications are not only significantly faster than their interpreted counterparts, they are also easier to debug since syntax errors can be caught at compile time (while you are developing), as opposed to runtime (when the application executes).
SEPARATION OF CODE FROM CONTENT
Another cumbersome aspect of ASP development is the interspersion of source code with HTML. Because ASP scripts contain both code and HTML, source files are often lengthy, difficult to read, and hard to debug. The intermixing of HTML with ASP code is particularly problematic for larger web applications, where content must be kept separate from business logic.
ASP.NET eliminates this problem by keeping the design and programmatic aspects of your application separate. One file contains the application's design (the HTML), whereas another file, called the CodeBehind file, houses its associated logic (the source code). Thus, developers can work on the application's code while designers and graphic artists independently work on its content











