Dot Net Framework Interview Questions And Answers

Download Dot Net Framework Interview Questions and Answers PDF

Elevate your Dot Net Framework interview readiness with our detailed compilation of 22 questions. Each question is crafted to challenge your understanding and proficiency in Dot Net Framework. Suitable for all skill levels, these questions are essential for effective preparation. Access the free PDF to get all 22 questions and give yourself the best chance of acing your Dot Net Framework interview. This resource is perfect for thorough preparation and confidence building.

22 Dot Net Framework Questions and Answers:

Dot Net Framework Job Interview Questions Table of Contents:

Dot Net Framework Job Interview Questions and Answers
Dot Net Framework Job Interview Questions and Answers

1 :: How to set background for total website, on that another another layer, in that we keep website data,,for example see www.msn.com. On one faded background we ll have layer like other background..Do explain how its possible?

To set background of any website set the body css background
image to apply it to the whole site
Read More

2 :: What is namespace?

Namespace is a logical container for all types i.e
class, enum, struct, interface etc..

Namespace is used in two scenarios:
1. to overcome the naming collision
2. to group related items together
Read More

3 :: What is Reflection in .NET?

Reflection is the feature in .Net, which enables us to get
some information about object in runtime. That information
contains data of the class. Also it can get the names of
the methods that are inside the class and constructors of
that object.
Read More

4 :: Explain unit test done by tester on development team?

Yes, Ideal practice is, the basic unit test should be
written by the developer. Further in scenario vice test
cases and more complext test cases must be written by WBT
(White box testing) team.
Read More

5 :: What is .net framwork?

FRAMEWORK : it is a collection of all the tools and utilities required to execute the .net managed application on particular platform.
Read More

6 :: What is CLR? How does work CLR & wht is work of CLR?

CLR- common language runtime.. clr in .net is equivalent to jvm in java. garbage collection,sode access security, code verification, intermediate language are work sof clr..
it uses jit to compile intermediate language code to machine code.
Read More

7 :: Where The Inheritence is useful? How we decide the situation of inheritence?

Mostly inheritance requires in large classes where every
time searching and writing of same data is impossible. That
case requires us to define some inherited functions methods
n classes.Whenver they required they simply inherited from
inheritance class where they are already defined along with
their functionality to handling some other data pieces.
Read More

8 :: Who handles these error while writing the source code?

Suppose i am writing code in .net e.g
int i=10
then .net show me red line under the code where error
occurs.we know the i have not apply semicolon at the end of
syntax(int i=10;)
Read More

9 :: Can we change web.config settings from iis?

Yes authority and authentication settings of the
application can be changed with iis. plus we can also
change the connection property and start page setting from
iis.
Read More

10 :: What happened when type url in address bar and press enter?

the url is break into four parts(i.e. ip addresses)first is
protocol in use,2nd host name or ip addr,3rd protocol port
no.,4th actual file path
Read More

11 :: How to Insert a TextBox value in to Sql database using C#.Net coding?

assign the textbox valuu to a string than using sqlcommand
in c# writing insert querry . insert the value into the
database.
ex; sqlcommand cmd=new sqlcommand("insert into emp values
('"+textbox1.text+"'),con");
cmd.executenonquerry();
Read More

12 :: What is shadowing?

shadowing in general is when two variables/methods or any
other element has same name and any one of the both can
shadow( in OOP case override) the behavior of other.
Read More

13 :: How to update one of my table in database at 4pm every day how it is possible?

if your application is in run under the server system then
take the server time,that time is equal to 4pm then write
the update query of the selected table and field.
Read More

14 :: How to bind table colum with gridview column?

you use gridview content click event, in this you do like that

if (dgvCustomers.CurrentRow.Index != -1)
{
if (dgvCustomers.CurrentCell.OwningColumn.Name == "eventype")
if (Convert.ToString(dgvCustomers.CurrentCell.Value) ==
"1")
{ msgbox.show("Hello World ..."); }
}
else
{
MessageBox.Show("Hi its amit" );
}
Read More

15 :: When i am using Ajax controls (update panel), Is page events all are executed or only some events are executed? which page events are executed?

only page event executed..why because if u write a update
panel for which control event u want executed so that one
only executed
Read More

16 :: What’s the advantage of using System.Text.StringBuilder over System.String?

String..
1.Its a class used to handle strings.
2.Here concatenation is used to combine two strings.
3.String object is used to concatenate two strings.
4.The first string is combined to the other string by
creating a new copy in the memory as a string object, and
then the old
string is deleted
5.we say "Strings are immutable".

String Builder..
1.This is also the class used to handle strings.
2.Here Append method is used.
3.Here, Stringbuilder object is used.
4.Insertion is done on the existing string.
5.Usage of StringBuilder is more efficient in case large
amounts of string manipulations have to be performed
Read More

17 :: can we change the page layout in ASP.NET 2.0 as grid layout like in the previous version?

Yes From The IDE of Visual Studio net
There is Option by which you can change the layout of your
form
Select Tool Menu Item then
Select Option Item in Tool Menu then
IN HTML DESIGNER Node then
in CSS Positioning then
Then Select Changed Positioning and
Select select the Absolutely Positioned then Press OK
Read More

18 :: Can Static Constructor be Overloaded? Justify it?

Its not possible to overload static constructor because
static constructor are parameterless constructor.
Read More

19 :: What is .NET?

.Net is NOT a programing Language.

Its software bundle or collection of software its support
more than 40 languages(ex:vb.net,c#,j#,ASP.NET ans etc)
Read More

20 :: What are abstract classes? what is overriding?

A class that contains on one or more abstract functions is
known as abstract class.
we can not instantiate abstract class directly.first we have
to create a derived class and then we can instantiate.
Read More

21 :: In which testing using in .net framwork?

Nunit framework
Read More

22 :: What is a mvc in asp.net?

ASP.NET MVC is a part of the ASP.NET Web application framework

Model: The model contains the core information for an
application. This includes the data and validation rules as
well as data access and aggregation logic.

View: The view encapsulates the presentation of the
application, and in ASP.NET this is typically the HTML markup.

Controller: The controller contains the control-flow logic.
It interacts with the Model and Views to control the flow of
information and execution of the application.
Read More