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”
Monthly Archives: May 2011
Getting current Authentication information on WCF REST Service
Sometime you may have a requirement to tell your client what type of authentication scheme you are applying on your WCF REST service. In this post I will show you, “How could you expose authentication scheme information as part of your service? “ To start with let us create Self Hosted WCF REST Service. BesidesContinueContinue reading “Getting current Authentication information on WCF REST Service”
AutoCompleteBox in Silverlight 4.0 with DataSource from SQL Server
In my last article AutoCompleteBox in Silverlight 4.0 , Data Source for Autocomplete Box was an IEnumerable list. In this post we will work with a column value of table from SQL Server as Data Source for Autocomplete Box. Our approach would be 1. Create WCF Service 2. Exposed data 3. Consume in Silverlight 4.ContinueContinue reading “AutoCompleteBox in Silverlight 4.0 with DataSource from SQL Server”
Uploading File to server from ASP.Net client using WCF REST Service
Very often I see one question flooding in all forums, “How to upload a File using WCF REST Service? “, so I thought let me write a post on the same. Essentially, there is nothing specific to do to upload file, but the below steps 1. Create a service with Post operation 2. Pass fileContinueContinue reading “Uploading File to server from ASP.Net client using WCF REST Service”
System.ServiceModel.Web is missing in Visual Studio 2010 Console Application ?
I was creating a managed host application for WCF Service. Although it was just to write few lines of codes in console application, it took 1 hrs. for me to figure out a strange problem. I followed steps as below, 1. Created a console application 2. I had to add reference of System.ServiceModel and System.ServiceModel.WebContinueContinue reading “System.ServiceModel.Web is missing in Visual Studio 2010 Console Application ?”