Month: March 2011
-
A look on Database [SQL Azure] option of new Windows Azure portal
Windows Azure Development portal has been moved to new Silverlight based portal. It has all new look and many new features. SQL Azure can be explored by selecting Database option from the left panel. New SQL Azure portal is having very nice Silverlight based user interactive UI and many more operations can be performed through […]
-
Windows Azure for Developers Task 10: Creating Storage Account in new Silverlight based Windows Azure Portal
1. Login to Windows Azure Development portal. 2. After login at left panel you can see number of storage and service account in your subscription. 3. Select subscription and storage account option to create new Storage Account. At top left, you will get New Storage Account option. To create new storage account click on new […]
-
Windows Azure for Developers Task 9: Hosting WCF Service Role in Windows Azure Hosted Service
In Previous Article We saw How to work with WCF Service Web Role I am going to extend previous article to publish in hosted service. Hosting WCF Service Role in hosted service is exactly the same as we host ASP.Net Web Role. 1. Login to Azure Development portal. 2. Create a new hosted service. If […]
-
Windows Azure for Developers Task 8: Working with WCF Service Web Role
WCF Service Role enables us to create WCF service and host in Windows Azure. In this article, we will create a WCF Service Role and host on local development fabric and consume in a console application. In second part of this article we will move WCF Service to Azure portal. To start with, 1. […]
-
Type casting with is and as operator in C#
I have been seeing many developers are casting between two types using is operator. As we know, we do have as operator also for type casting. For purpose of this article, we are going to use below two classes, Very first let us try to understand, how is operator works? So , if we are […]
-
Binding XML File to Data Grid in Silverlight
It is a common scenario when we need to bind or display data from XML File to Silverlight Data Grid. In this article, I have tried to demonstrate this with simple steps. What all we are going to do is 1. Download content of XML file as string using WebClient class. 2. Parse XML file […]
-
Windows Azure for Developers Task 7: Creating Hosted Service in new Silverlight based Windows Azure Portal
Windows Azure Development portal is in new look now. It is Silverlight based and all operation can be performed from one page. New portal is having Ribbon at top, left panel and right panel. From configuring guest Operating system to stopping or restarting service can be performed from one page using new portal. In this […]
-
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 panel […]
-
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 enable […]
-
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 does […]