|
By Nishant Kumar
.Net Framework interview questions
Explain the .Net Framework.
Describe the .Net
Framework Architecture.
What are the
components of the .Net Framework.
Explain the role of
assembly in the .Net Framework.
Describe the GAC in the .Net
Framework.
Question - Explain the .Net Framework.
Answer - The .Net framework allows infrastructural services to
all the applications developed in .net compliant language. It is an engine that
provides runtime services using its component like Common Runtime Language. It
consists of two main components such as Common Language Runtime and Framework
Class Library.
Question - Describe the .Net Framework
Architecture.
Answer - The .Net Framework has two main components:
.Net Framework Class Library: It provides common types such as data types and
object types that can be shared by all .Net compliant language.
The Common language Runtime: It provides services like code execution, type
safety, security, thread management, interoperability services.
Question - What are the components of
the .Net Framework.
Answer - Class Loader, Compiler, Garbage Collection, Type
checker, Debug engine, Exception Manager, Security engine, Thread manager, COM
Marshallar, Class Library.
Question - Explain the role of assembly in the
.Net Framework.
Answer - .Net Framework keeps executable code or DLL in the
form of assembly. .Net Framework maintains multiple versions of the application
in the system through assembly. The assemblies have MSIL code and manifest that
contains metadata. The metadata contains version information of the assembly.
Question - Describe the GAC in the .Net Framework.
Answer - .Net Framework provides Global Assembly cache, a
machine-wide cache. It stores shared assemblies that can be accessed by
multiple languages.
Define connected and disconnected data access in ADO.NET | Describe CommandType
property of a SQLCommand in ADO.NET. | Define Dataview component of ADO.NET. |
What are the ways to create connection in ADO.NET? | Access database at runtime
using ADO.NET
What is code security? What are the types? | Define Principal
object. | Define declarative and imperative security. | Define role-based
security. | Explain code access security. | What is Code group? | Define the
use of Caspol.exe.
What is break mode? What are the options to step through
code? | Debug Vs Trace. | Define trace class. Define Listeners collection of
Trace and Debug objects. | Define Trace Switches.
|