Contents tagged with .Net
-
Calling Web Services That Use Self-Signed Certificates
When you try to call a web service that uses a self-signed certificate from a client application you get the following error:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. -
Escaping/Unescaping XML Data
With as popular as XML is, when creating XML files you need to be able to escape certain characters that will not parse correctly if they are not escaped. Until recently I always did this like most other .Net programmers, I wrote a function to do it.
-
Random Number in C#, Be careful of some of the samples you find.
I recently came across this code on the internet for generating a random number with C#.