|What is ASP.NET?|
What is ASP.NET?
ASP.NET (formerly referred to as ASP+) is more than the next version of Active Server Pages (ASP); it is a unified Web development platform that provides the services necessary for developers to build enterprise-class Web applications. While ASP.NET is largely syntax-compatible with ASP, it also provides a new programming model and infrastructure that enables a powerful new class of applications. You can modify your existing ASP applications by incrementally adding ASP.NET functionality to them.
Both ASP and ASP.NET applications can run side by side on a server without adversely affecting each other. This is primarily due to the fact that separate file extensions (.asp versus .aspx) and separate configuration models (metabase/registry versus XML-based configuration files) are used between the two technologies. The two systems have totally separate processing engines.
ASP.NET applications will run on the latest versions of Internet Explorer and Netscape Navigator. This ability is due to ASP.NET's use of DHTML.
To run ASP.NET applications on your Web server you need a computer configured with the Microsoft .NET Framework.
Other Server-side Technologies
Common Gateway Interface applications are usually written in Perl or C. Since these are executeables on the server machine they have access to the operating system, and resources on the computer itself. And they are fast!
The problem is that CGI applications are difficult to debug. And if you have multiple users accessing a CGI application then server performance degrades because each application must run as a new process.
Internet Server API applications are DLLs implemented in C or Delphi (a Pascal-like language). Since they are DLLs, they do not require a separate process which makes it perform better against multiple users.
The problem is that since it is a DLL, if that DLL misbehaves it has the potential to bring down the entire server because the DLL works inside the server's main process.
See the WRConsulting website for more details.
Active Server Pages provides the ability to combine HTML, scripting, and server components that run on the server. These are created using VBScript or JScript. These applications can access databases.
The problem is that ASP applications are scripted not compiled which can make it hard to debug. Also because it is scripted performance is not optimal. And you are limited to VBScript and JScript.
See the Coastline.com website for more details.
Let's create a login page that verifies the user name and user password.
We can quickly add functionality to make sure that user had entered text into the user name and user password textbox control by using .NET's built-in validators without writing a single-line of code.
Most demos show you how to do the easy programming stuff and imply that it's really easy. And of course, you find out that it's really much much harder in real life.
Fortunately, this is not the case. ASP.NET is one of the easiest technologies for creating websites. In fact, msn.com is an ASP.NET web site and obviously so is our website.
|Copyright 1999-2019 by Cstructor LLC. All rights Reserved.|