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