asp.net - Does IHttpModule module work with WCF service, -


i have wcf service. want each , request wcf operation scanned throughthe ihttpmodule module. not hitting ihttpmodule.

any highly appreciated.

httpmodules work wcf if run wcf service in asp.net compatibility mode. can enable asp.net compatibility mode either of following way.

  1. using web.config

    < system.servicemodel> < servicehostingenvironment aspnetcompatibilityenabled="true"/> < /system.servicemodel>

  1. using attribute

    [aspnetcompatibilityrequirements(requirementsmode = aspnetcompatibilityrequirementsmode.allowed)] public class service : iservice { // ... }


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

Redirect to a HTTPS version using .htaccess -