- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
Microsoft.NET Interview Questions & Answers - Learning Mode

Microsoft.NET Interview Questions & Answers - Learning Mode

.NET is a programming framework created by Microsoft that developers can use to create applications more easily. As commenter dwroth aptly put it, "a framework is just a bunch of code that the programmer can call without having to write it explicitly." In a perfect world, you wouldn't need .NET Framework. The .NET Framework is a technology that supports building and running the next generation of applications and Web services. The .NET Framework consists of the common language runtime (CLR) and the .NET Framework class library, which includes ADO.NET, ASP.NET, Windows Forms, and Windows Presentation Foundation (WPF).

Try Microsoft.NET Interview Questions & Answers - Exam Mode

1 2 Next

Sort By : Latest First | Oldest First | By Rating

Microsoft.NET Interview Questions & Answers - Learning Mode
Try Microsoft.NET Interview Questions & Answers - Exam Mode
Question: How do assemblies find each other?

Answer: If the assemblies is private means doesn't worry about it. The assembly name is unique. Whereas the assemblies is like shared assembly find the name and versioning number of the assembly. Source:
Question: What is an Application Domain?

Answer: Operating systems and runtime environments provide some form of isolation between applications. This isolation is necessary to ensure that code running in one application cannot adversely affect other, unrelated applications
Question: Is .NET capable of supporting multi-thread?

Answer: Multithreading is a important feature of .NET, which was not there in Visual Basic.

If u want to use Multithreading, import a namespace called as System.Threading.In this namespace there are many classes related to it like Mutex,....
Question: What is the difference between .Net2000 and .Net2005(features)? Which one is better?

Answer: .net 2005 is better as it has many additional .net 2000,there was not the login control...but in 2005 it is.similarly many more functions is added in 2005. Source:
Question: What languages does the .NET Framework support?

Answer: 1. ASP.NET Web applications: These include dynamic and data driven browser based applications.

2. Windows Form based applications: These refer to traditional rich client applications.

3. Console applications: These refer to traditional DOS kind of applications like batch scripts.

4. Component Libraries: This refers to components that typically encapsulate some business logic.

5. Windows Custom Controls: As with traditional ActiveX controls, yo Source:
Question: What is SOAP and XML?

Answer: SOAP, Simple Object Access Protocol is the standard format for requesting web services. <br> <br>XML, Extensible Markup Langage is the format for exchanging data between Internet Application. Source:
Question: What is reflection in Microsoft .NET Context?

Answer: Net Reflection :

The REFLECTION is used to read the metadata information like(type, reference and methods). Which is derived from system.assembly.reflection class object.

The simple meaning is to read assembly information by using this system.assembly.reflection class.
Question: Can I redirect tracing to a file?

Answer: TextWriterListener will redirect the tracing output to an instance of the TextWriter or to any object of stream class such as log file, network stram or Console. Source:
Question: What is the satelite assembly?

Answer: Satellite assemblies are often used to deploy language-specific resources for an application. These language-specific assemblies work in side-by-side execution because the application has a separate product ID for each language and installs satellite assemblies in a language-specific subdirectory for each language. When uninstalling, the application removes only the satellite assemblies associated with a given language and .NET Framework version. No core .NET Framework files are removed unless t Source:
Question: Is there built-in support for tracing/logging?

Answer: Basically there are two ways by which you can enable tracing.

i. page label ii.application label.

For page label tracing in the page directive write the following

<@page trace="True">

and if you want show some message then either wrire trace.write(message) or trace.warn(some warning message)

note that trace.warn will show the message in red color.
Question: What is ASP.NET?

Answer: ASP.NET is the latest version of Microsoft's Active Server Pages technology (ASP). <br> <br>ASP.NET is a part of the Microsoft .NET framework, and a powerful tool for creating dynamic and interactive web pages. Source:
Question: What is the Difference between web application and enterprise application?

Answer: Web applications are stored on a server and delivered to users over the Internet. A Web application is usually a three-tier structure, comprising a User Service tier (allowing user access to the application), a Business Service tier (allowing the user to carry out complex activities) and a Data Service tier (which allows data storage and retrieval).
An application that conforms to the Java 2 Platform Enterprise Edition specification. Source:
Question: What are the differences between C# and VB.NET apart from syntax?which is more powerful,how do we determine which language to be used when designing a .NET app?

Answer: C# is designed as a purely object oriented language from the scratch

while was designed to port the existing VB programmers to dot net framework as is having the same feel as VB

there are many features in C# which are not available in like

1)Delegates which are equivalent to function pointers in VC++

2)pointers (using unmanaged code)
Question: What platforms does the .NET Framework run on?

Answer: The .Net Framework runs on
Windows XP,
Windows Server 2003,
Windows 2000, NT Server 4.0,
Windows 98, or Windows ME, a
lthough ASP.NET runs only on the first 3. Source:
Question: What is ISAPI?

Answer: ISAPI stands for Internet ServerApplication Programming Interface, is a specification that allows developers to extend IIS by writing components that proces raw HTTP requests. <br> <br>An ISAPI components ends up as DLL that IIS directs all requests and responses through. <br> <br>In ASP.Net ISAPI component has been evovled into httpHandler. <br> <br>ISAPI can be written only in C++, wherein httpHandler can be written using any .Net compatible language. <br Source:
Question: Explain .NET architecture and framework?

Answer: NET framework is a foundation calss on which you can build robust applications .This framework comprises of web forms,window forms andconsole applications..NET framework is basically a collection of services and classes.This exists as a layer between .NET applications and underlying operating systems. Source:
Question: How can I produce an assembly?

Answer: Goto command prompt Ist you have to set the path and type csc /t:library filename then you will be created assembly which will stored in the application directory.

for ex. i have file with hello.cs

i used to csc /t:library hello.cs

then it became hello.dll. stored in the application directory.
Question: What does 'managed' mean in the .NET context?

Answer: The executed by the CLR environment it is called Managed Code, which can provide security, Exception Handling and Memory Management (Garbage Collection). Provide Type Safe.

It becomes light weighted code.
Question: What is the difference between a private assembly and a shared assembly?

The .NET Assemblies Part1

This online presentation about .NET assemblies helps the webmasters to know about the three tier architecture and about .NET assemblies. The author describes the real need of the three-tier architecture. The author divides the application into three layers named as Presentation, Business Logic and Database. This article describes each with its pictorial representation given.

The .NET Assemblies Part 2

The author defines the assemblies and hig Source:
Question: What is serialization?

Answer: SERIALIZATION: It is the process of converting the objects into stream of bytes which is used for Web Services or Remoting. There are 2 types of serializers present

1 XML Serializer:- used for web services

2Binary Formatter:-used for remoting

1 2 Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.015625 Seconds