Thursday, March 16, 2017

Web api 2 file download result

To download a file from web api 2 controller method, the approach described in this article works well:

http://stackoverflow.com/questions/21533022/web-api-2-download-file-using-async-taskihttpactionresult

No comments:

c# httpclient The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch

 If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...