How to consume WCF REST Service with JSON in Windows Phone 7

In this post I will show you the way to consume JSON WCF REST Service in Windows Phone 7. This post is divided into four parts. Creating simple WCF REST Service for ADD Consuming JSON REST Service in Windows Phone 7 application. Creating complex WCF REST Service with custom classes and types. Consuming complex JSONContinueContinue reading “How to consume WCF REST Service with JSON in Windows Phone 7”

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 InContinueContinue reading “How to enable REST and SOAP both on the same WCF Service”

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 SilverlightContinueContinue reading “Debugging WCF Service from Silverlight: The Breakpoint will not currently be hit at WCF Service error”

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 ofContinueContinue reading “What is Channel in WCF?”

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 waitContinueContinue reading “Calling One-Way WCF Service using IOutputChannel”

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 BOLBContinueContinue reading “Upload Image from Silverlight to Azure BLOB using WCF”

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 asContinueContinue reading “CRUD operation on Windows Azure table storage as WCF Service”

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 toContinueContinue reading “Downloading file as byte array from AZURE BLOB storage in WCF Service”

Learn WCF RIA Service: Day 4

Learn WCF RIA Service: Day 1 Learn WCF RIA Service: Day 2 Learn WCF RIA Service: Day 3 Adding Custom Query in Domain Service Class On Day 3 we went deep in generated Domain Class. Now we do have an understanding on what all methods are there in the Domain Service Class. First question weContinueContinue reading “Learn WCF RIA Service: Day 4”