WCF: POC for SAML Token Creation and Consumption
WCF: POC for SAML Token Creation and Consumption Agenda: We will understand how we can create a custom SAML token from code and how it can be used to test against a WCF service. Importance: This comes...
View ArticleOWIN cookies SignIn error with AD FS
Problem Statement: Claims aware web application logs in using ADFS for the first time successfully and then fails for all subsequent times when opened with new browser. The Web app is hosted on IIS and...
View ArticleWCF: CORS support for self-hosted WCF REST service
Problem statement WCF rest service is self-hosted. Client application is web based, and hosted on IIS. It makes cross-boundary call to the WCF service. However, it cannot complete the request as it...
View ArticleWCF/WIF: JWT Token Validator
Issue: Client > JWT Token -> REST Service -> SOAP Service Steps: ======== 1. User call the REST Web Service (Web API Service) 2. Web API service redirect the client to STS (Token Manager),...
View ArticleHow to rename the App Fabric service after renaming the server.
Issue: People generally rename the server without removing it from the AppFabric cache cluster. This causes the app fabric instance to no longer work correctly and it goes to a “DOWN” or “UNKNOWN”...
View ArticleWIF: Long live My Session – Session Authentication Module To Avoid STS Redirect
Issue: We are talking about problem where the SAML Token Validity Time set via custom STS is less (5 minutes) and we want to make sure NOT to redirect user every 5 min to get new SAML token. Default...
View ArticleWCF: Intermittent connectivity issue with private MSMQ – WCF stops reading...
Issue: WCF intermittently stops reading messages from the private local MSMQ, which will cause messages to get piled up. It will be cleared as soon as we browse the service or send a GET request to...
View ArticleWCF: FindBySubjectKeyIdentifier x509FindType search for client certificate
Problem Description WCF service is configured with basicHttpBinding, security mode Transport and client credential type certificate. This service is hosted on IIS (Windows server 2008 R2 or any other....
View ArticleHow to modify the RST/SCT request from WCF client to add a cookie in the header.
Issue: You have a WCF service using the security mode as “Message” and hosted behind a load balancer on 2 different servers. During a call from a client, it sets up the security context token with 1st...
View ArticleWCF: Mutual SSL Client Cert Authentication Guide With Sample App
Issue: Challenges while we try to use the SSL Mutual Authentication with Client Certificates for WCF service hosted on IIS....
View ArticleSSL/TLS – Introduction To CAPI2 Traces
Introduction:CAPI2 traces are part of windows OS and can be enabled from event viewer section. Very useful when we deal with SSL/TLS connectivity or client certificate validation issues. To enable: 1....
View ArticleHow to make wcf service read messages from messaging queue after IIS reset?
Problem Definition WCF service is not able to read messages from the private queue automatically after the application pool that hosts the service recycles. Overview of the Issue An IIS hosted WCF...
View ArticleSSL/TLS – Decrypt the encrypted network traces
Ask: As we know SSL/TLS is encrypted traffic using symmetric keys created during SSL/TLS handshake. Many a time we might need to decrypt this traffic to observe the request/response packets or client...
View ArticleAppFabric: Cumulative Update 7 For Microsoft AppFabric 1.1 for Windows Server...
Please visit below KB to get CU 7: https://support.microsoft.com/en-us/kb/3092423 To apply this fix, follow these steps: Upgrade the servers to the .NET Framework 4.5.2 or onward. Install the...
View ArticleThe TLS1.2 on .NET framework 3.5 using KB3156421 doesn’t work in the Windows...
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...
View ArticleWF: 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...
View ArticleInternet Explorer 11 hosting a Drag & Drop ActiveX control advances from...
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...
View ArticleCapturing Full User Mode Dumps & PerfView traces for troubleshooting high CPU...
Please note: below are the steps for capturing traces and not the way to analyze them. It is very essential to capture right traces before analyzing them to find a root case, essentially for high CPU...
View ArticleHow 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...
View ArticleCollecting diagnostics for WCF (hosted in IIS) & Web Service performance...
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:...
View Article