Windows Communication Foundation is a great framework for building highly secure and reliable services that can integrate across different platforms. One of its great features is that it provides SOAP tooling for automatically creating proxy classes-clients to consume the services…. Read More ›
WCF
Dependency injection in WCF
Dependency injection is a software design pattern that implements inversion of control for resolving dependencies and is highly recommended for building scalable, testable and maintainable applications. In this very blog we have seen many times this pattern, mostly in ASP.NET… Read More ›
Secure WCF Services with custom encrypted tokens
Windows Communication Foundation framework comes with a lot of options out of the box, concerning the security logic you will apply to your services. Different bindings can be used for certain kind and levels of security. Even the BasicHttpBinding binding… Read More ›
WCF Self-Hosting multiple bindings
When building WCF Services there is this point when you have to make a critical decision: Which binding is the best for you service? Windows Communication Foundation comes with several different bindings, each of those created for specific situations and… Read More ›
Create and consume WCF Restful Service using an HttpClient
Restful Services are getting more and more popular in our days and .NET developers prefer to build them through the Web API Framework, which let’s be honest it sounds right. You need to know though that WCF Framework also provides… Read More ›
Managing State and Service Instances in a WCF service – The case of a ShoppingCart : Part 2
This post will continue our discussion about managing state and service instances in a WCF service. In a previous post we created a WCF service holding a shoppingCart list private instance variable, where clients consuming that service could store their… Read More ›
Secure a TCP – WCF service at the Message level
When building and using WCF services to exchange messages over the wire, you must always take into account security. In one line, security is concerned with protecting users running client applications, services and the messages passing between them. These messages… Read More ›
Throwing and catching Strongly Types SOAP Faults in WCF
It’s common scenario, a call to WCF service to fail. The service call can fail for thousands of reasons such as network problems, database crushes or even runtime logic errors. In these cases, the client called the service would appreciate… Read More ›
Create and consume WCF service after hosting it in IIS
This article will guide you through, to create a WCF service, host it in your local IIS and consume the service using a client console application. The data are going to be retrieved from an SQL Server 2012 using the… Read More ›