Sunday 8 January 2017

ASP.NET main Interview questions

ASP.NET main Interview questions


image
ASP.NET main Interview questions


What is the difference between namespace and assembly?
Ans. Namespace is a collection of different classes. whereas an assembly is the basic building
blocks of the .net framework

What is the difference between early binding and late binding?
Ans. 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 Intermediate Language?
Ans. Microsoft Intermediate Language(MSIL or IL) is the CPU -independent instruction set into
which .Net framework programs are compiled. It contains instructions for loading, storing
initializing, and calling methods on objects.

What is Common Language Runtime?
Ans. CLR also known as Common Language Run time provides a environment in which program
are executed, it activate object, perform security check on them, lay them out in the memory,
execute them and garbage collect them.

What is common Type System?
Ans. The common type system is a rich type system, built into the common language runtime,
which supports the types and operations found in most programming language.

What namespace does the webpage belong in the .NET framework class hierarchy?
Ans. System.Web.UI.Page


What are the advantages of an assembly?
Ans. Increased performance. Better code management and encapsulation. It also introduces the n-tier concepts and business logic.

What is the difference between dataset.clone and dataset.copy?
Ans. Dataset.clone copies just the structure of dataset (including all the datatables, schemas,
relations and constraints.); however it doesn’t copy the data.
Dataset.copy, copies both the dataset structure and the data


What is the use of Internal Keyword?
Ans. Internal keyword is one of the access specifier available in .Net framework , that makes a
type visible in a given assembly , for e.g : a single dll can contain multiple modules. 

1 comments so far

Hello There,


Complete guide to ASP.NET main Interview questions being contrived to exist for many projects simply so it can be run will be the first to hit the wall, but those projects where the functions to make existing transactions cheaper in real world applications will find the elusive real world demand.

I have written some code to calculate the number of rolls of wallpaper to decorate a room.
I have compiled it and at first it worked OK, using it in my C compiler program (LCC Wedit).
Subsequently I tried running it by clicking on the executable and it does not run and returns code -1 instead of 0. Even if I return to the compiler program it comes up with the same return code.
Why is this happening?

Great effort, I wish I saw it earlier. Would have saved my day :)


Merci Beaucoup,
Pranavi


EmoticonEmoticon