Archive for ASP.NET technology related questions
You are browsing the archives of ASP.NET technology related questions.
You are browsing the archives of ASP.NET technology related questions.
How do I test my AJAX code?
There is a port of JUnit for client-side JavaScript called JsUnit
What exactly is the W3C DOM?
The W3C Document Object Model (DOM) is defined by the W3C as the following: The Document Object Model is a platform- and language-neutral interface…
When will HTML_AJAX have a stable release?
Once all the major features [...]
Why is catch(Exception) almost always a bad idea?
Well, if at that point you know that an error has occurred, then why not write the proper code to handle that error instead of passing a new Exception object to the catch block? Throwing your own exceptions signifies some design flaws in the project.
What is the difference [...]
What is the difference between boxing and unboxing ?
Boxing allows us to convert value types to reference types. Basically, the runtime creates a temporary reference-type box for the object on heap.
Eg:
int i=20;
object o=i;
Describe the difference between a Thread and a Process?
Answer1:
Thread – is used to execute more than one program at a time.
process – executes [...]
What is the transport protocol you use to call a Web service?
Answer1:
SOAP. Transport Protocols: It is essential for the acceptance of Web Services that they are based on established Internet infrastructure. This in fact imposes the usage of of the HTTP, SMTP and FTP protocols based on the TCP/IP family of transports. Messaging Protocol: The [...]
How many languages .NET is supporting now?
When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. 44 languages are supported.
How is .NET able to support multiple languages?
A language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language [...]