How 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 server during the “RST/Issue” and receives an affinity cookie.   However, the “RST/SCT” call goes to a different…

0

WCF: 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. In order to communicate with the service, consumer presents client certificate as a credential type. However, client application fails while creating the channel factory with message…


How 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” state. PS C:\Users\> get-cachehost get-cachehost : ErrorCode:SubStatus:Cache host old_name.domain is not reachable. At line:1 char:1 + get-cachehost + ~~~~~~~~~~~~~     + CategoryInfo          :…

0

WCF/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), after presenting the correct credentials. User Get the JWT token. 3. Now Web API makes the call to WCF SOAP Service…

0

WCF: 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 fails with “405 – method not allowed” response. What could be done to address the cross-boundary communication in WCF? CORS JavaScript and the…


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 handle when we need to work on Interop scenarios and handle the received SAML tokens from Java Clients….

0