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 … Continue 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 arises … Continue reading Programmatically finding Binding Elements in WCF Binding

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 … Continue 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 administrator … Continue reading Editing applicationhost.config on 64 bit Windows 7 system

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. … Continue reading Windows Azure for Developers Task 3: Understanding 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 … Continue reading Windows Azure for Developers task 2: Adding Cloud Service project to existing ASP.Net Web Application

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 … Continue reading Windows Azure for Developers Task 1: Resolving Failed to initialize Windows Azure storage emulator Error

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 … Continue reading Fetching Image from SharePoint 2007 picture library using object model