saurabs

WCF: Verbose PII Tracing

WCF PII Verbose tracing ==== Depending on app built, update the machine.config file Add line:...

Author: Saurabh Somani Date: 06/18/2018

WS/WCF: Remove Server Header

Requirement: Need to suppress all instances of the HTTP ‘Server’ header from all HTTP responses...

Author: Saurabh Somani Date: 12/18/2017

WCF/WS: SSL Mutual Client Cert Authentication 403.16 or 403.7

Problem When attempting to use a certificate to authenticate to an IIS website or self hosted WCF...

Author: Saurabh Somani Date: 06/12/2017

WCF Tracing

WCF Tracing can be configured at three different levels. 1. WCF Verbose Traces: Recommended for DEV...

Author: Saurabh Somani Date: 06/12/2017

System.Net Tracing collection Steps

Ask: System.Net Tracing is very helpful to review SSL/TLS and socket level connection/communication...

Author: Saurabh Somani Date: 06/12/2017

ASMX/WS/WCF Web Service: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

Issue: Intermittent Socket exception seen on client application trying to fetch data from MS web...

Author: Saurabh Somani Date: 06/05/2017

WCF/WS/TLS: Get .Net Framework 4.0 application use TLS 1.2 as default protocol

Issue: By default, .net application built on framework 4.0 will use SSL3.0 or TLS1.0 as default...

Author: Saurabh Somani Date: 06/01/2017

WIF: WIF10201: No valid key mapping found for securityToken:

Issue: WIF10201: No valid key mapping found for securityToken: This exception is observed on a...

Author: Saurabh Somani Date: 04/27/2017

WCF: Federating WCF with WIF

Ask: Federate WCF service via WIF Traditional approach: For normal web app or MVC app, we follow the...

Author: Saurabh Somani Date: 04/24/2017

WCF: Message Security limitation with TLS 1.2 protocol

Issue: WCF Message Security breaks when using or forced to use TLS 1.1 or TLS 1.2 protocol. Re-pro...

Author: Saurabh Somani Date: 04/13/2017

SSL/TLS - Decrypt the encrypted network traces

Ask: As we know SSL/TLS is encrypted traffic using symmetric keys created during SSL/TLS handshake....

Author: Saurabh Somani Date: 10/31/2016

SSL/TLS - Introduction To CAPI2 Traces

Introduction:CAPI2 traces are part of windows OS and can be enabled from event viewer section. Very...

Author: Saurabh Somani Date: 10/27/2016

WCF: 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...

Author: Saurabh Somani Date: 09/15/2016

WCF: Intermittent connectivity issue with private MSMQ - WCF stops reading messages from queue

Issue: WCF intermittently stops reading messages from the private local MSMQ, which will cause...

Author: Saurabh Somani Date: 09/08/2016

WIF: 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...

Author: Saurabh Somani Date: 09/08/2016

WCF/WIF: JWT Token Validator

Issue: Client > JWT Token -> REST Service -> SOAP Service Steps: ======== 1. User call the...

Author: Saurabh Somani Date: 09/05/2016

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...

Author: Saurabh Somani Date: 07/31/2016

WCF: Life behind SSL Offloader

WCF: Exposing and consuming WCF service behind SSL Off loader Problem Statement: Service external...

Author: Saurabh Somani Date: 03/24/2016

WCF: How to send two different client certificates as credentials at both Transport and Message Level

WCF: How to send two different client certificates as credentials at both Transport and Message...

Author: Saurabh Somani Date: 03/07/2016

WCF: Review System.Net and Network traces for Windows Authentication/Delegation based troubleshooting

WCF: Review System.Net and Network traces for Windows Authentication/Delegation based...

Author: Saurabh Somani Date: 03/07/2016

WCF: Introp - Signing without primary signature requires timestamp.

WCF: Introp - Signing without primary signature requires timestamp. Security Requirement: SSL...

Author: Saurabh Somani Date: 03/07/2016

WF: Running Work Flow application on FIPS (The Federal Information Processing Standard) complaint Machines.

WF: Running Work Flow application on FIPS (The Federal Information Processing Standard) complaint...

Author: Saurabh Somani Date: 03/07/2016

Negotiate v/s NTLM

Definitions: Negotiate: Microsoft Negotiate is a security support provider (SSP) that acts as an...

Author: Saurabh Somani Date: 12/30/2015

WCF: SSL/TLS Failure during Add Service Reference (System.Net.Security.SslState.ProcessAuthentication)

Issue: WCF Client application unable to consume web service metadata over SSL. Symptoms: Unable to...

Author: Saurabh Somani Date: 09/23/2015

WCF: Net.Pipe - Endpoint not found exception - Admin/Non Admin mode

Issue Definition: Following error reported from client app calling the WCF service over net.pipe....

