(C#) System.Net.Security.RemoteCertificateValidationCallback
and System.Net.ServicePointManager.ServerCertificateValidationCallback Event
Example:
Code: Select all
ServicePointManager.ServerCertificateValidationCallback += new System.Net.Security.RemoteCertificateValidationCallback(_TrustAllCertificates);
private static bool _TrustAllCertificates(object sender, X509Certificate cert, X509Chain chain, System.Net.Security.SslPolicyErrors error)
{
return true;
}
Description\Issue: I am currently unable to use CSHTML5's System.Net.WebClient class to communicate over HTTPS with a server who's SSL certificate fails to validate. There are valid cases for SSL certificates failing to validate - for example, my own server uses a certificate for my primary domain, but I have a partner that uses a domain alias for their branded customers, and that alias is not included in my certificate, because the aliased domain does not belong to me, which causes all WebClient WebRequests to that alias to fail because the domain names don't match. This is a huge problem for me, and prevents me from using CSHTML5 to develop applications for customers with SSL issues.
I may lose several projects I have upcoming in the next 2 weeks due to this feature missing.
(XAML) Path.Clip Property
Example:
Code: Select all
<Path ... Clip="{Binding RelativeSource={RelativeSource Self}, Path=Data}"/>
Description\Issue: This allows me to clip a Path object using another Path Object.
(XAML) Path.StrokeThickness="{NEGATIVE VALUE; ie -10}"
Example:
Code: Select all
<Path ... StrokeThickness="-5"/>
Description\Issue: This allows you to specify that a Path's StrokeThickness is applied only on the INSIDE of the path, rather than centered on the path.
Example StrokeThickness="10"
Example StrokeThickness="-10"