WCF: Learning Impersonation and Delegation
Configure DC:Please follow link to configure your domain controller.http://techsthing.com/2012/how-to-create-a-domain-controller-using-the-dcpromo-command/Add all three boxes (A, B, C) to your new...
View ArticleWCF: Transport Security with User Name + Client Certificate
WCF: Transport Security with User Name + Client Certificate Vast world of WCF provides endless possibilities to handle the security.This is one interesting scenario, where service needs to get dual...
View ArticleWCF: Handling multiple IIS bindings
WCF: Handling multiple IIS bindings - This collection already contains an address with scheme http Environment: IIS configured for multiple bindings with different host headers. WCF Reporting Error:...
View ArticleWCF: Transport Layer Security - with client certificates
WCF-Transport Layer Security - with client certificates Requiremnt:HTTPS/SSL ChannelAuthentication modeCertificateWindows / NTLM WCF HOST:IIS Certificates Authentication on Transport Layer - IIS...
View ArticleWCF: Debugging WCF Throttling
Behavior:w3wp process stops responding to the incoming request and recycling app pool fixes the problem. Data Collection:Download and Install DebugDiag...
View ArticleLive Debugging - Manage Code
Live Debugging - Manage Code Introduction:We will learn how to use windbg to perform Live debugging on manage code. Requirement:Windbg (http://msdn.microsoft.com/en-us/windows/hardware/gg463009.aspx...
View ArticleWCF: Dual Layer Encryption (Message + Transport)
WCF: Dual Layer Encryption (Message + Transport) What I want to do ?I want to encrypt the Message body via server cert and client cert negotiation at Message level.Plus I would like to send complete...
View ArticleWCF: Observing Message ProtectionOrder
WCF: Observing Message ProtectionOrder Objective 1:Impact of Protection Order Objective 2:How to observe/confirm that my request is signed and encrypted from WCF traces. Objective 3:Utilize the...
View ArticleAcquireCredentialsHandle() fails with SEC_E_UNKNOWN_CREDENTIALS from a WCF...
If you get the SEC_E_UNKNOWN_CREDENTIALS error from AcquireCredentialsHandle() from a WCF application you need to check the certificate being used for the WCF communication.SEC_E_UNKNOWN_CREDENTIALS is...
View ArticleSecurity Features for MSDTC
Melissa Amanna 19th January 2012 I have worked on a few MSDTC cases and found that customers are not aware about the Security Features in MSDTC and how to...
View ArticleWindows Communication Foundation 4.0 – Simplified Configuration Feature
What is WCF Simplified Configuration? As per MSDN definition, WCF simplified configuration can be defined as: “Simplification of the WCF configuration section through support for default endpoints,...
View ArticleHow to get DTC working on Amazon Web Services.
Melissa Amanna02/02/2011Recently I had been working on a case where the customer was making use of DTC with Amazon Web Services.Amazon Web Services provide online Services to other websites or client...
View ArticleIs there a method in .Net to import a PFX file along with the certificate...
Though not directly related to distributed services but I see this information useful, especially for developers doing certificate related operations in their code (which might be a WCF...
View ArticleWay to troubleshoot memory leak using performance monitor and UMDH
Please refer to http://support.microsoft.com/kb/268343 to know every detail about using UMDH and analyzing UMDH logs.The article below is a basic example to show how to analyze memory leak using...
View ArticleCredUIPromptForWindowsCredentials return junk characters if you P/Invoke it...
If you are using StringBuilder for passing in the username, password and domain name to CredUIPromptForWindowsCredentials it might cause this issue.Pass IntPtr for username, password and domain name as...
View ArticleWinDbg: search for a string
Just thought of sharing this.. To search for a string (“Error: 1002”) in memory, we run the following command: 0:000> s -a 0 L?80000000 "Error: 1002"04b0e06c 45 72 72 6f 72 3a 20 31-30 30 32 00 00...
View ArticleEnabling DTC Tracing via Component Services Console
Melissa Amanna 28 Feb 2012Many a times, we need traces in order to find out what can be the issue that causes DTC to fail or crash or throw exception.What is Tracing:Tracing is the means of...
View ArticleDTCPING
Melissa 21st March 2012DTCPing is a very useful tool for initial troubleshooting of DTC. If there is some type of failure it can give some errors through which we can analyze as to what can be the...
View ArticleWCF: Learning Impersonation
Learning Impersonation in WCF services What is Impersonation ?Ability of a thread to execute in a security context that is different from the context of the process that owns the threadWhen running in...
View ArticleWCF: Create client proxy – For WCF service running on SSL – with client...
WCF: Create client proxy – For WFC service Running On SSL – With Client CertificateProblem: We can’t use the default svcutil.exe to pass the client certificates.Resolution:So we have two work around....
View Article