Skip to content

Blog


Categories:

Giving SOAP a REST

Post date:
Author:
Number of comments: no comments

Many developers will be surprised to learn that SOAP isn’t the only game in town for Web services interfacing. REST offers a perfectly helpful solution for most implementations, with greater flexibility and lower overhead. Developers need to stop reaching immediately for SOAP and start choosing the right technology for the application. What is REST? REST […]

Categories:

Get Logging in database with the Enterprise Library 4.1

Post date:
Author:
Number of comments: no comments

Applications generate logs to keep track of their health, to assist in debugging, and for auditing purposes. Logging makes applications more supportable by giving developers a standardized method for recording application information. The Logging Application Block is designed to support flexible and robust logging configurations. The heart of the Enterprise Library Logging Application Block is […]

Categories:

Using XPathDocument

Post date:
Author:
Number of comments: no comments

using Systm.XML.Xpath //creates an instance of XPathDocument class and loads xml if (System.IO.File.Exists(Server.MapPath(“/portal/BrowserCookieValidation.xml”))) { XPathDocument doc = new XPathDocument(Server.MapPath(“BrowserCookieValidation.xml”)); //An XPathNavigator object acts like a cursor, addressing a node in the XML document at a time XPathNavigator nav = doc.CreateNavigator(); string message = String.Empty; // Compile a standard XPath expression XPathExpression expr = nav.Compile(“/CookieValidation/OutCompany[@OCID=” + […]

Categories:

The XMLHttpRequest Instantiation with explanations

Post date:
Author:
Number of comments: no comments

function getXMLHTTP() { var XMLHTTP = null; if (window.ActiveXObject) { try { //this legacy approach failed, try other object XMLHTTP = new ActiveXObject(“Msxml2.XMLHTTP”); } catch (e) { try { //ie implementation XMLHTTP = new ActiveXObject(“Microsoft.XMLHTTP”); } catch (e) { } } } else if (window.XMLHttpRequest) { try { //mozilla based. This line tries to create […]

Categories:

Autographs of Indian Legends

Post date:
Author:
Number of comments: no comments

A P J AbdulKalam Abul Kalam Azad Maulana Amartya Sen, Dr. Ambedkar B. R., Dr. Amithab Bachchan Asha Bhosle Baba Amte Bala Gangadhar Tilak Bipin Chandra Pal Bismillah Khan Ustad C.K. Nayudu Chandu Borde Chiranjeevi Chittaranjan Das Dev Anand Gopal Krishna Gokhle Har Gobind Khorana Hariprasad Chaurasia Pandit Indira Gandhi J.R.D. Tata Jagjivan Ram Jawaharlal […]

Categories:

Printing partial window with CSS Media types

Post date:
Author:
Number of comments: no comments

Its quite often that we need print sceen feature on our web site. And most of the times only cotentt part is printed leaving header, footer and menu. People often tend to use javascript by hiding the divs (or what ever the control is) then printing the screen using window.print() and then again showing the […]