Category: WCF
-
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 over […]
-
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. Besides […]
-
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. […]
-
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 file […]
-
WCF 4.0 Features: Part #1
WCF 4 comes with many of new features for better developer experience. There is high integration with workflow service. Making WCF REST service more developer friendly and Configuration less WCF service. In short WCF 4 tries to address common scenario easily and at the same time gives us more options to communicate in between service […]
-
Windows Azure for Developers Task 9: Hosting WCF Service Role in Windows Azure Hosted Service
In Previous Article We saw How to work with WCF Service Web Role I am going to extend previous article to publish in hosted service. Hosting WCF Service Role in hosted service is exactly the same as we host ASP.Net Web Role. 1. Login to Azure Development portal. 2. Create a new hosted service. If […]
-
Windows Azure for Developers Task 8: Working with WCF Service Web Role
WCF Service Role enables us to create WCF service and host in Windows Azure. In this article, we will create a WCF Service Role and host on local development fabric and consume in a console application. In second part of this article we will move WCF Service to Azure portal. To start with, 1. […]
-
Sharing port between WCF Services in netTcpBinding
WCF allows us to share the port between Services in TCP connection. For HTTP connection is allowed on IIS using HTTP.SYS Service. By default port sharing for TCP connections are disabled. So to use port sharing between services using netTcpBinding , we need to first enable this windows service on the server . To enable […]
-
Cross machine communication between .Net Application using WCF
When service and client both are of .Net and resides on different machines then we choose preconfigured netTcpBinding to publsih WCF Service to the client. netTcpBinding is best suited when both client and service are of .Net and communicating to each other either over Intranet or Internet. Since both the service and client are […]