2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
4th June 2018, 11:09 AM
Unregistered
Guest
 
Re: Most recently asked interview question in asp.net

I have completed training of ASP.NET Language. Now I am preparing for job in MNC Software Company. So I am searching for most recently asked questions for interview in MNC Software Companies. So tell me from where I can get most recently asked questions in interview related to ASP.NET Language?
  #3  
4th June 2018, 11:10 AM
Super Moderator
 
Join Date: Aug 2012
Re: Most recently asked interview question in asp.net

As you are looking for most recently asked questions for Interview related to ASP.NET Language, so I am providing important questions that are mostly asked in interview:

Most Important and Asked Questions for ASP.NET:

Why .NET Framework?
.NET Framework is the most powerful development platform for building a variety of solutions on Windows. For example, using the .NET Framework, you can create applications for Windows Desktop, Web applications, Windows Phone applications, Windows Store applications, Windows Server, Windows Azure (cloud) as well as Bot frameworks and cognitive services.

Before exploring the .NET Framework, we first have to understand the issues/pain areas which developers have faced in other technologies -

Programming with Win32 API - Earlier we were using Win32 API and C language. This paradigm does not offer Object Oriented Features as C is a structured language. There is no better way of memory management either as it is done manually. Using Pointers is a big pain area for developers.

Programming with VC++ - Many of us use C++ and MFS as a programming language which offers the features of Object Oriented Features. However C++ is built on top of C language and hence the development can still cumbersome for many novice programmers who are dealing with memory management and pointers.

Programming with Visual Basic 6.0 - Way back in 1998, VB 6.0 as a development language had made development efforts easier. For example designing complex UI, Data Centric applications and much more. But VB 6.0 is not an object oriented language and is outdated now. When designing Multi-threaded application, we still have to go back to Win32 APIs.

Programming with COM - Component Object Model is a specification which is used for developing reusable components which can be called across the languages like VC++, Delphi. But with COM we also get "DLL Hell". DLL Hell is the issue of maintaining multiple versions of a component for multiple applications.

Under .NET Framework, many of these problems have been addressed and resolved.

Microsoft .NET Framework provides a huge no. of benefits compared with the legacy languages -
No more COM Specifications in .NET. So, we automatically get away from DLL Hell.
Microsoft .NET supports language integration.
Microsoft .NET Base Class Library offers a wrapper over many raw API calls which can be used in various .NET Languages.
You can call COM components in .NET and .NET Components in COM using interoperability.
A Common Runtime Engine shared by all the .NET Languages.
A single framework to develop Windows/Web applications.
We have no. of languages which make developers to adapt the .NET Framework for application development.

What is BCL?
The Base Class Library is a Common Language Infrastructure. BCL encapsulates a large number of common functionalities which are available to all the .NET Languages. BCL makes the developers life much simpler while implementing various functionalities like I/O operations, Data access operations, graphical user interfaces and interfaces to various hardware devices by encapsulating them into various namespaces and classes. It also encapsulates the services which are required by the latest real world applications. .NET Framework applications, components and the controls are built on BCL.

What is an application server?
As defined in Wikipedia, an application server is a software engine that delivers applications to client computers or devices. The application server runs your server code. Some well known application servers are IIS (Microsoft), WebLogic Server (BEA), JBoss (Red Hat), WebSphere (IBM).

What is a base class and derived class?
A class is a template for creating an object. The class from which other classes derive fundamental functionality is called a base class. For e.g. If Class Y derives from Class X, then Class X is a base class.

The class which derives functionality from a base class is called a derived class. If Class Y derives from Class X, then Class Y is a derived class.

What is an extender class?
An extender class allows you to extend the functionality of an existing control. It is used in Windows forms applications to add properties to controls.

A demonstration of extender classes can be found over here.

What is inheritance?
Inheritance represents the relationship between two classes where one type derives functionality from a second type and then extends it by adding new methods, properties, events, fields and constants.

C# support two types of inheritance:

Implementation inheritance

Interface inheritance

What is implementation and interface inheritance?
When a class (type) is derived from another class(type) such that it inherits all the members of the base type it is Implementation Inheritance.

When a type (class or a struct) inherits only the signatures of the functions from another type it is Interface Inheritance.

In general Classes can be derived from another class, hence support Implementation inheritance. At the same time Classes can also be derived from one or more interfaces. Hence they support Interface inheritance.

What is inheritance hierarchy?
The class which derives functionality from a base class is called a derived class. A derived class can also act as a base class for another class. Thus it is possible to create a tree-like structure that illustrates the relationship between all related classes. This structure is known as the inheritance hierarchy.

Define Overriding?
Overriding is a concept where a method in a derived class uses the same name, return type, and arguments as a method in its base class. In other words, if the derived class contains its own implementation of the method rather than using the method in the base class, the process is called overriding.

Can you use multiple inheritance in .NET?
.NET supports only single inheritance. However the purpose is accomplished using multiple interfaces.

Why dont we have multiple inheritance in .NET?
There are several reasons for this. In simple words, the efforts are more, benefits are less. Different languages have different implementation requirements of multiple inheritance. So in order to implement multiple inheritance, we need to study the implementation aspects of all the languages that are CLR compliant and then implement a common methodology of implementing it. This is too much of efforts. Moreover multiple interface inheritance very much covers the benefits that multiple inheritance has.

What is an Interface?
An interface is a standard or contract that contains only the signatures of methods or events. The implementation is done in the class that inherits from this interface. Interfaces are primarily used to set a common standard or contract.

What are events and delegates?
An event is a message sent by a control to notify the occurrence of an action. However it is not known which object receives the event. For this reason, .NET provides a special type called Delegate which acts as an intermediary between the sender object and receiver object.

What is business logic?
It is the functionality which handles the exchange of information between database and a user interface.

What is a component?
Component is a group of logically related classes and methods. A component is a class that implements the IComponent interface or uses a class that implements IComponent interface.

What is a control?
A control is a component that provides user-interface (UI) capabilities.


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 09:56 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4