转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 站长学院 >> Web开发 >> 正文
ASP.NET 从Beta1 升级到 Beta2 的新变化         ★★★★

ASP.NET 从Beta1 升级到 Beta2 的新变化

作者:闵涛 文章来源:闵涛的学习笔记 点击数:3490 更新时间:2009/4/23 10:48:41
ystem.Web.Services.Configuration.SoapExtensionType should be internal, not public.

System.Web.Services.Configuration.SoapExtensionType and an inner enum, PriorityGroup should be internal. It is only used internally in System.Web.Services.dll (in the Configuration and Protocols namespaces under System).

         Added a property, ContainsListCollection, to System.ComponentModel.IlistSource

The updated IListSource would be:

interface IListSource {

bool ContainsListCollection { get; }

IList GetList();

}

This change should not require code changes.Only DataSet and DataTable currently implement this interface.

         Removed System.Web.UI.Design.WebControlToolboxItem::get_TagPrefix and System.Web.UI.TagPrefixAttribute.

Remove TagPrefix property of WebControlToolboxItem. Remove the TagPrefixAttribute class. These are no longer used by the Visual Studio.NET designer.

         Removed WebServiceRedirectException and WebServiceTimeoutException.

WebServiceRedirectException and WebServiceTimeoutException are not needed. This same information, along with much more, can be caught using the WebException from NCL.

         WSDL.exe changed method name to capitalize the first letter.

         Changed SoapElementAttribute and the other Soap*Attribute classes to be EncodedXmlElement, and so on.

All attributes that are currently Soap*Attribute will not be called EncodedXmlAttribute, since they are XML that is encoded and SOAP can use either of the following.

[SoapElement]public string Name;

[EncodedXmlElement]public string Name;

         RegexCharClass is now internal.

This class was only public so that expressions in compiled assemblies could call CharInSet. An additional method is being added to RegexRunner for this purpose. This class was private in Beta 1.  

         Regex.GroupNameFromNumber returns "" instead of null.

When a group could not be found, Regex.GroupNameFromNumber returned null.It now returns String.Empty.The method signature is unchanged.

string str = Regex.GroupNameFromNumber(1);if( str != null ) ConsumeGroupName(str);  

string str = Regex.GroupNameFromNumber(1);if( str != String.Empty ) ConsumeGroupName(str);

This does not appear to be used outside of its implementation.

         Moved System.Management Instrumentation classes/custom attributes from System.Management to System.Management.Instrumentation.

This change will affect DefaultManagementProjectInstaller, EventProvision, Instrumentation, ManagementInstaller, ProvisionFunction, ProvisionType Attributes:InheritedPropertyAttribute, InstrumentedAttribute, ManagedDefaultValueAttribute, ManagedNameAttribute, ManagedTypeAttr.

         A number of classes within System.Data, primarily associated with DataViews and DataViewManager, were marked as obsolete and have been removed,

         Deleted System.Web.UI.WebControls.OptionalIntegerConverter.

This type converter was added to allow showing a blank string in the properties window instead of "-1".This actually causes more problems than it solves, so it抯 being removed.

         Removed Indexed PixelFormat enums.

PixelFormat enums removed: Format1bppIndexed, Format4bppIndexed, Format8bppIndexed, Indexed.

         ProcessThreadCollection and ProcessModuleCollection have been marked "read only."

         Removed set_Item from the collections.

The default constructor is protected. A constructor that takes an array of modules/threads has been added.

         Generated SoapHeader variable names now end with "Value".

When WSDL.exe generates a proxy with SOAP headers specified in the WSDL, the SoapHeaders variable names now end with "Value".

         [XmlElement(*)] functionality has been replaced with [XmlAnyElement].

When you want to indicate that the XmlElement can take any xml, you formerly used the [XmlElement(*)] syntax. This has been replaced by the [XmlAnyElement] attribute.

         Changed GetWebRequest(string url) to GetWebRequest(Uri uri).

