Redirect non-www to www using rewrite 10. April 2013 Vishwa .NET (0) There are multiple scenario in which you would like to redirect your domain to always to a standard address possibly www.domain.com [More]
Error: The application attempted to perform an operation not allowed by the security policy. 5. March 2013 Vishwa .NET (0) You may come across this error. It will appear that there is something wrong with your code, but solution is very simple. Security Exception may look like following [More]
How to create SSRS Reports with Dynamic Connection 6. February 2013 Vishwa SQL Server, Reporting Services (0) If you had multiple databases and would like to dynamically use the connection string for SQL Server Reporting Services, how would you do it? Here are some steps [More]
Pros & Cons of Designing Application using OOA vs. SOA 9. January 2013 Vishwa .NET, Architecture (0) In many organization, it is asked how would we benefit by taking this particular approach of Designing and Developing Application. It can be a brand new application or porting a legacy code. In most cases organization wants a quick solution to address the immediate need, some may come back later and rework in a phased approach but some just keep moving with quick and dirty solutions until a situation demand for real upgrade or rewrite. [More]
Convert JSON to XML 12. December 2012 Vishwa .NET (0) You may come across situation when you receive data in JSON and would like to convert into XML. [More]
Reading XML with Namespace 26. November 2012 Vishwa .NET (0) If your XML contains Namespace information, then following example illustrates as how to read the data. [More]
WCF Diagnostics 6. September 2012 Vishwa .NET (0) Have you seen weird error messages using WCF Services and unable to figure out easily as what’s going on? Add the following diagnostics configuration in you config file under configuration section, may be at the bottom. It will generate a file named “App_tracelog.svclog”, you can open as XML file and read the info and may be able using trace the problem. [More]
Export GridView Data to CSV/Excel/XML format 22. January 2012 Vishwa .NET (0) Many times your customers will ask if they can export the Gridview data in one of the most popular formats like CSV, Excel or XML. I had written an example before for exporting Gridview data to Excel only, here I am combining all of three popular formats at one place so that you can choose whatever it may fit your need or give the opportunity to end user to select whatever format they would like to choose to export the data. [More]
Refreshing FRAME 30. December 2011 Vishwa Random (0) FRAMEs are tricky in nature; it is advisable to avoid them. But in many scenarios you have no other choices but to deal with it. Here are some useful tips while handling a FRAME. [More]
Multi Header Footer Gridview 20. December 2011 Vishwa .NET (0) You may come across a situation, where you may have to display multiple headers rather just single one, and also some of these header or footer values has to be updated dynamically. Here is a simple example on how to do it using a simple ASPX page. [More]