WCF handling CORS & Options VERB
问题 I have a wcf service hosted on IIS. Almost all the documents say that to enable cors, you should handle the OPTIONS VERB. (Pre-Flight Requests) I have a method whose signatures are : [OperationContract] [FaultContract(typeof(ExceptionManager))] [WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.WrappedRequest, UriTemplate = "PostLog")] string PostLog(List<LoginEntry> LoginLog); I have created an attribute