Presented at Microsoft Mondays

On 16th May 2011, I presented at Microsoft Mondays program. About Microsoft Monday: This is a program in between Microsoft and Mahindra Satyam. All the participants were from Mahindra Satyam Topic: WCF REST and DATA Services Time: 11 am to 1 pm Date: 16th May 2011 Location: Virtual Training [Taken from Microsoft Pune office] DemoContinueContinue reading “Presented at Microsoft Mondays”

WCF REST Service with JSON Data

In this post I will show you working with WCF REST Service with JSON type of Data. I will discuss both POST and GET operation on data type JSON . Creating Service I have written much post on creating basic WCF REST Service. Please refer them if required. WebGet Method Let us create a GetContinueContinue reading “WCF REST Service with JSON Data”

Hosting WCF REST Service in IIS with HTTPS

In earlier post I discussed Exposing WCF REST Service over HTTPS. Major limitation on service created in last post was its self-hosted nature. In this post, I will take same service forward and host in IIS. So at the end of this post, you would able to host WCF REST Service in IIS with HTTPS.ContinueContinue reading “Hosting WCF REST Service in IIS with HTTPS”

SQL Azure Architecture

SQL Azure resides in Microsoft Data center provides relational database to application with four layer of abstraction. Four layers of abstraction can be depicted as below, Client Layer This layer is closest to the application. SQL Azure connects with client application with Tabular Data Stream interface in exactly the same way SQL Server does. ClientContinueContinue reading “SQL Azure Architecture”

Federation in SQL Azure

Federation is introduced in SQL Azure for scalability. Federation helps both admin and developers to scale data. It helps admin by making easier in repartitioning and redistributing of data. It helps developers in routing layer and sharding of data. It helps in routing without application downtime. Federation is basic scaling objects in SQL Azure Database.ContinueContinue reading “Federation in SQL Azure”

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 overContinueContinue reading “Exposing WCF REST Service over HTTPS”

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 ?”