当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP.NET > ASP.NET 2.0 新特征
ASP.NET 2.0 improves ASP.NET by adding several new features.
ASP.NET 2.0 通过加入了多个新特性来对ASP.NET进行了加强。
ASP.NET 2.0 was designed to make web development easier and quicker.
ASP.NET 2.0 可让WEB开发更加简单更加快捷。
Design goals for ASP.NET 2.0:
ASP.NET 2.0的设计目标:
Some of the new features in ASP.NET 2.0 are:
在ASP.NET2.0中有一些新的特性:
The new features are described below.
下面将描述新特性
ASP.NET didn't have a method for applying a consistent look and feel for a whole web site.
ASP.NET 无法在外观上让整个WEB站点保持一致。
Master pages in ASP.NET 2.0 solves this problem.
在ASP.NET 2.0 里的主页就可以解决这个问题
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.
通过共享布局以及功能块,一个主页可针对其他页面成为一个模板。主页可以为内容页定义占位符。主页和内容页结合后就可以产生结果页。
Read more about master pages.[更多有关主页的信息]
Themes is another feature of ASP.NET 2.0. Themes, or skins, allow developers to create a customized look for web applications.
在ASP.NET2.0中还有个特性是主题,主题,或是皮肤,允许开发人员建立自定义的WEB应用程序外观。
Design goals for ASP.NET 2.0 themes:
设计ASP.NET2.0主题的目标是:
ASP.NET 2.0 Web Parts can provide a consistent look for a site, while still allowing user customization of style and content.
在允许用户自定义样式以及内容的前提下ASP.NET WEB部件可以提供站点一致的外观。
New controls:
新控件:
ASP.NET 2.0 has built-in navigation controls like
在ASP.NET2.0中有了内置的导航控件,像:
Security is very important for protecting confidential and personal information.
在保护机密以及个人信息上安全是非常重要的。
In ASP.NET 2.0 the following controls has been added:
在ASP.NET2.0 中加入了以下这些控件:
Internet communities are growing very popular.
互连网交流日趋流行
ASP.NET 2.0 has personalization features for storing user details. This provides an easy way to customize user (and user group) properties.
ASP.NET 2.0 拥有个性化特性可存储用户的详细资源。这可以提供一种简单的方法来自定义用户(以及用户组)的属性。
Reaching people with different languages is important if you want to reach a larger audience.
如果你想要影响到更多的人群,使用多种语言就非常重要。
ASP.NET 2.0 has improved support for multiple languages.
ASP.NET 2.0 改进了对多种语言的支持
Many web sites are data driven, using databases or XML files as data sources.
多数网站通过使用数据库或是XML文件来做为数据驱动。
With ASP.NET this involved code, and often the same code had to be used over and over in different web pages.
使用ASP.net 这是个很麻烦的代码,而且相同的代码必须在不同的页面里重复出现。
A key goal of ASP.NET 2.0 was to ease the use of data sources.
在ASP.NET 2.0中有个关键的目标就是要让数据源的使用更加轻松。
ASP.NET 2.0 has new data controls, removing much of the need for programming and in-depth knowledge of data connections.
asp.net 2.0拥有新的数据控件集,删除了很多需要编程以及深入了解数据连接知识的内容。
The problem with Mobile devices is screen size and display capabilities.
移动设备的屏幕尺寸以及显示性能是个问题
In ASP.NET, the Microsoft Mobile Internet Toolkit (MMIT) provided this support.
在ASP.NET 中,微软互联网移动工具箱(MMIT) 对这方面提供了支持
In ASP.NET 2.0, MMIT is no longer needed because mobile support is built into all controls.
在ASP.NET 2.0中,MMIT不再需要因为这些移动支持已经建立到所有控件中了。
ASP.NET 2.0 has new controls for handling images:
ASP.NET 2.0 有了处理图象的新控件:
These controls are important for better image display on mobile devices, like hand-held computers and cell phones.
这些控件对于在移动设备上显示更优质的图片起到了重要的作用,比如手提电脑以及个人电话
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.
ASP.NET 2.0 提供了自动的编译,所有在同一目录的文件会在第一次运行的时候进行编译,这包括对WSDL以及XSD文件的支持
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.
ASP.NET 2.0 还提供了预先编译,一个完整的站点可以进行预先编译。这就给上传编译后的应用程序提供了简单的方法,并且因为上传的只是编译后的文件,所以代码是受保护的。
ASP.NET 2.0 has three new features for web site configuration and management:
ASP.NET 2.0有针对网站设置以及管理的三个新特性:
With ASP.NET Visual Studio.NET was released with project and design features targeted at corporate developers.
定位于企业级的开发者 ASP.NET 可视化工作室跟随着工程对外释放了。
With ASP.NET 2.0, Visual Studio 2005 was released.
伴随着ASP.NET2.0 ,VS2005已经释放
Key design features for Visual Studio 2005 include:
在VS2005中几个关键的特性包括:
Visual Web Developer is a new free ASP.NET 2.0 tool for non-corporate developers who don't have access to Visual Studio.NET.
Visual Web Developer 是针对那些非企业应用并且不需要访问Visual Studio.NET开发者的免费新选择