CSP Blobs between C# and C++ – Interoperation with the Microsoft Cryptographic API (CAPI)

If you have a requirement as follows:   Interoperate between C# & C++ using cryptographic blobs. Generate the private and public keys in C#. See code below:   public void GenerateKeys(out byte[] privateKey, out byte[] publicKey) {     using (var rsa = new RSACryptoServiceProvider(2048))     {         rsa.PersistKeyInCsp = false;         privateKey = rsa.ExportCspBlob(true);        …

0

Collecting diagnostics for WCF (hosted in IIS) & Web Service performance related issues

Say for example you are troubleshooting a high CPU or a slow response or a hang issue. For diagnostics collect the following from the server side: IIS Logs (Location: %SystemDrive%\inetpub\logs\LogFiles) FREB traces (see steps below) PerfView traces (see steps below) Dumps of the IIS worker process (w3wp.exe) hosting your WCF or Web service, captured during…

0

How the OS behaves in deciding when to use an extra CPU?

I typically got this question from a customer who was explicitly trying to know: How the OS behaves in deciding when to use an extra CPU to process COM+ requests? Ideally to answer this in one line I would have to say: there is no additional way for the OS to decide that a thread…

0

Internet Explorer 11 hosting a Drag & Drop ActiveX control advances from onDragEnter to OnDrop instead of onDragEnter -> onDragOver on Windows 10 x86 and x64 iexplore processes.

The issue as stated in the title is reproducible on fast dragging. See details below. This happens only when the ActiveX is hosted in IE11. The issue does not occur when the same ActiveX control is hosted on a Win Form application. To repro the issue here is what you need to do: Please refer…

0

WF: Delay activity in workflow as a concept

Recently, I have come across a case, where a lot of questions are being raised around delay activity (https://msdn.microsoft.com/en-us/library/system.activities.statements.delay(v=vs.110).aspx) in a workflow service application. To summarize, I am sharing the essence out of it. WF service Designed WF service (.xamlx) with a delay   Please note the Delay activity is introduced between ReceiveRequest and SendResponse.  It…


The TLS1.2 on .NET framework 3.5 using KB3156421 doesn’t work in the Windows 10 anniversary update.

We have an issue with usage of TLS v1.2 with .NET Framework version 3.5.1 on Windows 10 anniversary update, version 1607. KB3154518 suggests the support for TLS v1.2 included in the .NET Framework version 3.5.1. On Windows 10 version 1511 OS, the below repro code when built with .NET 3.5, runs successfully and uses TLS…

0