| only for RuBoard |
The following typographic conventions are used in this book:
Nearly every code sample in this book is provided in both Visual Basic.NET and C#. Some code samples are language-neutral, using only HTML and ASP.NET server controls, and are only provided once. In listings with multiple versions of the code sample, each portion will be identified by
[VB]
for Visual Basic.NET and
[C#]
for C#. Line
Code lines, commands, statements,
Placeholders in syntax descriptions appear in an italic mono typeface. Replace the placeholder with the actual filename, parameter, or element it represents.
Italics highlight technical terms when they're being defined.
The
icon is used before a line of code that is really a continuation of the
before a line of code, remember that it's part of the line immediately above it.
The book also contains Notes, Tips, and Cautions to help you spot important or useful information more quickly. Some of these are helpful shortcuts to help you work more
| only for RuBoard |
| only for RuBoard |
|
1 What Is ASP.NET? |
|
2 What Is ADO.NET? |
| only for RuBoard |
| only for RuBoard |
IN THIS CHAPTER
The Major Differences Between ASP and ASP.NET
Breaking Down the
Summary
At the same time that many Web developers were just starting to wrap their heads around Microsoft's Active Server Pages (ASP) 2.0, the development
ASP provided a relatively easy way to create dynamic Internet applications, but the developer still had to write too much code. Unlike other Microsoft products, such as Visual Basic, ASP required code to be written for everything rather than using intrinsic controls for commonly performed functions.
For instance, let's say you want to show the results of a database query in a table on an ASP page. Unless you're using Visual Interdev or have the Script Library, there's no way to drag-and-drop a data-based table on your page, bind it to a data source, and run the page. You have to create a pretty large mix of HTML elements and server script to accomplish this. ASP.NET
Don't panic. Learning ASP.NET will be challenging but fun. One of the great benefits of ASP.NET is that it can run side-by-side on the same installation of Internet Information Server (IIS) as ASP. You can continue to run and build your existing ASP applications while you learn how to build ASP.NET applications. As a matter of fact, most of the ASP object model was
This chapter will provide a brief overview of the major features of ASP.NET and the .NET Framework.
Note
This book is intended to teach you how to program ASP.NET and ADO.NET for data-driven Web applications. It is outside the scope of this book to teach you the basics of programming ASP.NET. This chapter is
In this chapter you will learn about:
The major differences between ASP and ASP.NET
HTML server controls
ASP.NET server controls
Server-side event handling
Multilanguage support
Web services
Session state management
| only for RuBoard |