Author: Saurabh Somani Date: 09/08/2015

WCF: Client Certificate Sample/POC Using MakeCert.exe

Issue: I came across one customer who was working on a POC project to demonstrate the usage of...

Author: Saurabh Somani Date: 08/27/2015

WCF: Unable to add service reference - System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission' failed" - after installing KB 2938782

Issue: Client app: Console Application running with Partial Trust Functionality broken: Add Service...

Author: Saurabh Somani Date: 08/20/2015

WCF: Time to learn SPN with WCF Kerberos Delegation

What is Kerberos Delegation: Kerberos Delegation allows us to reuse the client credentials to access...

Author: Saurabh Somani Date: 08/12/2015

WCF: Delegation at Message Level security

Basics: Review this article to get familiar with basic settings needed for WCF delegation....

Author: Saurabh Somani Date: 05/27/2015

WCF: WCF (xmlSerialization) dropping certain properties of an object during serialization

Task: To consume the JavaService from a WCF client application. Issue: WCF Client using XML...

Author: Saurabh Somani Date: 04/24/2015

WCF: Unable to handle load (SSL and client cert authentication) - MaxPendingAccept limitation

Issue Definition: WCF unable to handle load from multiple client when running with (Transport...

Author: Saurabh Somani Date: 04/17/2015

ASMX: Event code: 3005 : InvalidOperationException : Request format is unrecognized for URL unexpectedly ending in '/URL'.

Issue Definition ASMX web service hosted over IIS. Intermittently we observe following error being...

Author: Saurabh Somani Date: 04/17/2015

WCF: Concept of FLAT WSDL

Ask: Java Client (Non.Net client) unable to consume the WCF service WSDL document. Reason: After...

Author: Saurabh Somani Date: 04/13/2015

Custom Binding: Unified solution for many problems.

Custom Binding: Unified solution for many problems.

Author: Saurabh Somani Date: 04/24/2014

Reading/Understanding - Signed Soap Envelopes

Hope this help in understanding/reading the signed soap envelopes !

Author: Saurabh Somani Date: 04/24/2014

WCF: REST WCF Integration with HTML 5 and Windows 8 Store Applications

Issue: I happen to work with this customer where they required to consume the REST WCF service...

Author: Saurabh Somani Date: 02/11/2014

WCF: Discover In WCF World

What is service identity in WCF WSDL ? For normal basicHttpBinding we use one directional...

Author: Saurabh Somani Date: 01/13/2014

WCF: INTEROP - SCENERIOS

WCF: INTEROP Pushpa Yadav (Microsoft India GTSC)...

Author: Saurabh Somani Date: 07/11/2013

WCF: Observing Message ProtectionOrder

WCF: Observing Message ProtectionOrder Objective 1: Impact of Protection Order Objective 2: How to...

Author: Saurabh Somani Date: 05/07/2013

WCF: Dual Layer Encryption (Message + Transport)

WCF: Dual Layer Encryption (Message + Transport) What I want to do ? I want to encrypt the Message...

Author: Saurabh Somani Date: 05/03/2013

Live Debugging - Manage Code

Live Debugging - Manage Code Introduction: We will learn how to use windbg to perform Live debugging...

Author: Saurabh Somani Date: 04/18/2013

WCF: Debugging WCF Throttling

Behavior: w3wp process stops responding to the incoming request and recycling app pool fixes the...

Author: Saurabh Somani Date: 01/23/2013

WCF: Transport Layer Security - with client certificates

WCF-Transport Layer Security - with client certificates Requiremnt: HTTPS/SSL Channel Authentication...

Author: Saurabh Somani Date: 11/23/2012

WCF: Handling multiple IIS bindings

WCF: Handling multiple IIS bindings - This collection already contains an address with scheme http...

Author: Saurabh Somani Date: 11/21/2012

WCF: Transport Security with User Name + Client Certificate

WCF: Transport Security with User Name + Client Certificate Vast world of WCF provides endless...

Author: Saurabh Somani Date: 09/14/2012

WCF: Learning Impersonation and Delegation

Configure DC: Please follow link to configure your domain controller....

Author: Saurabh Somani Date: 08/28/2012

WCF: Troubleshooting Socket Abort Errors

WCF: Troubleshooting Socket Abort Error...

Author: Saurabh Somani Date: 08/16/2012

WCF: Create client proxy – For WCF service running on SSL – with client certificate

WCF: Create client proxy – For WFC service Running On SSL – With Client Certificate...

Author: Saurabh Somani Date: 07/31/2012

WCF: Learning Impersonation

Learning Impersonation in WCF services What is Impersonation ? Ability of a thread to execute in a...

Author: Saurabh Somani Date: 07/16/2012

Next>