Friday, February 7, 2014

Display svg image in asp.net and sharepoint 2010

http://forums.asp.net/p/1083772/1714230.aspx?Re+SVG+with+ASP+NET+

Using suggestion in the above post, I created a .html file instead of .aspx file which simply has all the .svg file xml in it. And then the svg image was displayed in another .aspx file as

<!-- World map start -->
<div class="worldMap">
<embed src="/images/WorldMap.html" width="100%" height="100%" type="image/svg+xml">
 </div>
<!-- World map end -->

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...