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”

Creating X.509 certificate from Windows Azure BLOB

Sometime you may have to create X.509 certificate on the fly. Imagine you are writing a WCF Service to be hosted in App Fabric or creating a WCF Service Web Role to be hosted in Microsoft Data center. In these scenarios you don’t have access to local file system and in the service you areContinueContinue reading “Creating X.509 certificate from Windows Azure BLOB”

Fetching Hosting Services Name using Windows Azure Management API

Windows Azure Management API enables you to manage Azure subscription through codes. In this post, I will show, how you could list hosted services inside your subscription through code ? Windows Azure Management API is REST based API and allows you to perform almost all management level tasks with Azure subscription. Any client making callContinueContinue reading “Fetching Hosting Services Name using Windows Azure Management API”

Uploading management certificate in Windows Azure subscription

To work with Service Management API client has to authenticate itself to the Azure portal. You need to upload X.509 certificate to the portal. There are many ways and several tools available to crate X.509 certificates. Easiest way I find is using IIS. Read here to create certificate for Azure subscription Before you go aheadContinueContinue reading “Uploading management certificate in Windows Azure subscription”

Learn WCF RIA Service: Day 5

Learn WCF RIA Service: Day 1 Learn WCF RIA Service: Day 2 Learn WCF RIA Service: Day 3 Learn WCF RIA Service: Day 4 Using the Silverlight Business Application Template Till Day 4, we have discussed various primary but important aspect of WCF RIA Service and Domain Service class. Today we will learn creating ofContinueContinue reading “Learn WCF RIA Service: Day 5”

Setting the Start page in Windows Phone 7 application

Very often I see people struggling in setting start page for Windows Phone 7 application. By default MainPage.xaml serve as start page. If you have many xaml in phone application you are creating like below, Now you have three xaml in Windows Phone application project. If you want to set Page2.xaml as start page thenContinueContinue reading “Setting the Start page in Windows Phone 7 application”

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”

Learn WCF RIA Service: Day 3

Learn WCF RIA Service: Day 1 Learn WCF RIA Service: Day 2 Overview of Domain Service Class On day 2 we ran through creating our first line of business application using RIA services. We did not look deeper much into generated classes. Today we will take a step back and examine Domain Service class. BetterContinueContinue reading “Learn WCF RIA Service: Day 3”

Revised Windows Azure Portal: 2nd August 2011

Microsoft Azure team has come nicely with revised Windows Azure Portal. Some of the new features of portal are as below, 1. The portal is now can be worked with 11 different languages. Supported language are listed on left top before billing.     2. Performance improvement by increasing isolated storage quota. When you openContinueContinue reading “Revised Windows Azure Portal: 2nd August 2011”

Learn WCF RIA Service: Day 2

Learn WCF RIA Service: Day 1 Building a simple line of business Application using RIA Services Last day we had enough of theory on RIA Services. Today let us get our hand dirty and launch visual studio. We will keep it simple and easy in flow since it is our first exercise. Essentially we willContinueContinue reading “Learn WCF RIA Service: Day 2”