On the client protocol, there is a protected method that creates the new Web request for making the Web service call:

protected virtual WebRequest GetWebRequest(string url)

changed to    

protected virtual WebRequest GetWebRequest(Uri uri.

         WebClientProtocol and MimeReturnReader methods have been removed.

The following methods have been removed:

protected virtual void InitializeAsyncRequest(WebRequest request),

object internalAsyncState) {    ?SPAN style="mso-spacerun: yes">      }          

protected virtual void WriteAsyncRequest(Stream requestStream).  

         CodeIdentifiers methods have been removed.

The following methods that are no longer used In System.Xml.Serialization have been removed:

public class CodeIdentifiers {..}        

public void Remove(string identifier) {..}         

public void RemoveReserved(string identifier) {..}

         Breaking Change: Web.config true/false and enumeration values are case-sensitive.

All values of XML attributes are now case-sensitive, including boolean [true/false] and all enumeration values.

         Added System.Web.UI.TagPrefixAttribute.

Added TagPrefixAttribute (assembly-level attribute) to map namespaces to tag prefixes.

         IWebFormServices has been removed; IWebFormsDocumentService was added with similar functionality.

         System.Web.UI.Design.IwebFormReferenceManagerhas changed.

The following method has been added: Type GetObjectType(string tagPrefix, string typeName).

         Replaced System.Web.UI.Design.IWebFormsBuilderService with IWebFormsBuilderUIService.

The interface is the same except that the System.Web.UI.Design.IWebFormsBuilderUIService method takes an additional parameter of type UrlBuilderOptions.

         TemplateParser.ParseDesignerModeControl and ParseDesignerModeTemplate have changed.

This functionality has been moved into a class called DesignTimeTemplateParser.The methods are now called ParseControl and ParseTemplate. The methods take a parameter of type DesignTimeParseData. You use this class to pass in the parse text.

         Template-editing changes have been made for ASP.NET control designers deriving from TemplatedControlDesigner.

TemplateEditingFrame functionality has been split into ITemplateEditingFrame and TemplateEditingVerb.

         The old JScript CodeDom provider in System.dll has been removed.

The class Microsoft.JScript.CodeDomProvider has been moved from System.dll to Microsoft.JScript.dll.

         System.Web.Caching.Cache.MaxItems is obsolete and has been removed.

This property is not implemented.

         Passport 1.4 is now required.

ASP.NET now supports Passport 1.4, which requires the 1.4 build of the Passport SDK. There are no breaking changes, but PassportIdentity now supports AuthUrl2, LogoTag2, and LoginUser, which directly call the IPassportManager2 methods.

         Unknown SOAP headers cannot be required.

         DataRowState.New and DataViewRowState.New to DataRowState.Added and DataViewRowState.Added have changed.

Due to a recent change in the VISUAL BASIC compiler, VISUAL BASIC users now have to [bracket] any enum values with the name "New". If these aren''''t [bracket]ed, you will get an error when code is compiled.

         NameValueSect

上一页  [1] [2] [3] [4] [5] [6] [7]  下一页


[Delphi程序]升级到Delphi 6 - 兼容性问题(中文全文)  [Delphi程序]升级到Delphi 6 - 兼容性问题之三(完)
[Delphi程序]升级到Delphi 6 - 兼容性问题之二  [Delphi程序]升级到Delphi 6 - 兼容性问题之一
[Web开发]彻底放弃IIS让Apache也支持ASP.NET  [Web开发]ASP.NET 2.0发送电子邮件中存在的问题
[Web开发]ASP.NET 2.0移动开发之属性重写和模板化  [Web开发]ASP.NET 2.0中实现模板中的数据绑定
[Web开发]ASP.NET 母版页概述  [Web开发]ASP.NET 2.0 ObjectDataSource控件
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · Web开发  · 网页制作
    · 平面设计  · 网站运营
    · 网站推广  · 搜索优化
    · 建站心得  · 站长故事
    · 互联动态
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台