CoolInterview.com - 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
COOLINTERVIEW.COM MICROSOFT INTERVIEW QUESTIONS MICROSOFT.NET INTERVIEW QUESTIONS 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: CoolInterview.com
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.
Source: CoolInterview.com
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: CoolInterview.com
Question: What is the difference between a private assembly and a shared assembly?



Answer:
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: CoolInterview.com
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: CoolInterview.com
Question: How do I spawn a thread?



Answer: Threads are processed differently depending on IIS5. or IIS 6 is used. For each request that comes in, a new instance of the appropriate HttpApplication-derived class is created, as are the associated modules for that app. To avoid reallocating apps and modules too often, each AppDomain maintains a pool of apps and modules. The maximum size of the app pool is the same as the size of the thread pool, so by default, up to 25 requests per worker process can be processed concurrently, each with its Source: CoolInterview.com
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.
publib.boulder.ibm.com/infocenter/ws51help/topic/com.i Source: CoolInterview.com
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 VB.net was designed to port the existing VB programmers to dot net framework as VB.net is having the same feel as VB

there are many features in C# which are not available in VB.net like

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

2)pointers (using unmanaged code)
Source: CoolInterview.com
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: CoolInterview.com
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: CoolInterview.com
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
Source: CoolInterview.com
Question: What is the difference between asp.net and asp



Answer: There are a number of striking differences between ASP.NET and ASP. For some of these differences, the benefits will be immediately obvious. For others. We?ll have to get used to new ways of thinking about dynamic web Pages. Among the changes are:

ASP.NET pages are complied, not interpreted. A binary executable is compiled upon the first request to the page. This image is stored in an in-memory cache on the web server, and subsequent request to this page use this executable to service the Source: CoolInterview.com
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,....
Source: CoolInterview.com
Question: What are CLR, CTS and CLS?






Answer: CLR
See definition for common language runtime.
CLS
See definition for Common Language Specification.
common type system
The specification that determines how the common language runtime defines, uses, and manages types.
common language runtime
The engine at the core of managed code execution. The runtime supplies managed code with services such as cross-language integration, code access security, object lifetime management, and debugging and profiling support.
Com Source: CoolInterview.com
Question: What is .NET?



Answer: According to Microsoft, .NET is a "revolutionary new platform, built on open Internet protocols and standards, with tools and services that meld computing and communications in new ways".
A more practical definition would be that .NET is a new environment for developing and running software applications, featuring ease of development of web-based services, rich standard run-time services available to components written in a variety of programming languages, and inter-language and inter-machin Source: CoolInterview.com
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.
Source: CoolInterview.com
Question: How do I stop a thread?



Answer: NET allows to call System.Windows.Forms.Control functions only from thread where control was created. To run them from other thread we need to use Control.Invoke (synchronous call) or Control.BeginInvoke (asynchronous call) functions. For task like showing database records we need Invoke. To implement this :Delegate type for calling form function, delegate instance and function called using this delegate Invoke call from worker thread. Next problem is to stop worker thread correctly. Steps to do Source: CoolInterview.com
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: CoolInterview.com
Question: Difference between static page and dynamic page?



Answer: Answer: Static Pages
Quick and easy to put together, even by someone who doesn't have much experience.
Ideal for demonstrating how a site will look.
Cache friendly, one copy can be shown to many people.

Dynamic Pages
Offers highly personalized and customised visitor options.
Database access improves the personalized experience (as opposed to using just client side cookies)
Scripts can read in data sources and display it differently depending on how it is run. CoolInterview.com
Question: What is the difference between .Net2000 and .Net2005(features)? Which one is better?

Answer: .net 2005 is better as it has many additional functionalities.in .net 2000,there was not the login control...but in 2005 it is.similarly many more functions is added in 2005. Source: CoolInterview.com

1 2 Next



India News Network
Latest 20 Questions
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
"Holiday Packages" announced as an advertisement are an example of _________: (a) Offer (b) Counter Offer (c) Invitation to Offer (d) None of the above
A match fixing contract between a player and a broker is a: (a) Valid Contract (b) Unenforceable Contract (c) Void Contract (d) Illegal Contract
When a bookseller sells a book on cash payment then it is called as ___________: (a) Unilateral Contract (b) Bilateral Contract (c) Executed Contract (d) Executory Contract
____________ agreements are created by situation: (a) Written (b) Oral (c) Void (d) Implied
Cache = 0.0625 Seconds