ASP.NET is a server side scripting technology that enables scripts (embedded in web pages) to be executed by an Internet server.
What is ASP.NET?
What is the difference between Classic ASP and ASP.Net?
ASP is Interpreted language based on scripting languages like Jscript or VBScript.
a.ASP has Mixed HTML and coding logic.
b.Limited development and debugging tools available.
c.Limited OOPS support.
d.Limited session and application state management.
e.ASP.Net is supported by compiler and has compiled language support.
f.Separate code and design logic possible.
g.Variety of compilers and tools available including the Visual studio.Net.
h.Completely Object Oriented.
i.Complete session and application state management.
j.Full XML Support for easy data exchange.
What is Difference between Namespace and Assembly?
Namespace is a logical design-time naming convenience, whereas an assembly establishes the name scope for types at run time.
What is the difference between early binding and late binding?
Calling a non-virtual method, decided at a compile time is known as early binding. Calling a virtual method (Pure Polymorphism), decided at a runtime is known as late binding.
What is the difference between ASP Session State and ASP.Net Session State?
ASP session state relies on cookies, Serialize all requests from a client, does not survive process shutdown, Can not maintained across machines in a Web farm.
What is smart navigation?
The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed.
How many languages .NET is supporting now?
When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. The site DotNetLanguages.Net says 44 languages are supported.
Which two properties are on every validation control?
We have two common properties for every validation controls:
Control to Validate
Which control would you use if you needed to make sure the values in two different controls matched?
CompareValidator is used to ensure that two fields are identical.
What is strong-typing versus weak-typing?
Strong typing implies that the types of variables involved in operations are associated to the variable, checked at compile-time, and require explicit conversion
Weak typing implies that they are associated to the value, checked at run-time, and are implicitly converted as required.