Asp.net WCF-AspNetCompatibility和net.tcp绑定

Asp.net WCF-AspNetCompatibility和net.tcp绑定,asp.net,wcf,.net-4.5,Asp.net,Wcf,.net 4.5,我需要将我的WCF服务与ASP.Net兼容,因为我需要在ApplicationState中存储对象 如果我这样做了,我还可以对net.tcp端点使用相同的服务吗?当使用该net.tcp端点时,它还会通过Global.asax访问应用程序状态值吗?你说的暴露于ASP.net兼容性是什么意思?AspNetCompatibilityRequirementsAttribute.Required-

我需要将我的WCF服务与ASP.Net兼容,因为我需要在ApplicationState中存储对象


如果我这样做了,我还可以对net.tcp端点使用相同的服务吗?当使用该net.tcp端点时,它还会通过Global.asax访问应用程序状态值吗?

你说的暴露于ASP.net兼容性是什么意思?AspNetCompatibilityRequirementsAttribute.Required-