📄 aspnet_vsasp.asp@output=print
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ASP.NET vs ASP</title>
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />
<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</head>
<body>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
<h1>Differences between ASP and ASP.NET</h1>
<a href="aspnet_intro.asp"><img alt="previous" border="0" src="../images/btn_previous.gif" /></a>
<a href="aspnet_install.asp"><img alt="next" border="0" src="../images/btn_next.gif" /></a>
<hr />
<p class="intro">ASP.NET has better language support, a large set of new controls
and XML based
components, and better user authentication.</p>
<p class="intro">ASP.NET provides increased performance by running compiled code.</p>
<p class="intro">ASP.NET code is not fully backward compatible with ASP.</p>
<hr />
<h2>New in ASP.NET</h2>
<ul type="square">
<li>Better language support</li>
<li>Programmable controls</li>
<li>Event-driven programming</li>
<li>XML-based components</li>
<li>User authentication, with accounts and roles</li>
<li>Higher scalability</li>
<li>Increased performance - Compiled code</li>
<li>Easier configuration and deployment</li>
<li>Not fully ASP compatible</li>
</ul>
<hr />
<h2>Language Support</h2>
<p>ASP.NET uses the new ADO.NET.</p>
<p>ASP.NET supports full Visual Basic, not VBScript.</p>
<p>ASP.NET supports C# (C sharp) and C++.</p>
<p>ASP.NET supports JScript as before.</p>
<hr />
<h2>ASP.NET Controls</h2>
<p>ASP.NET contains a large set of HTML controls. Almost all
HTML elements on a page can be defined as ASP.NET control objects that can be
controlled by scripts.</p>
<p>ASP.NET also contains a new set of object oriented input controls, like programmable list
boxes and validation controls.</p>
<p>A new data grid control supports sorting,
data paging, and everything you expect from a dataset control.</p>
<hr />
<h2>Event Aware Controls</h2>
<p>All ASP.NET objects on a Web page can expose events that can be processed by
ASP.NET code.</p>
<p>Load, Click and Change events handled by code makes
coding much simpler and much better organized.</p>
<hr />
<h2>ASP.NET Components</h2>
<p>ASP.NET components are heavily based on XML. Like the new AD Rotator, that
uses XML to store advertisement information and configuration.</p>
<hr />
<h2>User Authentication</h2>
<p>ASP.NET supports forms-based user authentication, including cookie management
and automatic redirecting
of unauthorized logins.</p>
<p>(You can still do your custom login page and custom user checking).</p>
<hr />
<h2>User Accounts and Roles</h2>
<p>AS .NET allows for user accounts and roles, to give each user (with a given
role) access to different server code and executables.</p>
<hr />
<h2>High Scalability</h2>
<p>Much has been done with ASP.NET to provide greater scalability.</p>
<p>Server to server communication has been greatly enhanced, making it possible
to scale an application over several servers. One example of this is the ability
to run XML parsers, XSL transformations and even resource hungry session objects
on other servers.</p>
<hr />
<h2>Compiled Code</h2>
<p>The first request for an ASP.NET page on the server will compile the ASP.NET code
and keep a cached copy in memory. The result of this is greatly increased
performance.</p>
<hr />
<h2>Easy Configuration</h2>
<p>Configuration of ASP.NET is done with plain text files.</p>
<p>Configuration files
can be uploaded or changed while the application is running. No need to restart
the server. No more metabase or registry puzzle.</p>
<hr />
<h2>Easy Deployment</h2>
<p>No more server restart to deploy or replace compiled code. ASP.NET simply
redirects all new requests to the new code.</p>
<hr />
<h2>Compatibility</h2>
<p>ASP.NET is not fully compatible with earlier versions of ASP, so most of the old ASP
code will need some changes to run under ASP.NET.</p>
<p>To overcome this problem, ASP.NET uses a new file extension ".aspx".
This will make ASP.NET applications able to run side by side with standard ASP
applications on the same server.</p>
<hr />
<a href="aspnet_intro.asp"><img alt="previous" border="0" src="../images/btn_previous.gif" /></a>
<a href="aspnet_install.asp"><img alt="next" border="0" src="../images/btn_next.gif" width="100" height="20" /></a>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -