I have the following questions in the context of WCF in .NET Core
- We are sending the authentication headers in the WCF call using the WebOperationContext.
WebOperationContext.Current.OutgoingRequest.Headers[HttpRequestHeader.Authorization] = token
What is the alternative in the context of .Net core ?
- We want to disable the ssl certificate validation during testing phase. For that we used to register for ServicePointManager.ServerCertificateValidationCallback += this.certValidationCallback;
What is the alternative in the context of Wcf .Net core ? Not sure whether WinHttpHandler would work in the context of WCF ?