📄 aspnet_newfeatures.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 2.0 New Features</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>ASP.NET 2.0 - New Features</h1>
<a href="aspnet_dbconnection.asp"><img alt="previous" border="0" src="../images/btn_previous.gif" /></a>
<a href="aspnet_masterpages.asp"><img alt="next" border="0" src="../images/btn_next.gif" /></a>
<hr />
<p class="intro">ASP.NET 2.0 improves ASP.NET by adding several new features.</p>
<hr />
<h2>Improvements in ASP.NET 2.0</h2>
<p>ASP.NET 2.0 was designed to make web development easier and quicker.</p>
<p>Design goals for ASP.NET 2.0:</p>
<ul>
<li>Increase productivity by removing 70% of the code</li>
<li>Use the same controls for all types of devices</li>
<li>Provide a faster and better web server platform</li>
<li>Simplify compilation and installation</li>
<li>Simplify the administration of web applications</li>
</ul>
<hr />
<h2>What's New in ASP.NET 2.0?</h2>
<p>Some of the new features in ASP.NET 2.0 are:</p>
<ul>
<li>Master Pages, Themes, and Web Parts</li>
<li>Standard controls for navigation</li>
<li>Standard controls for security</li>
<li>Roles, personalization, and internationalization services</li>
<li>Improved and simplified data access controls</li>
<li>Full support for XML standards like, XHTML, XML, and WSDL</li>
<li>Improved compilation and deployment (installation)</li>
<li>Improved site management</li>
<li>New and improved development tools</li>
</ul>
<p><b>The new features are described below</b>.</p>
<hr />
<h2>Master Pages</h2>
<p>ASP.NET didn't have a method for applying a consistent look
and feel for a whole web site.</p>
<p><b>Master pages</b> in ASP.NET 2.0 solves this problem.</p>
<p>A master page is a template for other
pages, with shared layout and functionality. The master page
defines placeholders for content pages.
The result page is a combination (merge) of the master page and the content page. </p>
<p><a href="aspnet_masterpages.asp">Read more about master pages</a>.</p>
<hr />
<h2>Themes</h2>
<p>Themes is another feature of ASP.NET 2.0. Themes, or skins, allow
developers to create a
customized look for web applications.</p>
<p>Design goals for ASP.NET 2.0 themes:</p>
<ul>
<li>Make it simple to customize the appearance of a site</li>
<li>Allow themes to be applied to controls, pages, and entire sites </li>
<li>Allow all visual elements to be customized</li>
</ul>
<hr />
<h2>Web Parts</h2>
<p>ASP.NET 2.0 Web Parts can provide a
consistent look for a site, while still allowing user customization of style
and content.</p>
<p>New controls:</p>
<ul>
<li>Zone controls - areas on a page where the content is consistent </li>
<li>Web part controls - content areas for each zone</li>
</ul>
<hr />
<h2>Navigation</h2>
<p>ASP.NET 2.0 has built-in navigation controls like</p>
<ul>
<li>Site Maps</li>
<li>Dynamic HTML menus</li>
<li>Tree Views </li>
</ul>
<hr />
<h2>Security</h2>
<p>Security is very
important for protecting confidential and personal information.</p>
<p>In ASP.NET 2.0 the following controls has been added:</p>
<ul>
<li>A Login control, which provides login functionality</li>
<li>A LoginStatus control, to control the login status</li>
<li>A LoginName control to display the current user name</li>
<li>A LoginView control, to provide different views depending on login
status</li>
<li>A CreateUser wizard, to allow creation of user accounts</li>
<li>A PasswordRecovery control, to provide the "I forgot my password"
functionality</li>
</ul>
<hr />
<h2>Roles and Personalization</h2>
<p>Internet communities are growing very popular.</p>
<p>ASP.NET 2.0 has personalization features for storing user details. This
provides an easy way to customize user (and user group) properties.</p>
<hr />
<h2>Internationalization</h2>
<p>Reaching people with different languages is important if you want to reach a
larger audience.</p>
<p>ASP.NET 2.0 has improved support for multiple languages.</p>
<hr />
<h2>Data Access</h2>
<p>Many web sites are data driven, using databases or XML files as data sources.</p>
<p>With ASP.NET this
involved code, and often the same code had to be used over and over in different
web pages.</p>
<p>A key goal of ASP.NET 2.0 was to ease the use of data sources.</p>
<p>ASP.NET 2.0 has new data controls,
removing much of the need for programming and in-depth knowledge of data
connections.</p>
<hr />
<h2>Mobility Support</h2>
<p>The problem
with Mobile devices is screen size and display capabilities.</p>
<p>In ASP.NET, the Microsoft Mobile Internet Toolkit (MMIT) provided this
support.</p>
<p>In ASP.NET 2.0, MMIT is no longer needed because mobile support is
built into all controls.</p>
<hr />
<h2>Images</h2>
<p>ASP.NET 2.0 has new controls for handling images:</p>
<ul>
<li>The ImageMap control - image map support</li>
<li>The DynamicImage control - image support for different browsers</li>
</ul>
<p>These controls are important for better image display on mobile devices,
like hand-held computers and cell phones.</p>
<hr />
<h2>Automatic Compilation</h2>
<p>ASP.NET 2.0 provides automatic compilation. All files within a directory will be compiled on the first
run, including support for WSDL, and XSD files.</p>
<hr />
<h2>Compiled Deployment (Installation) and Source Protection</h2>
<p>ASP.NET 2.0 also provides pre-compilation. An entire web site can be pre-compiled. This provides an
easy way to deploy
(upload to a server) compiled applications, and because only compiled files
are deployed, the source code is protected.</p>
<hr />
<h2>Site Management</h2>
<p>ASP.NET 2.0 has three new features for web site configuration and management:</p>
<ul>
<li>New local management console</li>
<li>New programmable management functions (API)</li>
<li>New web-based management tool</li>
</ul>
<hr />
<h2>Development Tools</h2>
<p>With ASP.NET Visual Studio.NET was released with project and design features
targeted at corporate developers.</p>
<p>With ASP.NET 2.0, Visual Studio 2005 was released.</p>
<p>Key design features for Visual Studio 2005 include:</p>
<ul>
<li>Support for the features described above</li>
<li>Upload files from anywhere (FTP, File System, Front Page....)</li>
<li>No project files, allowing code to be manipulated outside Visual Studio</li>
<li>Integrated Web Site Administration Tool</li>
<li>No "build" step - ability to compile on first run</li>
</ul>
<p><b>Visual Web Developer</b> is a new free ASP.NET 2.0 tool for non-corporate
developers who don't have access to Visual Studio.NET.</p>
<hr />
<a href="aspnet_dbconnection.asp"><img alt="previous" border="0" src="../images/btn_previous.gif" /></a>
<a href="aspnet_masterpages.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 + -