摘要: 为此对象添加KnownType属性(Attribute)。类型为用接口声明的属性(Property)的所有可能类型。示例如下: 1 public interface IKey 2 { 3 [DataMember] 4 int Id { get; set... 阅读全文
posted @ 2014-11-19 11:36 沼泽地 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 获取网站物理路径: HttpRuntime.AppDomainAppPath 获取网站虚拟路径: HttpRuntime.AppDomainAppVirtualPath 阅读全文
posted @ 2014-11-19 11:13 沼泽地 阅读(166) 评论(0) 推荐(0) 编辑