Browse by Tags
All Tags »
WCF (
RSS)
I can't believe I wasted 10minutes on something that should be the simplest ever. You might encounter an exception when trying to host a WCF service in IIS with windows authentication where it would say the IIS isn't configured with windows auth...
If you're trying to host a WCF service with a .svc extension and you get a 404 response or get plain text, it means your IIS had not been configured with the .svc extension. Follow this post instructions.
In one of my projects I was working on building a smart router facade using WCF. The general idea - The consumer will have an actual endpoint to the router. The router intercepts the client messages, performs all sort of necessary operations and processing...
I implemented a Security Token Service in WCF as part of our WS-Trust solution here in our project. I needed a certificate to apply the message security and all that WS-Federation requires. I needed to set it up quickly for a temporary purpose, thus I...
A very cool set of visualizers for WCF classes. Find the it in CodePlex - Here . The set of available visualizers are currently for: 1. Message Visualizer 2. ChannelDispatcher Visualizer 3. ServiceDescription Visualizer 4. ServiceHost Visualizer 5. ServiceEndpoint...
POCO - plain old c# objects. In .NET v3.5 SP1, DataContractSerializer supports classes which aren't tagged with any serialization-related attributes. (DataContract, DataMember, Serializable) Plus, it doesn't require the class to implement ISerializable...
Via this post . If you haven't experienced it yet, there's a project template for WCF in VS2008 that if you run it inside Visual Studio, it will launch an automatic service host overriding any start up code you tried to write. This could be annoying...
Some references I'd like to save for potential personal future use. Client-side token cache for WCF "WCF by default maintains a cache for security tokens per channel instance (A channel is related to a contract). Therefore, it is not possible...
I must begin with the fact that I am totally in love with the extensible model of WCF. I played around a bit with the 'ICallContextInitializer' interface - very cool. It allows you to do whatever you desire before and after invocations of service...
In our project we build services in the intranet zone, therefore windows authentication is really the most simple and sufficient authentication mode for us. Lately though, we have encountered continuing troubles with Kerberos Delegation, Most of the times...
Following this post . As said in the post, WCF v3.5 includes easy access to the caller IP. I can see where I would need this information, it is pretty important in some scenarios that I can think of. Note that the code will not work 100% of the times...