Contents tagged with WCF
-
Hosting HTTP Resources
How do I host thee? Let me count the ways!
-
Visual Studio 2012 and .NET 4.5 Expert Development Cookbook Review
-
My All Time Favorite Posts
Since this blog started, back in 2008, I wrote a lot of posts. I’d say some are still up to date. I picked a few of them, those I’m more proud of, in no particular order.
-
Calling WCF Web Services from JavaScript
-
Reusing Cookies in Different WCF Web Services
-
Exposing a Class as a COM+ WCF Service
Remember COM+? Well, it is still around, and, in the days of WCF, it still usefull in certain scenarios, mostly because of the services COM+ offers OOTB (transactions, synchronization, object pooling, etc). For those of you that don't know how, I'm gonna demonstrate how you can expose an ordinary .NET class into both a COM+ component and a regular WCF service. Make sure you have Windows SDK 6.x or greater installed.
-
Exam 71-513: TS: Windows Communication Foundation Development with Microsoft .NET Framework 4
Just took the 70-513 exam. Here are some thoughts:
-
.NET Serializers
UPDATED for .NET 8
-
Circular References in WCF
Updated: thanks to Nobody for the remark!
-
Using MTOM with WCF
Suppose you want to transmit large binary contents (a file, for example) through WCF. In the usual way, you would use a classe decorated with a [DataContract] attribute, and you would have inside of it a property of type Byte[], marked with a [DataMember], where the actual contents would be placed. There is a problem with this solution, however: being SOAP based exclusively in text (it is just XML), if you want to send special characters inside of it, you must convert them into text, using common encoding techniques such as Basw 64. Now, WCF does this for you, you just have to supply the byte array, and it does all the work, the problem is that Base 64 typically increases the total size by 33%.