摘要:
当Config文件中开启 asp.Net兼容模式的时候<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />Server本身需加入以下代码, 以允许asp.net兼容模式, 而非Required模式(此点需特别注意) [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowe 阅读全文