What is WCF? Windows Communication Foundation (Code named Indigo) is a programming platform and runtime system for building, configuring and deploying network-distributed services. It is the latest service oriented technology; Interoperability is the fundamental characteristics of WCF. It is unified programming model provided in .Net Framework 3.0. WCF is a combined feature of Web Service, [...]
What is Web Service? Web Service is an application that is designed to interact directly with other applications over the internet. In simple sense, Web Services are means for interacting with objects over the Internet. Web Service is Language Independent Protocol Independent Platform Independent It assumes stateless service architecture. History of Web Service or How [...]
Today i was working on an application. So thought of storing the session in sql server. I will be installing on my notebook, my notebook name is yj-NB. I have set sa user password as sa123 on database. Here are the steps to follow: Step 1: Here is the code to add in web.config; <sessionState [...]
I had always used to ajaxToolkit MaskedEditExtender for entering decimal value. But I was interested to do the other way round without using ajaxToolkit MaskedEditExtender. Finally I found the solution using Regular Expression. I wanted 4 digit before decimal point and 3 digits after decimal point. Below is how I did it: <asp:TextBox ID=”txtAmount” runat=”server”></asp:TextBox> [...]
I used the calendar control from the AJAX toolkit to set a date in its associated asp:textbox control. I wanted the user to only be able to set the date through the calendar control so I made the textbox to read only by setting the ReadOnly property to true. The problem this produces is that [...]
Web Sites/Web Page should be rendered in Standard Mode or in Compatibility Mode. For few web page developed in .NET Platform, we face problem in rendering the Pages. In such case we need to enable Compatibility mode in Internet Explorer. However the following meta tag produces some good result in such problem. The following meta [...]
In some cases, I have seen people trying to create a database server using an ordinary desktop computer. Doing so people have come across problem where application was unable to connect to the desktop where database is hosted. Now the simple solution to such problem is: 1. All Programs > Microsoft SQL Server 2005 > [...]
In IE8 the zindex by default return “auto”, but when zindex value has been set, the ASP.NET Menu control assumes a different value. To over come the white issue, just edit your stylesheet and enter z-index: 100; or for the sub menu or any class or ID that you are using to specify the dropdown [...]
Cross browser compatibility struggle is getting upsetting while working with asp:Menu Server Control. Anyhow, It was not rendering/working well with Safari and Chrome. A bit of googling… and I have a solution for this. I have added below small piece of code snippet in my MasterPage’s Page_Load event if (Request.UserAgent.IndexOf(“AppleWebKit”) > 0) { Request.Browser.Adapters.Clear(); } [...]
Here is an nice tip on how to clear the “Recent Project” list in your Visual Studio .NET : Close Visual Studio (if its open) GOTO > Start > Run > RegEdit GOTO > HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\\ProjectMRUList remove unnecessary items from list. Similarly repeat the steps for FileMRuList GOTO > HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\\FileMRUList remove unnecessary items from list. To [...]
Thimphu: -6° C
Condition: Sunny
Sunrise: 8:47 am
Sunset: 7:49 pm
Time: 12:22:41 pm