I've been added aspNetCompatibilityEnabled="true"
attribute to serviceHostingEnvironment config in my WCF service project, AspNetCompatibilityRequirementsMode.Required
to service, but still get null HttpContext.Current value in ReadMessage. How to fix this problem?
I use custom binding with http transport + custom host factory.
Asked
Active
Viewed 56 times
0

user3365370
- 41
- 5
-
I found that problem persists only with long-length requests (126kb for example). – user3365370 Oct 24 '16 at 14:32
-
Could you share your configuration file? – Ricardo Pontual Oct 31 '16 at 10:09
-
@Ricardo Pontual [webconfig.txt](https://ru.scribd.com/document/329497243/Web-Config) – user3365370 Oct 31 '16 at 10:24