Interview

Q1. How is .NET able to support multiple languages?
Ans. A language should comply (work in accordance) with the CLR standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language(MSIL). This is called managed code. This manage code is run in .NET environments. So after compilation to this IL. The language is not a barrior. A code can call or use a function written in another language.

Q2. What is GAC in .NET?
Ans. The Global Assembly cache stores assemblies specifically designated to be shared by several applications on the computer.
When an assembly is added tot he global assembly cache ,integrity checks are performed on all files that make u the assembly. GAC tool used is gacutil.exe to put assemblies into the cache.
Assembly is a collection of one or more files grouped together to form a single unit.

Q3. Explain CLR,CTS,CLS:
Ans. CLR (Common Language Runtime) : Managed code execution.
The runtime supplies managed code with services such as cross language integration,code access security,exception handling,object lifetime management, and memory management debugging and profiling support.

Q4. Explain SOAP and XML:
Ans. SIMPLE OBJECT ACCESS ROTOCOL.
It is the standard format for requesting web services.
XML: EXTENSIBLE MARKUP LANGUAGE.
It is the format for exchanging data between internet application

Q5. What is .NET architecture and framework?
Ans. .NET framework is the foundation class on which you can build robust applications.
This framework consists of web forms, windows forms and console applications.
.NET framework is basically a collection of services and classes.

Q6. What is ISAPI?
Ans. INTERNET SERVER APPLICATION PROGRAMMING INTERFACE is a specification that allows developers to extend IIS by writing components that process row HTTP requests.
An ISAPI components ends upp as DLL that IIS directs all requests and responses through.
In .NET  ISAPI components has been evolved into HttppHandlers.
ISAPI can be written only in C++, but HttppHandlers can be written using any .NET compatible language.

Q7. Explain ASP .NET?
Ans. It is an extension of latest version of microsofts Active Server Pages (ASP) techonolgy.
ASP .NET is a part of Microsoft .NET framework and a ppowerful tool for creating dynamic and interactive webpages.

Q8. What is web pages?
Ans. Web applications are stored on the server and delivered to user over the internet. A web application is usually a three tier structure.

Q9. What is REFLECTION in .NET context?
Ans. REFLECTION is used to read the metadata information like (type,reference and methods) which is delivered from system.assembley.reflection class object.
To read assembly information by using this system.assembly.reflection class.

Q10. Explain garbage collectiion
Ans. The automatic memory management scheme employed by the .NET framework (CLR) is called garbage collection.
unused memory is automatically reclaimed by garbage collection without interaction with the application. The garbage collector is a low priority thread that always runs in the background of the application under normal circumstances.
In C++, memory is divided in 5 blocks namely stack,heap,global,static and code blocks. When heap block is about to full garbage collector automatically invokes and frees the memory by deleting the unused objects or references.





No comments:

Post a Comment

POST YOUR COMMENTS AND FAQ........