|
|
-
|
|
Objective
This article will give step by step walkthrough
How to create a basic WCF 4.0 Service?
How to host WCF Service in IIS 7.5?
Hot to test service in a client.
Create WCF Service
Create WCF service. Open visual studio select new project and then from WCF tab select WCF Service ap......
|
|
-
|
|
I have been seeing many developers are casting between two types using is operator. As we know, we do have as operator also for type casting.
For purpose of this article, we are going to use below two classes,
claas Player
{
public string Name { get; set; }
public string Team { get; ......
|
|
-
|
|
Objective
This article will explain step to step explanation of, how to create a REST based service and how to consume that in a managed client.
Step 1
Create a new project as WCF Service application type.
Step 2
Delete all the default code from IService.cs and Service.svc.cs
Now open......
|
|
-
|
|
PART#1 of this article is here
Objective:
This article will explain how to return values in call back or duplex operation.
Before reading this article, I strongly recommend to read my first article post on this series. This article is fully based on the A Simple Duplex Service in WCF.
If you ......
|
|
-
|
|
Login to Windows Azure Development portal.
After login at left panel you can see number of storage and service account in your subscription.
Select subscription and storage account option to create new Storage Account. At top left, you will get New Storage Account option. To create new sto......
|
|
-
|
|
In this article we will explore, how could we use Stored Procedure with WCF Data Service?
You can read Introduction to WCF Data service and ODATA here
To use Stored Procedure, at time of creation of Data Model, select Stored Procedure as part of Data Model.
Now open EDMX file and right clic......
|
|
-
|
|
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.
......
|
|
-
|
|
Each time when we want to consume a WCF service, we need to create proxy at client side. To create proxy, service must expose metadata endpoint.
Normally
We create a WCF service
Expose metadata endpoint
Add service reference at client side to create the proxy.
Using the proxy calls the serv......
|
|
-
|
|
For a normal developer like me, had a great challenge working with WCF 3.x was configuration of End Points in config file. Developer had to add endpoints to setup a WCF service. In WCF 4, Defualt End Point is associated with the service, if we don’t configure any WCF endpoint.
To see how D......
|
|