Month: February 2011
-
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 are […]
-
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 arises […]
-
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 Service […]
-
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 good […]
-
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 administrator […]
-
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 step […]
-
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. […]
-
Windows Azure for Developers task 2: Adding Cloud Service project to existing ASP.Net Web Application
Adding Cloud Service project to existing ASP.Net Web Application Imagine we are moving existing Web Application or ASP.Net MVC Web Application to cloud. In that case we need to add cloud service to existing Web Application or ASP.Net MVC Web Application. We have a solution for Web Application is as below, Now right click on […]
-
Windows Azure for Developers Task 1: Resolving Failed to initialize Windows Azure storage emulator Error
I thought to start learning Windows Azure. I installed Azure SDK and created a project by choosing Windows Azure project template from cloud tab and creating a Web Role. I just put a label on aspx file and when tried running the project I got the below error When I switched to Output Window, I […]
-
Fetching Image from SharePoint 2007 picture library using object model
I thought this is an easy requirement to fetch Image form SharePoint 2007 picture library and bind to a System.Drwaing.Image object. But when I started doing that, I had to give my 3 to 4hrs. So here is the code snippet to fetch images from SharePoint 2007 Picture library. Namespace Required Function to return Image […]