Posted by: intelbot on: August 17, 2009
Interfaces –contain only abstract methods –interface can’t be inherited from a class –using interfaces we can achieve multiple inheritance –doesn’t allow accessibility modifiers (Public/Private/Internal) –can’t contain fields, constructors –is must implementable & its scope is upto any level of its inheritence chain. Abstract Class –contain both abstract methods as well as concrete methods –can extend [...]
Posted by: intelbot on: June 11, 2009
Most of the web developers will know about Fiddler. Using Fiddler u can log the HTTP traffic between your application & Webservice, here Fiddler acts as a proxy in between your application & the Webservice. To Use with ASP.NET set the following into your web.config, it will start logging all the HTTP Traffic. <system.net> <defaultProxy> [...]
Posted by: intelbot on: March 5, 2009
Posted by: intelbot on: February 17, 2009
Advantages of Self-Hosting: Is easy to use: With only a few lines of code you have your service running. Is flexible: You can easily control the lifetime of your services through the Open() and Close() methods of ServiceHost. Is easy to debug: Debugging WCF services that are hosted in a self-hosted environment provides a familiar [...]
Posted by: intelbot on: March 24, 2008
The DateTime class is not very exact and only can measure in milliseconds. When doing performance measuring on an application you most certainly need to be able to measure with smaller time units than that. High-resolution timers are supported in the Win32 API so following code wraps it up in a simple class: public class [...]
Posted by: intelbot on: December 14, 2007
Here is the commonly used Cryptographic Algorithms. Please follow the links to see the details of each Cryptographic Algorithms. Block Ciphers 3-WayBlowfishCASTCMEADESTriple-DESDEALFEALGOSTIDEALOKILuciferMacGuffinMARSMISTYMMBNewDESRC2RC5RC6REDOCRijndaelSaferSerpentSQUARESkipjackTiny Encryption Algorithm TwofishStream CiphersORYXRC4SEALHash AlgorithmsMD2MD4MD5RIPEMDSHA1SnefruTiger
Posted by: intelbot on: December 5, 2007
This is second in series of Interview Questions for .NET Application developer position. C# * Does C# supports multiple inheritence?* What is a delegate?* What are setallite assemblies?* Differences between Namespace, Class, Assembly?* What is the difference between managed and unmanaged code?* What is serialization?* What’s a bubbled event?* What is garbage collection? How dot [...]
Posted by: intelbot on: December 5, 2007
Following are the ASP.NET interview questions usually asked for experienced people. * What is View State? Can you read the View State? – It is ASP.NET State Management Technique to persist changes to the state of a Web Form across post backs. It stores the data in the form of Dictionary (i.e., in Key /Value [...]
Posted by: intelbot on: July 19, 2007
new ActiveXObject(Microsoft.XMLHTTP) This constructor is for Internet Explorer. new XMLHttpRequest() This constructor is for any other browser including Firefox. http.onreadystatechange An anonymous function is assigned to the event indicator. http.readyState == 4 The 4 state means for the response is ready and sent by the server. http.status == 200 This status means ok, otherwise some [...]
Posted by: intelbot on: July 19, 2007
How it Works? Ajax uses a programming model with display and events. These events are user actions, they call functions associated to elements of the web page.Interactivity is achieved with forms and buttons. DOM allows to link elements of the page with actions and also to extract data from XML files provided by the server. [...]
Posted by: intelbot on: July 19, 2007
Famous Set of Techonologies make AJAX a hot topic.AJAX has changed the way Web apps are developed and used.AJAX is used to build fast, dynamic websites, and also to save resources. AJAX- Asynchronous Javascript And XML Asynchronous- means that the response of the server while be processed when available, without to wait and to freeze [...]
Posted by: intelbot on: June 16, 2007
Inside u r Head Tag in HTML Page u insert the following code function IsNumeric(strString) // check for valid numeric strings { var strValidChars = “0123456789.-”; var strChar; var blnResult = true; if (strString.length == 0) return false; // test strString consists of valid characters listed above for (i = 0; i < strString.length && [...]
Posted by: intelbot on: April 13, 2007
Actuarial Science Golden Ratio Pursuit Curve Art Gallery Theorem Guilloché Pattern Pythagorean Theorem Bayesian Analysis Handshake Problem Reversion to the Mean Benford’s Law Integer Sequence Riemann Hypothesis Cellular Automaton Linear Discriminant An… RSA Number Cluster Analysis Markov Chain Sabermetrics Combinatorics Mathematics Prizes SIR Model Critical Line Minesweeper Sphere Eversion Discrete Logarithm Minimum Spanning Tree Spirograph [...]
Posted by: intelbot on: April 13, 2007
A prime number (or prime integer, often simply called a “prime” for short) is a positive integer 1″ border=”0″ height=”15″ width=”33″> that has no positive integer divisors other than 1 and itself. (More concisely, a prime number is a positive integer having exactly one positive divisor other than 1.) For example, the only divisors of [...]