Explain the life cycle of an ASP .NET page.
Explain the .NET architecture.
What are object-oriented concepts?
How do you create multiple inheritance in c# and .NET?
>> By using interface u can create multipal inheritance in c#
When is web.config called?
How many weg.configs can an application have?
>> As u want but in different folder in sol. explorer
How do you set language in weg.config?
What does connection string consist of?
Where do you store connection string?
>> In Web Comfig File
What is abstract class?
>> With Has a two type of method
1. just sign (No functionality )
2. concert method (with functionlity)
What is difference between interface inhertance and class inheritance?
>> interface inhetance may be multipal
class inhetance may be multy level
What are the collection classes?
What are the types of threading models?
What inheritance does VB.NET support?
What is a runtime host?
Describe the techniques for optimizing your application?
Differences between application and session
>> application state does not change for end user
session state is create for every user
What is web application virtual directory?
Differences between Active.exe and Dll
Connection pooling in MTS?
If cookies is disabled in client browser, will session tracking work?
>> no but sql and state seesion may be wotk
How do you make your site SSL-enabled?
Will the following code execute successfully: response.write(’value of i=’+i);
What are the provides available with VB.NET?
What is a Process, Sesion and Cookie?
What are Abstract base classes?
What are the Difference between bstract base classes and Abstrat classes
What are interface in .NET?
>> interface has only one type of method
witch is just signed not functionlity is there
By using interface multipal inheretace is possible
How is Polymorphism supports in .NET?
>> yes overloding and overiding
What are the 2 types of polymorphism supports in .NET?
>> compile time and run time polymorphism
Types of compatibilities and explain them.
What is aggregative? How can it be implements in .NET?
Difference between COM components and .NET components?how to register it
Difference between early binding and late binding?
ASP.NET OBJECTS?
Asp.NET life cycle? When request mode
Explain ADO and its objects.
What is side by side execution?
Explain serialization?
Explain a class access specifiers and method acess specifiers.
>> there is 5 access specifiers
public
protected
private
internal
protected internal
What is the difference between overloading and overriding ? how can this be .NET
>> with in class overloding is posible
by using drive class overriding is posible
Explain virtual function and its usage.
>> it’s tell compliler that this method might be override
How do you implement inhetance in .NET?
>> in c# using :
in Vb inhertans
If I want to override a method 1 of class A and this class B then how do you declared
>>class B : A
{
public override method1()
{}
}
Explain friend and protected friend.
>> friend == this type of members is available for all classs those are in same assembly
>> protected frined == same assembly classs and drive classs can able to access this type of members
Explain multiple and multi_level inheritance in .NET?
>> multiple == class A : intehert interface1,interface2
multi_level == class A {}
class B : A {}
class c : B {}
What is isPostback property?
>> it’s check this page is load first time
What is dictionary base class?
How can a class be extended and how is this mechanism difff from that of implementation an interface?
What are indexes .NET?
How can indexes be implemented in .NET?
Categories: Web dev, .NET
Please send me the answers of following questions -
1. What is the default time of Garbage Collector to clean the objects.
2. How can we manually done the Garbage collection
3. Can we schedule GarbageCOllector job as per our setting
4. When Web.Config file compiles
5. How many DataTables a DataSet can contain.
6. How can we customize GridView Paging e.g. A B C….. rather than 1 2 3 4 …..
7. Diff b/w DataGrid and GridView?
8. What is DetailView?
The great advantage of the GridView over the DataGrid is its support for code-free scenarios. Using
the GridView, you can accomplish many common tasks, such as paging and selection, without writing
any code. With the DataGrid, you were forced to handle events to implement the same features.
56 Comments on 54 ASP and ASP.NET questions
How many weg.configs can an application have?
An application can have any number of web.config files but each file in a seperate folder.
if an application has 5 folders then the application can have 5 web.config files in the folders + 1 web.config file in root directory
Explain the life cycle of an ASP .NET page.
Explain the .NET architecture.
What are object-oriented concepts?
How do you create multiple inheritance in c# and .NET?
>> By using interface u can create multipal inheritance in c#
When is web.config called?
How many weg.configs can an application have?
>> As u want but in different folder in sol. explorer
How do you set language in weg.config?
What does connection string consist of?
Where do you store connection string?
>> In Web Comfig File
What is abstract class?
>> With Has a two type of method
1. just sign (No functionality )
2. concert method (with functionlity)
What is difference between interface inhertance and class inheritance?
>> interface inhetance may be multipal
class inhetance may be multy level
What are the collection classes?
What are the types of threading models?
What inheritance does VB.NET support?
What is a runtime host?
Describe the techniques for optimizing your application?
Differences between application and session
>> application state does not change for end user
session state is create for every user
What is web application virtual directory?
Differences between Active.exe and Dll
Connection pooling in MTS?
If cookies is disabled in client browser, will session tracking work?
>> no but sql and state seesion may be wotk
How do you make your site SSL-enabled?
Will the following code execute successfully: response.write(’value of i=’+i);
What are the provides available with VB.NET?
What is a Process, Sesion and Cookie?
What are Abstract base classes?
What are the Difference between bstract base classes and Abstrat classes
What are interface in .NET?
>> interface has only one type of method
witch is just signed not functionlity is there
By using interface multipal inheretace is possible
How is Polymorphism supports in .NET?
>> yes overloding and overiding
What are the 2 types of polymorphism supports in .NET?
>> compile time and run time polymorphism
Types of compatibilities and explain them.
What is aggregative? How can it be implements in .NET?
Difference between COM components and .NET components?how to register it
Difference between early binding and late binding?
ASP.NET OBJECTS?
Asp.NET life cycle? When request mode
Explain ADO and its objects.
What is side by side execution?
Explain serialization?
Explain a class access specifiers and method acess specifiers.
>> there is 5 access specifiers
public
protected
private
internal
protected internal
What is the difference between overloading and overriding ? how can this be .NET
>> with in class overloding is posible
by using drive class overriding is posible
Explain virtual function and its usage.
>> it’s tell compliler that this method might be override
How do you implement inhetance in .NET?
>> in c# using :
in Vb inhertans
If I want to override a method 1 of class A and this class B then how do you declared
>>class B : A
{
public override method1()
{}
}
Explain friend and protected friend.
>> friend == this type of members is available for all classs those are in same assembly
>> protected frined == same assembly classs and drive classs can able to access this type of members
Explain multiple and multi_level inheritance in .NET?
>> multiple == class A : intehert interface1,interface2
multi_level == class A {}
class B : A {}
class c : B {}
What is isPostback property?
>> it’s check this page is load first time
What is dictionary base class?
How can a class be extended and how is this mechanism difff from that of implementation an interface?
What are indexes .NET?
How can indexes be implemented in .NET?
Categories: Web dev, .NET
Q. How many weg.configs can an application have?
A. You should have only one web.config. but in sub folder you can have one web.cofing to set configuration of that folders.
example if your application have 3 folders then 4 web.config have in your application
What is IsPostBackproperty?
To avoid round trips to the server..
Please send me the answers of following questions -
1. What is the default time of Garbage Collector to clean the objects.
2. How can we manually done the Garbage collection
3. Can we schedule GarbageCOllector job as per our setting
4. When Web.Config file compiles
5. How many DataTables a DataSet can contain.
6. How can we customize GridView Paging e.g. A B C….. rather than 1 2 3 4 …..
7. Diff b/w DataGrid and GridView?
8. What is DetailView?
The great advantage of the GridView over the DataGrid is its support for code-free scenarios. Using
the GridView, you can accomplish many common tasks, such as paging and selection, without writing
any code. With the DataGrid, you were forced to handle events to implement the same features.