Windows Azure for Developers Task 6: Hosting ASP.Net Application in New Silverlight based Azure Portal

Windows Azure Portal is now all new. It is made in Silverlight. Almost all information is on one page and almost all operation can be performed from same page. Properties Windows for Deployment, Role Instances, and Hosting Service provide extensive operation. Configuring OS to SWAP VIP can be performed from top ribbon controls. Left panelContinueContinue reading “Windows Azure for Developers Task 6: Hosting ASP.Net Application in New Silverlight based Azure Portal”

Sharing port between WCF Services in netTcpBinding

WCF allows us to share the port between Services in TCP connection. For HTTP connection is allowed on IIS using HTTP.SYS Service. By default port sharing for TCP connections are disabled. So to use port sharing between services using netTcpBinding , we need to first enable this windows service on the server . To enableContinueContinue reading “Sharing port between WCF Services in netTcpBinding”

Reading files asynchronously using WebClient class in Silverlight

WebClient class is used in Silverlight to asynchronously download or read a file from a particular URI. 1. WebClient class is under System.Net namespace. 2. This can retrieve data from any format of service. This can retrieve data in JSON, POX, and REST etc. format. 3. WebClient makes the entire request asynchronously. So it doesContinueContinue reading “Reading files asynchronously using WebClient class in Silverlight”

Stored Procedure in WCF Data Service

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”

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”