Category: WCF
-
How to enable REST and SOAP both on the same WCF Service
In this post I will show you, how to create a WCF Service with both flavor of SOAP and REST paradigm . For purpose of this post , I am going to create a Calculator Service with following characteristics Serivice will have both SOAP and REST enabled REST Service will have JOSN Message format In…
-
Video on How to solve cross domain problem in Silverlight?
If you find my posts useful you may like to follow me on twitter http://twitter.com/debug_mode or may like Facebook page of my blog http://www.facebook.com/DebugMode.Net If you want to see post on a particular topic please do write on FB page or tweet me about that, I would love to help you.
-
Debugging WCF Service from Silverlight: The Breakpoint will not currently be hit at WCF Service error
Assumption Binding configuration at WCF has debugging enabled Cross domain problem has been take care of since WCF and Service is running on different servers. Visual studio is running in administrator credentials or credentials having enough permission to debug on server. While working today I came across a requirement to debug WCF Service from Silverlight…
-
What is Channel in WCF?
In Service oriented architecture there are two parties involved, Server and Client .Server and client communicate to each other via Messages. Message travels over the network. For communication; server and client must be agreed upon Format of message Protocol Transport Encoding of the message etc. Channels are the responsible component of WCF for Creation of…
-
Calling One-Way WCF Service using IOutputChannel
Note: This post is inspired by one of the chapter from book Essential WCF. I tried to put the content in my way. Thanks to the original author. I strongly recommend you to read this post http://winterdom.com/2007/08/ioutputchanneloverirequestchannel One way communication pattern allows client to send message to service and forget. Client doesn’t have to wait…
-
Upload Image from Silverlight to Azure BLOB using WCF
Working with Azure Blob is very common task you must be doing. Sometime you may come with requirement to upload an image from Silverlight client to Azure BLOB. In this post I am trying to help you in achieving this. In this post I will show you below three stuffs. Uploading Image to Azure BOLB…
-
CRUD operation on Windows Azure table storage as WCF Service
You may have come across requirement of performing CRUD operation on Windows Azure table storage many times. If you have encapsulated functions performing CRUD operation on Azure Table Storage as operation contract of WCF Service then any type of client can work against azure table storage. You may always want to architecture your application as…
-
Downloading file as byte array from AZURE BLOB storage in WCF Service
In this post I will show you how you can download a file from AZURE BLOB storage as byte array. Contract To download file client will have to provide ContainerName and filename to be downloaded. Service Implementation Very first you need to add reference of, Microsoft.WindowsAzure Microsoft.WindowsAzure.StorageClient Second you need to create connection string to…
-
Learn WCF RIA Service: Day 5
Learn WCF RIA Service: Day 1 Learn WCF RIA Service: Day 2 Learn WCF RIA Service: Day 3 Learn WCF RIA Service: Day 4 Using the Silverlight Business Application Template Till Day 4, we have discussed various primary but important aspect of WCF RIA Service and Domain Service class. Today we will learn creating of…