Parsing XML with multiple namespaces 18. July 2013 Vishwa .NET (0) You may come across a situation when you will have to read a XML document containing name spaces and assign values to it. Here is sample which includes multiple namespaces with SOAP envelope xml document. [More]
Error:There is no compatible TransportManager found for URI 12. June 2013 Vishwa .NET (0) If you are configuring WCF Service, it is possible that you may come across the following error. [More]
Error: A call to SSPI failed 13. May 2013 Vishwa .NET (0) If you are configuring your client application to use WCF net TCP binding, you may come across the following error. A call to SSPI failed, see inner exception.The target principal name is incorrect [More]
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]
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]
Error: The underlying connection was closed 6. October 2012 Vishwa .NET (0) This is one of the most interesting error you may come across specially when using WCF Services. It will give you no detail, just go figure out - The underlying connection was closed: The connection was closed unexpectedly. So what to do? Most likely you have dataset size issue which is going back and forth between different tiers. For the security and performance reasons you should always limit the size. But if you are required to pass big chunk of data, you have to change the size to it’s maximum. So how do we do it? [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]