新建一个Asp.net Ajax-Enabled Web Site,using发现多了13个namespace.如下
asp.net ajax命名空间using Microsoft.Web.Configuration;
asp.net ajax命名空间
using Microsoft.Web.Handlers;
asp.net ajax命名空间
using Microsoft.Web.Profile;
asp.net ajax命名空间
using Microsoft.Web.Resources;
asp.net ajax命名空间
using Microsoft.Web.Script.Serialization;
asp.net ajax命名空间
using Microsoft.Web.Script.Services;
asp.net ajax命名空间
using Microsoft.Web.Security;
asp.net ajax命名空间
using Microsoft.Web.UI;
asp.net ajax命名空间
using Microsoft.Web.UI.Compatibility;
asp.net ajax命名空间
using Microsoft.Web.UI.Controls;
asp.net ajax命名空间
using Microsoft.Web.UI.Controls.Design;
asp.net ajax命名空间
using Microsoft.Web.UI.Design;
asp.net ajax命名空间
using Microsoft.Web.Util;
安装asp.net ajax 1.0 beta时,Microsoft.Web.Extensions.dll被注册到GAC(全局命名空间,C:\WINDOWS\assembly),所以以为都是Microsoft.Web.Extensions.dll中的命名空间。用vs2005的object brower看了一下Microsoft.Web.Extensions.dll:
asp.net ajax命名空间
只有几个namespace.
这四个多出的命名空间是从哪里来的?
using Microsoft.Web.Profile;
using Microsoft.Web.Resources;
using Microsoft.Web.Security;
using Microsoft.Web.Util;

相关文章: