The second day since I began to have a deep look at our header's news system.My note is as the following:
一、 EDContext.cs
简介:上下文类,主要是为了解决非法URL请示的问题,涉及到的类和方法有:
HttpContext(封装请示的Http信息)
NameValueCollection(通过键或索引访问的关联System键/值的集合)
Uri(统一资源标识符)
HttpContext.Server.MapPath(返回与Web服务器上指定的虚拟路径相对应的物理路径)
Thread.GetData(LocalDataStoreSolt solt) 从当前线程指定的槽中检索值
LocalDataStoreSolt(封装内存槽以存储本地数据) 此类无法继承
Thread.GetNamedDataSlot(查找已命名的数据槽)
Thread.SetData(LocalDataStoreSolt solt,object data)在当前正在运行的线程上为 此线程的当前域在指定槽中设置数据
Aticles类 Users类
posted on 2007-03-15 21:10
谢良威 阅读(29)
评论(0) 编辑 收藏