It is common when you will create Message, you may use below classes Class Namespace XmlDictionary System.Xml XmlDictionaryString System.Xml Let us investigate purpose of each class one by one. XmlDictionary class allows us to create a private pair of Key and Value. This key-value pair can be used to represent Element name Attribute name XMLContinueContinue reading “XmlDictionary and XmlDictionaryString classes to create WCF Message”
Tag Archives: WCF
Upload large file of size more than 5 MB from Silverlight to Server location using WCF
This post is based on post File Upload from Silverlight using WCF. So please read it before proceeding with this post Long back I wrote post on uploading a File from Silverlight to server location using WCF. I found my own post quiet useful. However, when I reread and implemented the code, I mentioned inContinueContinue reading “Upload large file of size more than 5 MB from Silverlight to Server location using WCF”
Tracing in WCF: Understanding basic steps
Theory behind WCF Tracing is not an exception of classical definition of Tracing. Through Tracing an application provides information about itself. Information may vary from internal state of object to passed input parameter to method. This information should be logged, persisted or saved somewhere. WCF Tracing can be used for the instrumentation of the WCFContinueContinue reading “Tracing in WCF: Understanding basic steps”
WCF REST Service with JSON Data
In this post I will show you working with WCF REST Service with JSON type of Data. I will discuss both POST and GET operation on data type JSON . Creating Service I have written much post on creating basic WCF REST Service. Please refer them if required. WebGet Method Let us create a GetContinueContinue reading “WCF REST Service with JSON Data”
Hosting WCF REST Service in IIS with HTTPS
In earlier post I discussed Exposing WCF REST Service over HTTPS. Major limitation on service created in last post was its self-hosted nature. In this post, I will take same service forward and host in IIS. So at the end of this post, you would able to host WCF REST Service in IIS with HTTPS.ContinueContinue reading “Hosting WCF REST Service in IIS with HTTPS”
Exposing WCF REST Service over HTTPS
In this post, I will explain; how could we expose a WCF REST Service over secure HTPP (HTTPS)? Essentially there are three steps involved 1. Create a certificate or use a third party provided certificate 2. Configure HTTPS in IIS 3. Configure webHttpBinding to use transport level security Create Certificate To expose a service overContinueContinue reading “Exposing WCF REST Service over HTTPS”