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 click on that.ContinueContinue reading “Stored Procedure in WCF Data Service”
Author Archives: Dhananjay Kumar
What is XAP file in Silverlight?
Target Audience: Beginners in Silverlight When you start learning Silverlight and create your first Silverlight application, one thing you will notice XAP file along with HTML and ASPX files. First time after running your Silverlight application you can see XAP file in client bin folder. Before running of Silverlight application, you will not find XAPContinueContinue reading “What is XAP file in Silverlight?”
AutoCompleteBox in Silverlight 4.0
Target Audience: Beginners AutoCompleteBox control is part of Silverlight 4.0 SDK. It allows us to have a Google style text box. It works like below, AutoCompleteBox will look for suggestion in IEnumerable list. Create a DataSource to find the suggestion Very first let us create a Country Class. This class will serve as Entity class.ContinueContinue reading “AutoCompleteBox in Silverlight 4.0”
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 areContinueContinue reading “Cross machine communication between .Net Application using WCF”
Programmatically finding Binding Elements in WCF Binding
Binding is one of the important aspect of WCF Programming. It deals with, “How Service and client will talk to each other?” Binding is made up of different binding elements. When different binding elements are stacked together they form a Binding. Different binding types are made up of different binding elements. Always a question arisesContinueContinue reading “Programmatically finding Binding Elements in WCF Binding”
Windows Azure For Developers Task 5: Configuring Virtual Machine sizes
What is specifying Virtual Machine Size? We can specify the size of virtual machine on which Role will be deployed. Size of VM defines 1. CPU core 2. Memory capacity 3. Local file system We can specify Virtual Machine size for the Role. There are two way to specify the VM size 1. Through ServiceContinueContinue reading “Windows Azure For Developers Task 5: Configuring Virtual Machine sizes”
Windows Azure for developers Task4: Error Attaching the debugger in Windows Azure SDK 1.3
I installed Windows Azure SDL V 1.3 . I tried to create a Hello World Azure Application. I pressed F5 and error I got as below , I tried Ctrl+F5 ; running without debugger and did not get above exception but got service unavailable error in the browser On this particular exception a very goodContinueContinue reading “Windows Azure for developers Task4: Error Attaching the debugger in Windows Azure SDK 1.3”
Editing applicationhost.config on 64 bit Windows 7 system
I had a very simple task to edit applicationhost.config file and it took my 2 hrs to get the solution. I navigated to folder C:\Windows\System32\inetsrv\config and I found applicationHost.config file. And when I clicked on file to open in Visual Studio, I got the below error Then I tried 1. Open visual studio in administratorContinueContinue reading “Editing applicationhost.config on 64 bit Windows 7 system”
WCF Data Service with SQL Azure
In this article we will expose database from cloud or SQL Azure as WCF Data Service. There two steps mainly involved in this 1. Creating local Database and migrating to SQL Azure 2. Exposing SQL Azure Database as WCF DATA Service Step1: Creating local Database and migrating to SQL Azure Creating Database The first stepContinueContinue reading “WCF Data Service with SQL Azure”
Windows Azure for Developers Task 3: Understanding Windows Azure Application
An application designed and developed to be as hosted service for windows azure consist of 1. Managed Code 2. XML file for configuration Managed codes are mapped into different Roles XML files are mapped into different configuration settings. If we see the below diagram it explains all the components mainly involved in Windows Azure application.ContinueContinue reading “Windows Azure for Developers Task 3: Understanding Windows Azure Application”