<< < 94 95 96 97 98 99 100 101 102 103 104 > >>   Sort: Date

Advantage of Remoting over Web Services ?
Advantage of Remoting over Web Services ? .NET Remoting is a distributed objects infrastructure. It allows processes to share objects—to call methods on and access properties of objects that are hosted in different application domains within the same process, different processes executing on the sam...
2009-03-24, 4673👍, 0💬

Can we force garbage collector to run ?
.NET INTERVIEW QUESTIONS - Can we force garbage collector to run ? System.GC.Collect() forces garbage collector to run. This is not recommended but can be used if situations arises.
2010-03-30, 4662👍, 0💬

How to find radio button selection when a form is submitted?
How to find radio button selection when a form is submitted? &lt;script type="text/javascript"> function findButton() { var myForm = document.forms.animalForm; var i; for (i=0;i&lt;myForm.marsupial .length;i++) { if (myForm.marsupial[i].checked) { break; } } alert("You selected \""+myForm.ma...
2008-12-16, 4656👍, 0💬

What is WSDL?
.NET INTERVIEW QUESTIONS - What is WSDL? WSDL stands for Web Service Description Language. It is a W3C specification which defines XML grammar for describing Web Services.XML grammar describes details such as:- * Where we can find the Web Service (its URI)? * What are the methods and properties that...
2009-10-07, 4645👍, 0💬

What is Managed Code and Unmanaged Code?
Managed Code and Unmanaged Code related ASP.NET- What is Managed Code and Unmanaged Code? Microsoft ASP.NET Web applications run under the control of the common language runtime (CLR). The CLR controls how the application’s assembly executes, allocates, and recovers memory; therefore, ASP.NET applic...
2009-03-30, 4638👍, 0💬

How to associate functions with objects using JavaScript?
How to associate functions with objects using JavaScript? Let's now create a custom "toString()" method for our movie object. We can embed the function directly in the object like this. &lt;script type="text/javascript"> function movie(title, director) { this.title = title; this.director = direc...
2011-08-09, 4637👍, 0💬

dot net qstn
How would ASP and ASP.NET apps run at the same time on the same server?
2010-07-29, 4633👍, 0💬

How to add new elements dynamically.
How to add new elements dynamically. &lt;html xmlns="http://www.w3.org/1999/ xhtml"xml:lang="en" lang="en"> &lt;head> &lt;title>t1&lt;/title >&lt;script type="text/javascript"> function addNode() { var newP = document.createElement("p"); var textNode = document.createTextNode(" I...
2008-12-23, 4629👍, 0💬

How to write messages to the screen without using "document.write()"?
How to write messages to the screen without using "document.write()"? Changing the contents of an element is a much better solution. When the method showStatus is invoked, it will change the content of the span. ... function showStatus(message) { var element = document.getElementById("mysta tus");el...
2011-02-15, 4628👍, 0💬

How to find the selected radio button immediately using the this variable?
How to find the selected radio button immediately using the 'this' variable? &lt;script> function favAnimal(button) { alert('You like '+button.value+'s.'); } &lt;/script> &lt;input type="radio" name="marsupial" value="kangaroo" onchange="favAnimal(this)">Kan garoo&lt;br />&lt;inp...
2008-12-09, 4627👍, 0💬

What are benefits and Limitation of using Hidden fields ?
.NET INTERVIEW QUESTIONS - What are benefits and Limitation of using Hidden fields ? Following are the benefits of using Hidden fields * They are simple to implement. * As data is cached on client side they work with Web Farms. * All browsers support hidden field. * No server resources are required....
2009-06-30, 4623👍, 0💬

What is ViewState ?
.NET INTERVIEW QUESTIONS - What is ViewState ? Viewstate is a built-in structure for automatically retaining values amongst the multiple requests for the same page. The viewstate is internally maintained as a hidden field on the page but is hashed, providing greater security than developer-implement...
2009-06-30, 4616👍, 0💬

What is Serialization Formatters in .NET Remoting ?
What is Serialization Formatters in .NET Remoting ? When any object is to be sent across the transport channel, it must be serialized and packed into a data format that can be transmitted with the wire. On the other end of the wire, this serialized data is read and deserialized back to the actual ob...
2009-03-27, 4616👍, 0💬

Is it a good design practice to distribute the implementation to Remoting Client ?
.NET INTERVIEW QUESTIONS - Is it a good design practice to distribute the implementation to Remoting Client ? It’s never advisable to distribute complete implementation at client, due to following reasons:- * Any one can use ILDASM and decrypt your logic. * It’s a bad architecture move to have full ...
2009-08-26, 4614👍, 0💬

How to change style on an element?
How to change style on an element? Between CSS and javascript is a weird symmetry. CSS style rules are layed on top of the DOM. The CSS property names like "font-weight" are transliterated into "myElement.style.fontWeight". The class of an element can be swapped out. For example: document.getElement...
2011-05-31, 4610👍, 0💬

What is a Thread ?
.NET INTERVIEW QUESTIONS - What is a Thread ? A thread is the basic unit to which the operating system allocates processor time.
2009-11-03, 4610👍, 0💬

How to convert numbers to strings using JavaScript?
How to convert numbers to strings using JavaScript? You can prepend the number with an empty string var mystring = ""+myinteger; or var mystring = myinteger.toString(); You can specify a base for the conversion, var myinteger = 14; var mystring = myinteger.toString(16); mystring will be "e".
2009-02-25, 4609👍, 0💬

Does JavaScript have the concept level scope?
Does JavaScript have the concept level scope? No. JavaScript does not have block level scope, all the variables declared inside a function possess the same level of scope unlike c, c++, and java.
2008-12-02, 4602👍, 0💬

What is the difference unescape() and escape()?
What is the difference unescape() and escape()? These are similar to the decodeURI() and encodeURI(), but escape() is used for only portions of a URI: &lt;script type="text/javascript"> var myvalue = "Sir Walter Scott"; document.write("Original myvalue: "+myvalue); document.write("&lt;br />e...
2011-08-23, 4597👍, 0💬

.NET INTERVIEW QUESTIONS - What is a IL?
.NET INTERVIEW QUESTIONS - What is a IL? (What is MSIL or CIL , What is JIT?) (IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where ...
2010-02-02, 4586👍, 0💬

How to get values from cookies to set widgets?
How to get values from cookies to set widgets? function getCookieData(labelName) { //from Danny Goodman var labelLen = labelName.length; // read cookie property only once for speed var cookieData = document.cookie; var cLen = cookieData.length; var i = 0; var cEnd; while (i &lt; cLen) { var j = ...
2009-01-20, 4584👍, 0💬

What are the different types of Assembly?
.NET INTERVIEW QUESTIONS - What are the different types of Assembly? There are two types of assembly Private and Public assembly. A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. A shared assembly is normally store...
2010-02-23, 4582👍, 0💬

Explain virtual inheritance.
Explain virtual inheritance. Draw the diagram explaining the initialization of the base class when virtual inheritance is used. Note: Typical mistake for applicant is to draw an inheritance diagram, where a single base class is inherited with virtual methods. Explain to the candidate that this is no...
2012-05-10, 4580👍, 0💬

How to open a window with no toolbar, but with the location object.
How to open a window with no toolbar, but with the location object. window.open("http://www.mysite .org/Misc/Pennies","Pennies"," resizable=yes,status=yes,toolbar=yes,locatio n=yes,menubar=yes,scrollbars=y es,width=800,height=400");
2009-01-13, 4579👍, 0💬

<< < 94 95 96 97 98 99 100 101 102 103 104 > >>   Sort: Date