Distributed Services: Notes from the field

One Stop for Windows Communication Foundation, Microsoft Distributed Services and Com+ Solutions

Browse by Tags

Tagged Content List
  • Blog Post: Negotiate V/s NTLM

    Definitions: Negotiate: Microsoft Negotiate is a security support provider (SSP) that acts as an application layer between Security Support Provider Interface (SSPI) and the other SSPs. When an application calls into SSPI to log on to a network, it can specify an SSP to process the request. ...
  • Blog Post: 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 REST service looks like – http://sauravpc1.fareast.corp.microsoft.com/RestWCF/RestServ/GetData . Now, while trying to invoke this URL or browse it directly I get an error – 503 Service...
  • Blog Post: 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 use “svcutil.exe” and “Add Service Reference” feature from .net framework and visual studio. Point of confusion: Is it a Visual Studio – Add service reference problem...
  • Blog Post: WPF/WinForm: NetHttpBinding Timeout/Deadlock issue on main UI thread - using web sockets

    Issue: We are trying to use NetHttpBinding and expect to use the web sockets , along with callback implementation. Now web sockets are by default available if we have a callback contract implemented (when using NetHttpBinding), and it also can be forced on a request/response channel. Synchronous...
  • Blog Post: 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. There was no endpoint listening at net.pipe://localhost/XYZ/MyService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for...
  • Blog Post: 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 Client Certificate for authentication at transport level security. Architecture: Create a sample with following criteria: Transport Security (Net.Tcp / HTTPS) Client Credential as Client...
  • Blog Post: 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 Reference for SSL hosted web service Error: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0...
  • Blog Post: WCF: Time to learn SPN with WCF Kerberos Delegation

    What is Kerberos Delegation: Kerberos Delegation allows us to reuse the client credentials to access recourses hosted on a different server. Box Level (if the backend server runs with Network service account) Full Delegation (we can delegation to any process on back end server application...
  • Blog Post: Custom Binding: Unified solution for many problems.

    Custom Binding: Unified solution for many problems.
  • Blog Post: Reading/Understanding - Signed Soap Envelopes

    Hope this help in understanding/reading the signed soap envelopes !
  • Blog Post: 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 hosted on IIS and windows service via HTML 5 and Windows 8 store application. Problem : To get the HTML 5 and windows store 8 app connect to REST WCF, we need to use the AJAX to write the code....
  • Blog Post: CommunicationState Enumeration

    Communication state defines the states in which a communication-oriented object can exist. These states are defined as enumerations in the System.ServiceModel.dll . http://msdn.microsoft.com/en-us/library/system.servicemodel.communicationstate(v=vs.110).aspx defines the various names in the...
  • Blog Post: WCF: Callback operations are invoked sequentially ?

    Scenario : Client application invokes a Duplex WCF service, and WCF service can invoke multiple callbacks at a time. Problem: You notice that the callback operations are executed sequentially even though they are marked as one way operations. Cause : Callback operations are handled on a separate worker...
  • Blog Post: WCF: INTEROP SCENERIOS

    WCF: INTEROP Pushpa Yadav (Microsoft India GTSC) ================================================================================================================= SCENERIO 2: WCF Client talking to some third party web service with message security. ERROR:...
  • Blog Post: WCF: 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 knowledge of reading WCF traces and apply the same for troubleshooting the INTEROPE...
  • Blog Post: WCF: 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 stuff in an SSL encrypted Transport channel , by using a SSL cert on IIS. Step...
  • Blog Post: WCF: Transport Layer Security - with client certificates

    WCF-Transport Layer Security - with client certificates Requiremnt: HTTPS/SSL Channel Authentication mode Certificate Windows / NTLM WCF HOST: IIS Certificates Authentication on Transport Layer - IIS Requirement: SSL Channel (using Server/SSL...
  • Blog Post: WCF: 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: This collection already contains an address with scheme http. IIS supports specifying...
  • Blog Post: WCF: 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 layer of credentials . Along with the valid user name and password, it also expects the client...
  • Blog Post: 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 DC. First Box/Domain Controller/Client box : DCSAURABH Second Box : DCSAURABH1 ...
  • Blog Post: WCF: Troubleshooting Socket Abort Error

    WCF: Troubleshooting Socket Abort Error ============================================================================================================================================================ Scenario 1: Client: Console application Server: WCF service Same machine: Yes ...
  • Blog Post: 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 Problem: We can’t use the default svcutil.exe to pass the client certificates. Resolution: So we have two work around. 1) Use the modified svcutil.config file and add the required client...
  • Blog Post: WCF: 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 thread When running in a client's security context, a service "is" the client, to some degree. Why we need...
Page 1 of 1 (23 items)