Convert ASMX web services to WCF

WCF provided much more features and functionality than asmx service out of the box e.g. it implements standards like WS Security, WS Addressing, WS Transaction etc. Performance wise its better than asmx services. See following links for WCF benefits:http://msdn.microsoft.com/en-us/library/ff648122.aspx http://msdn.microsoft.com/en-us/library/bb310550.aspx http://msdn.microsoft.com/en-us/library/aa480190.aspx For converting an asmx service to WCF we need to take following steps, This…

Convert ASP.NET Web Site project to Web Application project

Web sites projects use visual studio template of web site project which has certain limitation in terms of managing it e.g. its difficult to maintain web.config file for different environments. Web Application template gives the ability to manage web.config file for different environment using transformation file. In this way, you only need to manage the…

Adding Attachment Toolbar button to HTML Editor

Requirement Recently, I was working on a project (ASP.NET) where there was a need to allow business users to design their own html page with some basic html features. In addition they also wanted to add some logo and attachments to their html.Possible Solution – Somebody suggested to use sharepoint features, which has lots in…

Configuring 2-way SSL on IIS website

Follow the steps below to configure 2-way SSL: 1) To configure a web site on IIS over 2-way SSL, we need two certificates per environment 1) Server Certificate 2) Client Certificate. These two certificates can be obtained via an existing process of obtaining e.g. fromVerisign etc . For testing purpose, we will be using utility…