Professional Documents
Culture Documents
Net Interview Questions For Freshers
Net Interview Questions For Freshers
Net Interview Questions For Freshers
1. What is ASP.NET?
ASP.Net is a web development platform provided by Microsoft. It is used
for creating web-based applications. ASP.Net applications can also be
written in a variety of .Net languages. These include C#, VB.Net, and J#.
The ASP stands for Active Server Pages, and .NET is Network Enabled
Technologies.
WebPages?
The client-side validation happens at the client's side with the help of
JavaScript and VBScript. This validation has occurred before the Web page is
sent to the server.
MVC stands for Model View Controller. It is a design pattern that is used to
separate business logic and presentation logic. It is used to develop the highly
customized application.
The Model represents data, View represents presentation and controller acts
as an interface between Model and View.
6. What is a cookie?
A delegate is a .NET object which defines a method signature and it can pass a
function as a parameter.
Delegate always points to a method that matches its specific signature. Users
can encapsulate the reference of a method in a delegate object.
When we pass the delegate object in a program, it will call the referenced
method. To create a custom event in a class, we can make use of delegate.
The main difference between an abstract class and an interface are listed below:
Stack: Stack is a stored-value type that keeps track of each executing thread
and its location. It is used for static memory allocation.
Heap: Heap is a stored reference type that keeps track of the more precise
objects or data. It is used for dynamic memory allocation.
Page_PreInit
Page_Init
Page_InitComplete
Page_PreLoad
Page_Load
Page_LoadComplete
Page_PreRender
Render
Session Cookie: It resides on the client machine for a single session and is
valid until the user logs out.
Persistent Cookie: It resides on the user machine for a period specified for its
expiry. It may be an hour, a day, a month, or never.
In C#, we can use the sealed keyword to prevent a class from being
inherited.
Default Constructor
Parameterized constructor
Copy Constructor
Static Constructor
Private Constructor
Functional requirements are the basic and mandatory facilities that must be
incorporated into a system. Non-functional requirements are quality-related
attributes that the system must deliver.
.EXE files are single outbound files that cannot be shared with other
applications. DLL files are multiple inbound files that are shareable.