Dot Net Interview Questions – Set 13

What is MVC?

MVC is an architectural model for building the .Net applications. It stands for Model View Controller. It is easy to use and offers full control over the HTML.

What is HTTPhandler?

HttpHandler is a low level request and response API which is made to service incoming Http request. Every incoming Http request recieved by ASP.NET is ultimately processed by a instance of a class that implements HttpHandler.

What is BCL?

  • BCL is a base class library of classes, interfaces and value types
  • It is the foundation of .NET framework applications, components, and controls
  • Encapsulates a huge number of common functions and make them easily available for the developers
  • It provides functionality like threading, input/output, security, diagnostics, resources, globalization, etc.
  • Also serves the purpose of interaction between user and runtime
  • It also provides namespaces that are used very frequently. for eg: system, system.Activities, etc.

What is the inheritance hierarchy?

Inheritance hierarchy is a singly rooted tree structure for organizing classes.

What is the difference between namespace and assembly?

An assembly is a physical grouping of logical units whereas namespace groups classes. Also, a namespace can span multiple assemblies as well.

What is implementation inheritance and interface inheritance?

Implementation inheritance is when a class inherits all members of the class from which it is derived. Interface inheritance is when the class inherits only signatures of the functions from another class.

What are Boxing and Unboxing?

Boxing and Unboxing is a concept of C#, which enables a unified view of the type system to treat the value of any type as an object.

What is the .NET Framework?

This is a common way for interviewers to start an interview for a software developer who needs to specialize in the .NET Framework. Show the interviewer your ability to utilize the .NET Framework effectively by describing what it is, when to use it and its main features. Try to show your practical knowledge of the system.

Example: “.NET is a Microsoft framework designed to help developers work with different coding languages. In simple terms, it’s a virtual machine that assists with the compilation, conversion and execution of code within a development framework. Using .NET, developers can create form- and web-based applications and services.”

Describe the use of ErrorProvider Control in .NET.

The ErrorProvider control is used to indicate invalid data or error to the end user while filling a data entry form. In case of invalid data entry the error message attached to the error description string is displayed next to the control.

What are cookies?

A cookie is a small amount of data created by server on the client. When a web server creates a cookie, an additional HTTP header is sent to the browser when a page is served to the browser.