Calling Untrusted SSL HTTPS request using HttpClient give “Message=The remote certificate is invalid according to the validation procedure”

Scenario: +You want to deploy web application server (for example ASP.NET Web API) which require SSL certificate and HTTPS +You want to make a call to that server using HttpClient Problem: +You may see the following errors message when make a call to https required url using HttpClient HResult=-2146233079 Message=The…

Continue Reading Calling Untrusted SSL HTTPS request using HttpClient give “Message=The remote certificate is invalid according to the validation procedure”

Hello ASP.NET Web API

1. Create a simple ASP.NET Web API project with HTTP GET and POST method Create a simple Web API Controller like this: 2. Test the Web API using web browser or POSTMAN Navigate GET method by web browser http://localhost:3649/api/values in POSTMAN http://localhost:3649/api/values/1 in POSTMAN test HTTP POST method 3. Call…

Continue Reading Hello ASP.NET Web API