Posts

Success has little to do with talent

From here:  http://www.codinghorror.com/blog/2005/06/why-anyone-can-succeed.html

Web Service Connection problems Dot .Net 1.1

Issue: The underlying connection was closed: An unexpected error occurred on a receive. Web Service Timeout problems occurring on Client and Server sides. Server => Web Service Host Client => Web Service Caller * The underlying connection was closed: An unexpected error occurred on a receive. This is a client side problem. And it can be solved by avoiding HTTP KeepAlives - with Dot Net 1.1 For other issues we need to increase the timeout values at various levels. * For Server side, adjust the proper connection timeout value in the IIS web server properties. * if the request takes too long on the server, the web server could time it out. * Also adjust this value: in the config file (web/app .config) (Read more on msdn) The default is value 110, a little less than 2 minutes. See documentation for detail. For Client Side (Timeout: 'give up on the server if you don't get a reply back with a certain time'.); To specify the amount of time to wait for the request to comp...

Cloud Computing

Cloud computing is a popular phrase which is used for applications that are developed to be rich Internet applications (AJAXed - like Desktop Apps) that run on the Internet (or "cloud"). In the cloud computing paradigm, software that is traditionally installed on personal computers is shifted or extended to be accessible via the Internet. These "cloud applications" or "cloud apps" utilize massive data centers and powerful servers that host web applications and web services. They can be accessed by anyone with a suitable Internet connection and a standard web browser. The architecture behind cloud computing is a massive network of "cloud servers" interconnected as if in a grid running in parallel, sometimes using the technique of virtualization to maximize computing power per server. ------------------------- Google, the most visible example, took cloud computing a step further and directly challenged Microsoft by offering a suite of free word-p...

Running multiple versions of the Framework in ASP.NET

Like any good technology, ASP.NET continues to evolve as new versions are released. But, like anything else, this brings with it a number of considerations. Microsoft has done a great job of allowing multiple versions of the framework to run side by side. Version v1.0, v1.1 and v2.0 can all run together at the same time on the same server. There are a couple catches to consider with running multiple versions of the framework side by side. Worker Process is the one that hosts a particular framework version. There is one per version of the framework. (v1.0, v1.1 and v2.0). If a process for a particular version of the framework doesn't exist, as soon as it's needed, a new process will be spun up. This allows multiple versions of the framework to live beside each other in IIS. aspnet_wp.exe is the worker process with IIS 5, w3wp.exe is the worker process with IIS 6. IIS 6 was an impressive upgrade that brought with it some new concepts. One key new concept is Application Pools. A s...

What is TIBCO?

Tibco Software Inc. (Nasdaq:TIBX) is a software company, with headquarters in Palo Alto, California. TIBCO is a leading provider of total business integration solutions delivering infrastructure software that enables businesses to seamlessly integrate business systems in real-time. TIBCO's products enable the real-time distribution of information through patented technology called The Information Bus™, or TIB®. TIBCO is adopted in diverse industries including financial services, telecommunications, electronic commerce, transportation, logistics, manufacturing and energy. TIBCO's global customer base includes more than 1,200 customers such as Cisco Systems, Yahoo!, Ariba, NEC, Enron, Sun Microsystems, GE Capital, The Limited, Delta Air Lines, Philips, AT&T and Pirelli. Tibco’s main architecture is based on an information-bus oriented system concept. Whereas all the information that is used by the multiple systems passes through one information-bus. Tibco commonly refers to...

Process XML in Dot Net -> Parse to Object

Here we consider a small aspect found while parsing XML string. We are using Dot Net (1.1) but we process xml in general (non-dotnet specific version) using the XPath expressions. Situation is we have XML string format as: task TASK_COMPLETE 02000016000004630144000100000070 02000016000004630154000200000070 2007-09-06T15:26:25+04:00 = strXMLMsg Scene 1: Dim xmlDoc As New Xml.XmlDocument xmlDoc.LoadXml(strXMLMsg) strXPath = "/XMLMessage /EventName" xmlNode = xmlDoc.SelectSingleNode(strXPath) strData = xmlNode.InnerText In this seen we will not be able to get our parsed data. And the issue is the inclusion of the namespace and its prefix. So to get the parsed data correctly we have to use the way shown in scene 2. Scene 2: Dim xmlDoc As New Xml.XmlDocument xmlDoc.LoadXml(strXMLMsg) xsn = New Xml.XmlNamespaceManager(xmlDoc.NameTable) XMLNamespace = "http://domain.com/codename/MessagesXMLSchema.xsd" XMLNamespacePrefix = "ns" xsn.AddNamespac...