XDocument Tips 15. June 2011 Vishwa .NET (0) XDocument was introduced with LINQ to manipulate and query XML Document with ease. Here are some useful tips. [More]
LINQ Group By Examples 23. November 2010 Vishwa .NET (0) The following examples show a simple variation of Group By Statement in LINQ. [More]
WCF Service Hosted in Web Farm or Multi-Homed Scenario 4. November 2010 Vishwa .NET (0) If a WCF Service is deployed in a load balanced environment and hosted on multiple Web Servers under IIS, which is accessed on a public domain, WCF WSDL document refers to a the responding machine name which is generally inaccessible on a public domain. So what you should be doing to make it right? [More]
Reading/Uploading Image data using base64 string 20. October 2010 Vishwa .NET (0) How will you upload an image from your local drive without using File Upload control or you do not want to click browse button in order to select and upload the image file. Here is an alternate solution. [More]
Ambiguous in the namespace 5. October 2010 Vishwa .NET (3) You can come across ‘ambiguous in the namespace’ error sometime in Visual Studio 2008. Error may look like following [More]
Using IFRAME in ASP.NET 2. October 2010 Vishwa .NET (0) If you are using an IFRAME in ASP.NET and setting the height and width and not working as per your need. Here is the quick answer [More]
Visual Studio Team Foundation Server 28. August 2010 Vishwa .NET (0) Recently came across some issues while upgrading from Windows Server Domain Change with same TFS. Before that I had another issue from Visual Source Safe (VSS) 2005 to Visual Studio Team Foundation Server (VSTFS) 2010. Found some workarounds and limitations. I am assuming you are using Visual Studio 2010 or 2012 [More]
Error: A potentially dangerous Request.Form value 30. April 2010 Vishwa .NET (1) Just came across this error when I upgraded my Blog from .NET 3.5 to .NET 4.0 - A potentially dangerous Request.Form value was detected from the client ..... [More]
Convert Number or Money in Words 17. February 2010 Vishwa .NET (2) Many times we come across the situation of converting a number spelled into words or a monetary value spelled into dollars & cents (or equivalent currency). I found the following code over internet and changed to fit my need (as we all do) and generalized in such a way that it can be used for either just convert a number to words or monetary value to words. You can add different country code if needed. [More]
Implementing WCF Service Part 6 – Using Fault @ Client 17. August 2009 Vishwa .NET (2) Ok, so you have developed a nice WCF Service with proper implementation of custom fault exception handling, now you want to call this service in a web application or other client application and catch the fault exception in your client code. For simplicity I am using a web page, the following code is self explanatory. [More]