Distributed Services: Notes from the field
One Stop for Windows Communication Foundation, Microsoft Distributed Services and Com+ Solutions
WCF: DateTime localization challenge
Issue 1. Client desktop application consumes WCF service. 2. WCF service communicates with SQL...
Author: Purna Chandra Panda (MSFT) Date: 04/19/2016
WCF: Custom encoder to read MTOM response
Today I will talk about one of the weird issues related to encoder. Issue Client application should...
Author: Purna Chandra Panda (MSFT) Date: 03/08/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
COM: Intermittent error 800703fa: Illegal Operation attempted on a registry key
Intermittent error 800703fa: Illegal Operation attempted on a registry keyYou may encounter the...
Author: Saurabh Somani Date: 03/01/2016
Troubleshooting WIF ID3206 Error
Problem Statement While trying to browse to a WIF enabled application -...
Author: Purna Chandra Panda (MSFT) Date: 01/22/2016
WCF: Forward compatibility issues with DataContractSerializer
Problem statement .Net objects are referenced in cyclic (mutual) nature. DataContractSerializer...
Author: Purna Chandra Panda (MSFT) Date: 01/08/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
HTTP 503 Service Unavailable due to Reserved URI
Problem Statement I have a WCF REST service hosted on the IIS. The URL to invoke the method of the...
Author: Purna Chandra Panda (MSFT) Date: 12/24/2015
WCF: Suppress multiple 401s in windows authentication
This case study is about discussing 401 challenges in case of windows authentication for WCF service...
Author: Purna Chandra Panda (MSFT) Date: 12/12/2015
XML signature & digest verification
.NET SignedXml class was only designed to adhere to the XMLDSIG specification. It has no knowledge...
Author: Shamik Mi - MSFT Date: 12/04/2015
Authenticated Encryption - CAPI2 does not support authenticated encryption mode
Authenticated Encryption (AE) or Authenticated Encryption with Associated Data (AEAD) is a block...
Author: Shamik Mi - MSFT Date: 12/03/2015
CAPI2 code that will try to translate a CSP handle into a CNG handle
This blog post is with respect to CAPI2 and CNG. We might encounter situations where in our CAPI2...
Author: Shamik Mi - MSFT Date: 11/17/2015
Troubleshooting: 413: Request size too large with WCF Service
Troubleshooting: 413: Request size too large with WCF Service Problem Statement: A WCF service...
Author: Ashutosh Tripathi( MSFT) Date: 10/27/2015
Debugging Tip: Dump ASMX call payloads
In ASMX services, it is always that request and response payloads are point of interest. As per...
Author: Purna Chandra Panda (MSFT) Date: 10/23/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
Debugging Tip: Dump the XML from System.Xml.XmlReader object
In a recent case, I had a difficult time in debugging to find the payload associated with XmlReader....
Author: Purna Chandra Panda (MSFT) Date: 09/01/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: IIS hosting of net.tcp/ net.pipe services + metadata
A lot of time, customers around the globe question how best WCF services (running on net.tcp/...
Author: Purna Chandra Panda (MSFT) Date: 08/26/2015
Large file upload failure for Web application calling WCF service - 413 Request entity too large
Problem Statement I have a WCF service hosted on IIS that gets called from a web application. The...
Author: Purna Chandra Panda (MSFT) Date: 08/21/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
Service failure with CryptographicException - Keyset does not exist
Problem Statement: I have a WCF service hosted on IIS. The service is running in an app pool using...
Author: Purna Chandra Panda (MSFT) Date: 08/13/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/13/2015
Add service reference fails with compilation error in WF 4.5/4.5.1 projects
Statement ====================== WF application consumes WCF service. WCF service is supposed to...
Author: Purna Chandra Panda (MSFT) Date: 08/12/2015
Metadata de-serialization fails with web reference
Statement ================== I have a console application, which consumes a java web service. The...
Author: Purna Chandra Panda (MSFT) 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: certificate trust list (CTL) issue with window Server 2012 R2 and Window 8.1
Problem Description: We have a WCF service https://localhost:38215/Service1.svc . We are accessing...
Author: Ashutosh Tripathi( MSFT) Date: 05/25/2015
WCF: Non HTTP Activation service installation issue
Problem Statement: We have a server machine where Net.Pipe Listener Adapter, Net.Tcp Listener...
Author: Ashutosh Tripathi( MSFT) Date: 05/21/2015
Identify memory leak for a process hosting ASMX/ WCF service
Problem statement A good number of asmx web services are hosted on IIS application pool (4.0 |...
Author: Purna Chandra Panda (MSFT) Date: 05/15/2015
WCF: Not able to download metadata from 3rd party web service
Problem statement There is a publicly available 3rd party web service. The objective is to consume...
Author: Purna Chandra Panda (MSFT) Date: 04/28/2015
WCF: Request failing when data pulled in stream is big
Problem Definition: I have a WCF service "localhost:1518/Service1.svc" built on .Net...
Author: Ashutosh Tripathi( MSFT) Date: 04/28/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: Exposing metadata over NetTcp Binding issue
WCF: Exposing metadata over NetTcp Binding issue Problem Description: You will find your WCF service...
Author: Ashutosh Tripathi( MSFT) Date: 04/21/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: Sending large file to WCF fails with “404 Not Found” Error
WCF: Sending large file to WCF fails with “404 Not Found” Error Problem Description I...
Author: Saurabh Somani Date: 04/16/2015
points to note while registering and unregistering COM components
Few points to note while registering and unregistering COM components: This registry hive...
Author: Shamik Mi - MSFT Date: 04/15/2015
WCF: Simple way to modify serialized response
Problem description This type of problem generally appears in interop scenarios where client could...
Author: Saurabh Somani Date: 04/14/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
WCF: Consuming WCF Web Service in a DLL
Problem Statement: We have requirement where we need to consume a service (asmx or WCF) in a class...
Author: Saurabh Somani Date: 04/09/2015
SSL offloading in load balancer scenario
Problem description WCF service hosted on IIS runs over http behind load balanced servers. The load...
Author: Saurabh Somani Date: 10/03/2014
CreateRequest method from IX509Enrollment
The CreateRequest method retrieves an encoded PKCS#10 certificate request.This method uses the...
Author: Shamik Mi - MSFT Date: 09/08/2014
Using X509IncludeOption to avoid "System.Security.Cryptography.CryptographicException: A certificate chain could not be built to a trusted root authority"
In the System.Security.Cryptography.X509Certificates namespace, X509IncludeOption is an enumeration...
Author: Shamik Mi - MSFT Date: 08/26/2014
Custom Binding: Unified solution for many problems.
Custom Binding: Unified solution for many problems.
Author: Saurabh Somani Date: 04/24/2014