In this post we will discuss one of the most important feature of WCF 4.5. WCF 4.5 generates simplified configuration file at the client side. WCF 4.5 generates configuration file for basicHttpBinding as following,
To understand simplified configuration file in better way take an example, Before WCF4.5 when you were adding a service reference, at the client side WCF was creating service configuration file with all the default values for the attributes of the binding. In earlier version of WCF4.5 configuration file created at client side was as following. Below is the configuration file for service with wsHttpBinding.
Above I have taken an old configuration file and it contains many other attributes along with default attributes. However point I am trying to make that in prior version of WCF 4.5 ,automatically created configuration file at client side contained default attribute with values of binding by default. Whereas in WCF4.5 automatically created configuration file at client side is much simplified and contains only the binding name as shown in the image below,
In WCF 4.5 generated configuration file at client side is very much simplified and does not contain any default value of the binding attribute.
In this way you can notice simplified configuration file at the client side. In later post we will discuss another feature of WCF 4.5. I hope you find this post useful. Thanks for reading.
In this post we will walkthrough step by step to set up environment for node.js on windows. Very first navigate to Windows Azure Download page and select node.js for Windows to download
Once you click on node.js download option for Windows you will get following confirmation windows. Click on Save File.
After saving the file when you run the exe, it would launch a Web Platform Installer. You will get option to install Windows Azure SDK for Node.js. Click on Install button to proceed with installation
After successful installation you will get information about successful installed products as following in a dialog box.
After installation open command prompt as administrator and run the command
npm install azure-g
After successful installation of package create a working folder. For example I have created a folder called nodedemo in C drive. Now navigate to http://nodejs.org/ and copy the Hello Word sample from here
Create a file called server.js inside nodedemo folder and paste this code. After this run the command
You will get message that node server is running. Now when you navigate to http:127.0.0.1:1337 , you should be getting following response from the server
Once you get this response you can be sure that node server is configured on windows. I hope you find this post useful. Thanks for reading.
In this post we will walkthrough step by step to create Virtual Machine in Windows Azure. To start with very first you need to login to Windows Azure Management Portal here and then click on Virtual Machines option in left panel.
If you do not have any virtual machine created then you will get following message. You need to click on CREATE A VIRTUAL MACHINE
If you do not have any virtual machine created then you will get following message. You need to click on CREATE A VIRTUAL MACHINE. After clicking that you will get following option
- QUICK CREATE
- FROM GALLERY
In this tutorial let us try option of Quick Create. On selecting this option
First you need to provide DNS NAME of the virtual machine. It should be unique. You will get a right mark on valid DNS name.
Next you need to choose the Image for the Virtual Machine. Choose any image as of your requirement. You will get virtual machine mount with image you will choose from the dropdown.
Next you need to provide password to access Virtual Machine. Choose the size of the machine and datacenter. After providing these entire information clicks on Create Virtual Machine to create the virtual machine.
In bottom of the page you can see information and status on creating virtual machine.
Once Virtual Machine got created successfully, you can see the details as following
In this way you can create Virtual Machine in Windows Azure. I hope you find this post useful. Thanks for reading.