SlideShare a Scribd company logo
➢ BEGINNER LEVEL QUESTIONS
➢ INTERMEDIATE LEVEL QUESTIONS
➢ ADVANCED LEVEL QUESTIONS
www.edureka.co
www.edureka.co
www.edureka.cowww.edureka.co
What is .NET framework?01
The .NET framework supports an object-oriented approach that is used
for building applications on windows. It supports various languages like
C#, VB, Cobol, Perl, .NET, etc. It has a wide variety of tools and
functionalities like class, library and APIs that are used to build, deploy
and run web services and different applications
www.edureka.cowww.edureka.co
What are the different components of .NET?02
Common Language Run-Time
Following are the different components of .NET
Application Domain
Common Type System
.NET Class Library
.NET Framework
Profiling
www.edureka.cowww.edureka.co
What do you know about CTS?03
CTS stands for Common Type System. It follows certain rules according to which
a data type should be declared and used in the program code. CTS also
describes the data types that are going to be used in the application. We can
even make our own classes and functions following the rules in the CTS, it helps
in calling the data type declared in one program language by other programming
languages.
www.edureka.cowww.edureka.co
What is CLR?04
CLR stands for common language run-time, it is an important
component of the .NET framework. We can use CLR as a
building block of various applications and provides a secure
execution environment for applications.
Whenever an application written in C# is compiled, the code is
converted into an intermediate language. After this, the code is
targeted to CLR which then performs several operations like
memory management, security checks, loading assemblies, and
thread management.
www.edureka.cowww.edureka.co
Explain CLS05
Common language specification helps the developers
to use the components that are inter-language
compatible with certain rules that come with CLS.
It then helps in reusing the code in other .NET
compatible languages
www.edureka.cowww.edureka.co
What do you know about JIT?06
JIT is a compiler which stands for Just In Time. It is used to
convert the intermediate code into the native language.
During the execution, the intermediate code is converted
into the native language.
www.edureka.cowww.edureka.co
Why do we use Response.Output.Write() ?07
Response.Output.Write() is used to get the
formatted output.
www.edureka.cowww.edureka.co
What is the difference between Response.Redirect and Server.Transfer ?08
Response.Redirect basically redirects the
user’s browser to another page or site. The
history of the user’s browser is updated to
reflect the new address as well. It also
performs a trip back to the client where the
client’s browser is redirected to the new
page.
Whereas, Server.Transfer transfers from one
page to the other without making any round-
trip back to the client’s browser. The history
does not get updated in the case of
Server.Transfer.
www.edureka.cowww.edureka.co
Difference between
managed and
unmanaged code?
09
• Managed code is managed by CLR
• .NET framework is necessary to execute managed code
• CLR manages memory management through garbage collection
• It is any code that is not managed by CLR
• Independent of .NET framework
• Own Runtime environment for execution and compilation
www.edureka.cowww.edureka.co
Difference between
Classes and
objects?
10
• Class is the definition of an object
• It is a template of the object
• It describes all methods, properties,
etc
Class
• An object is an instance of a class
• A class does not become an
object unless instantiated
• An object is used to access all the
properties from a class
Object
www.edureka.cowww.edureka.co
• Implicit
• It is the process of converting the value type to the type
object
• Eg – obj myObj = i;
• Explicit
• It is the process of Extracting the value type from the object
• Eg – i = (int) myObj ;
Unboxing
Boxing
What do you know about
boxing and unboxing?11
www.edureka.cowww.edureka.co
Differentiate between constants and read-only variables?12
Evaluated at compile time
Support only value type
variables
Cannot be initialized in a
constructor or in declaration
Used when value is not
changing at compile time
They can hold reference type
variables
Evaluated at run-time
Used when actual value is
unknown before run-time
Can be initialized in a
constructor or in declaration
Constants Read-only variables
www.edureka.cowww.edureka.co
What is BCL?
13
• 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
www.edureka.cowww.edureka.co
What are the different versions of .NET Framework?
14
.NET Framework
4.6
.NET CORE
.NET Framework
1.0/1.1
.NET Framework
2.0
.NET Framework
3.0/3.5
.NET Framework
4.5
.NET Framework
4.0
www.edureka.cowww.edureka.co
What is the difference between namespace and assembly?15
An assembly is a physical grouping of logical units whereas namespace
groups classes. Also, a namespace can span multiple assemblies as well.
www.edureka.cowww.edureka.co
What is LINQ?
16
• It is an acronym for Language
integrated query which was
introduced with visual studio 2008.
• LINQ is a set of features that extend
query capabilities to the .NET
framework language syntax that
allows data manipulation irrespective
of the data source.
• LINQ bridges the gap between the
world of objects and the world of data
www.edureka.cowww.edureka.co
What is MSIL?17
MSIL is the Microsoft Intermediate Language, it provides instructions for
calling methods, storing and initializing values, memory handling,
exception handling and so on. All the .NET codes are first compiled to
Intermediate Language
www.edureka.cowww.edureka.co
From which base class
all web forms are
inherited?
18 All web forms are inherited from page class
www.edureka.co
www.edureka.cowww.edureka.co
Explain different parts
of assembly?19
It has the information about
the version of the assemblyMANIFEST
MSIL
Microsoft intermediate language
code
Contains the binary information
of the program
TYPE
METADATA
RESOURCES List of related files
www.edureka.cowww.edureka.co
How do you prevent a
class from being
inherited?
20 In C#, we can use the sealed keyword to prevent a class
from being inherited.
www.edureka.cowww.edureka.co
What are the different types
of constructors in C#?21
Private
Default
Parameterized
Static
Copy
www.edureka.cowww.edureka.co
What are different
types of
assemblies?
22
Private Assembly: It is accessible only to the
application. it is installed in the installation directory
of the application.
Shared Assembly: It can be shared by multiple
applications. it is installed in the GAC.
www.edureka.cowww.edureka.co
MDI( Multiple Document Interface): An MDI lets you
open multiple windows. it will have one parent window
and as many child windows. The components are
shared from the parent window like menu bar, toolbar,
etc.
SDI( Single Document Interface): It opens each
document in a separate window. Each window has its
own components like menu bar, toolbar, etc. Therefore it
is not constrained to the parent window.
SDI
MDI
What are MDI and SDI23
www.edureka.cowww.edureka.co
Differentiate between custom and user control?24
Derives from Control
Dynamic Layout
It has full toolbox support
Defines a single control
Static Layout
Derives from UserControl
Defines a set of controls
Cannot be added to the toolbox
Custom Control User Control
www.edureka.cowww.edureka.co
What is a garbage collector?25
Generation 1: This
is for medium-lived
objects
Generation 0:
It stores short-
lived objects
Generation 2: It
stores long-lived
objects.
Garbage collector feature in .NET frees the unused code objects in
the memory. The memory head is divided into 3 generations:
www.edureka.cowww.edureka.co
What is caching?26
Caching simply means storing the data temporarily in the memory so that the
data can be accessed from the memory instead of searching for it in the original
location. It increases the efficiency of the application and also increases its
speed.
Page Caching
Data Caching
Fragment Caching
www.edureka.cowww.edureka.co
Explain MVC.27
www.edureka.cowww.edureka.co
What is CAS?28
CAS stands for code access security. CAS is a part of a security model that prevents
unauthorized access to the resources. It also enables the users to set permissions for
the code. CLR then executes the code depending upon the permissions.
CAS can only be used for managed code. If an assembly uses CAS it is treated as
partially trusted. Although it goes through checks each time an assembly tries to
access the resources.
www.edureka.cowww.edureka.co
Explain Localization
and Globalization29
• It means changing the already
Globalized application to cater to a
specific language or culture
• Microsoft.Extensions.Localization is
used to localize the application
content
Localization
• Globalization is the process of
developing applications to
support multiple languages
• Existing applications can also be
converted to support multiple
languages
Globalization
www.edureka.cowww.edureka.co
What is application domain?
30
ASP.NET introduces a concept of application
domain or AppDomain which is like a lightweight
process that acts like both container and
boundary.
The .NET run-time uses the AppDomain as a
container for data and code. The CLR allows
multiple .NET applications to run in a single
AppDomain.
www.edureka.cowww.edureka.co
What is delegate in
.NET?31
A delegate in .NET is like a function pointer in other
programming languages like C or C++. A delegate allows
the user to encapsulate the reference of a method in a
delegate object. A delegate object can then be passed in
a program, which will call the referenced method. We can
even use a delegate method to create a custom event in a
class.
www.edureka.cowww.edureka.co
Difference between
Abstract class and
interface in .NET?
32
• An abstract class provides a partial
implementation for a functionality
that must be implemented by the
inheriting entities.
• An abstract class declares fields
too
Abstract
Class
• An interface merely declares a
contract or behavior that
implementing classes should
have
• An interface may declare only
properties, methods and events
with no access modifier
Interface
www.edureka.cowww.edureka.co
Differentiate between stack and heap?33
Stored value type
Keeps track for each thread and
its location
Keeps track of more precise
object or data
Stored reference type
Stack Heap
www.edureka.cowww.edureka.co
What are the
different validators
in ASP.NET?
34
• Client-side validation – When the validation takes place on the
client-side browser, it is called client-side validation. Usually,
JavaScript is used for client-side validation.
• Server-side validation – When the validation takes place
on the server then it is called server-side validation.
Server-side validation is considered as a secure form of
validation because even if the user bypasses the client-
side validation we can still catch it in server-side
validation.
www.edureka.co
www.edureka.cowww.edureka.co
What are EXE and DLL?35
EXE: It is an executable file that runs the application for
which it is designed. When we build an application, an exe
file is generated. Therefore the assemblies are loaded
directly when we run an exe. But an exe file cannot be
shared with other applications.
DLL: It stands for dynamic link library that consists of code
that needs to be hidden. The code is encapsulated in this
library, an application can have many DLLs and can also be
shared with other applications.
www.edureka.cowww.edureka.co
Differentiate between function and stored procedure?36
Must return a single value
It can only have the input
parameter
A stored procedure cannot be
called from a function
Exceptional handling is not
possible using try catch block
Can have both input/output
parameters
Always used to perform specific
task
Exceptional handling can be
done using try catch block
A function can be called from a
procedure
Function Stored Procedure
www.edureka.cowww.edureka.co
List the events in the page
life cycle.37
Page_Load
Page_PreInit
Page_Init
Page_PreLoad
Page_InitComplete
Page_PreRender
Page_LoadComplete
Render
www.edureka.cowww.edureka.co
What is the code to send an email from an ASP.NET application?38
mail message = new mail();
message.From = “abc@gmail.com”;
message.To = “xyz@gmail.com”;
message.Subject = “test”;
message.Body = “hello”;
SmtpMail.SmtpServer = “localhost”;
SmtpMail.Send(message)
www.edureka.cowww.edureka.co
What are the event
handlers that we
have for Global.asax
file?
39
Application_Start, Application_End,
Application_AcquireRequestState,
Application_AuthenticateRequest,
Application_AuthorizeRequest,
Application_BeginRequest,
Application_Disposed,
Application_EndRequest, Application_Error,
Application_PostRequestHandlerExecute,
Application_PreRequestHandlerExecute,
Application_PreSendRequestContent,
Application_PreSendRequestHeaders,
Application_ReleaseRequestState,
Application_ResolveRequestCache,
Application_UpdateRequestCache
Application
Events
• Session_Start, Session_End
Session
Events
www.edureka.cowww.edureka.co
Explain role-based
security.40
Role-based security is used to implement security
measures based on the role assigned to the users in the
organization. Then we can authorize users based on their
roles in the organization. For example, windows have
role-based access like user, administrators, and guests.
www.edureka.cowww.edureka.co
What is cross-page posting?
41
• Whenever we click on a submit button
on a page, the data is stored on the
same page. But if the data is stored
on a different page, it is known as a
cross-page posting.
• Cross-page posting can be achieved
by POSTBACKURL property which
causes the postback.
• FindControl method can be used to
get the values that are posted on this
page to which the page has been
posted.
www.edureka.cowww.edureka.co
How can we apply themes to an ASP.NET application?42
Following is the code to change the theme.
<configuration>
<system.web>
<pages theme=“windows”/>
</system.web>
</configuration>
www.edureka.cowww.edureka.co
Explain passport
authentication.43
During the passport authentication, it first checks the
passport authentication cookie, if the cookie is not
available the application redirects to the passport sign
on page. Passport service then authenticates the details
of the user on the sign on page and if they are valid,
stores them on the client machine and then redirects the
user to the requested page.
www.edureka.cowww.edureka.co
What are ASP.NET security
controls?44
<asp:Login>
<asp:LoginName>
<asp:LoginStatus>
<asp:LoginView>
<asp:PasswordRecovery>
www.edureka.cowww.edureka.co
List all the templates of the repeater control?45
ItemTemplate
AlternatingItemTemplate
SeparatorTemplate
FooterTemplate
HeaderTemplate
www.edureka.cowww.edureka.co
What is the appSettings section in the web.config file?46
<em><configuration>
<appsettings>
<add key=“ConnectionString” value=“server=local; pwd=abc; database=default”/>
</appsetings></em>
If we want to set the user-defined values for the whole applications, we can use the
appSettings block in the web.config file. For example the code below uses the
ConnectionString throughout the project for the database connection:
www.edureka.cowww.edureka.co
What is MIME?
47
MIME stands for multipurpose internet mail extensions, it
is the extension of the e-mail protocol which lets users
use the protocol to exchange files over the internet.
Servers insert the MIME header at the beginning of the
web transmission. Then the clients use this header to
select an appropriate ‘player’ for the type of data that the
header indicates. Some of these players are built into the
web browser.
www.edureka.cowww.edureka.co
What is HTTP handler?48
Every request into an ASP.NET application is handled by a
specialized component called HTTP handler. It is the most
important component for handling ASP.NET application
requests.
It uses different handlers to serve different files. The handler
for web page creates the page and control objects, runs
your code and then renders the final HTML.
• Page Handler(.aspx): Handles web pages
• User Control Handler(.ascx): It handles web user control
pages
• Web Service Handler(.asmx): Handles web service pages
• Trace Handler(trace.axd): It handles trace functionality
www.edureka.cowww.edureka.co
What are different
types of cookies in
ASP.NET?
49
• It resides on the client machine
for a single session until the
user logs out.
Session
cookie
• Resides on the user machine
for a period specified for its
expiry. It may be an hour, a
month or never.
Persistent
cookie
www.edureka.cowww.edureka.co
Differentiate between ExecuteScalar and ExecuteNonQuery?50
Returns the output value
Used for fetching a single value
Does not return the number of
affected rows
Used to execute insert and
update statements
Does not return any value
Returns the number of affected
rows
ExecuteScalar ExecuteNonQuery
www.edureka.co

More Related Content

What's hot

AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
Simplilearn
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Glen Hawkins
 
SQL Differences SQL Interview Questions
SQL Differences  SQL Interview QuestionsSQL Differences  SQL Interview Questions
SQL Differences SQL Interview Questions
MLR Institute of Technology
 
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
Amazon Web Services
 
Oracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 UpdateOracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 Update
Kellyn Pot'Vin-Gorman
 
Kotlin Overview
Kotlin OverviewKotlin Overview
Kotlin Overview
Ekta Raj
 
(BDT208) A Technical Introduction to Amazon Elastic MapReduce
(BDT208) A Technical Introduction to Amazon Elastic MapReduce(BDT208) A Technical Introduction to Amazon Elastic MapReduce
(BDT208) A Technical Introduction to Amazon Elastic MapReduce
Amazon Web Services
 
All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL Developer
Jeff Smith
 
Elephant Roads: a tour of Postgres forks
Elephant Roads: a tour of Postgres forksElephant Roads: a tour of Postgres forks
Elephant Roads: a tour of Postgres forks
Command Prompt., Inc
 
DITA Metadata
DITA MetadataDITA Metadata
DITA Metadata
Kristen Eberlein
 
Window functions with SQL Server 2016
Window functions with SQL Server 2016Window functions with SQL Server 2016
Window functions with SQL Server 2016
Mark Tabladillo
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)
Abdullah Khosa
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
Amazon Web Services
 
Sql vs NoSQL
Sql vs NoSQLSql vs NoSQL
Sql vs NoSQL
RTigger
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
SrirakshaSrinivasan2
 
Free Load Testing Tools for Oracle Database – Which One Do I Use?
Free Load Testing Tools for Oracle Database – Which One Do I Use?Free Load Testing Tools for Oracle Database – Which One Do I Use?
Free Load Testing Tools for Oracle Database – Which One Do I Use?
Christian Antognini
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
Amazon Web Services
 
Solid principles of oo design
Solid principles of oo designSolid principles of oo design
Solid principles of oo design
Confiz
 
Amazon Relational Database Service (Amazon RDS)
Amazon Relational Database Service (Amazon RDS)Amazon Relational Database Service (Amazon RDS)
Amazon Relational Database Service (Amazon RDS)
Amazon Web Services
 

What's hot (20)

AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
 
SQL Differences SQL Interview Questions
SQL Differences  SQL Interview QuestionsSQL Differences  SQL Interview Questions
SQL Differences SQL Interview Questions
 
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
 
Oracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 UpdateOracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 Update
 
Kotlin Overview
Kotlin OverviewKotlin Overview
Kotlin Overview
 
(BDT208) A Technical Introduction to Amazon Elastic MapReduce
(BDT208) A Technical Introduction to Amazon Elastic MapReduce(BDT208) A Technical Introduction to Amazon Elastic MapReduce
(BDT208) A Technical Introduction to Amazon Elastic MapReduce
 
All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL Developer
 
Elephant Roads: a tour of Postgres forks
Elephant Roads: a tour of Postgres forksElephant Roads: a tour of Postgres forks
Elephant Roads: a tour of Postgres forks
 
DITA Metadata
DITA MetadataDITA Metadata
DITA Metadata
 
Window functions with SQL Server 2016
Window functions with SQL Server 2016Window functions with SQL Server 2016
Window functions with SQL Server 2016
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
Sql vs NoSQL
Sql vs NoSQLSql vs NoSQL
Sql vs NoSQL
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
Free Load Testing Tools for Oracle Database – Which One Do I Use?
Free Load Testing Tools for Oracle Database – Which One Do I Use?Free Load Testing Tools for Oracle Database – Which One Do I Use?
Free Load Testing Tools for Oracle Database – Which One Do I Use?
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Solid principles of oo design
Solid principles of oo designSolid principles of oo design
Solid principles of oo design
 
Amazon Relational Database Service (Amazon RDS)
Amazon Relational Database Service (Amazon RDS)Amazon Relational Database Service (Amazon RDS)
Amazon Relational Database Service (Amazon RDS)
 

Similar to Top 50 .NET Interview Questions and Answers 2019 | Edureka

Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
suraj pandey
 
Dot Net Interview Questions - Part 1
Dot Net Interview Questions - Part 1Dot Net Interview Questions - Part 1
Dot Net Interview Questions - Part 1
ReKruiTIn.com
 
Dot net interview questions and asnwers
Dot net interview questions and asnwersDot net interview questions and asnwers
Dot net interview questions and asnwers
kavinilavuG
 
Dotnet1
Dotnet1Dotnet1
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdfCLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
ssuserbe139c
 
Introduction to programming using c
Introduction to programming using cIntroduction to programming using c
Introduction to programming using c
Reham Maher El-Safarini
 
Dot net
Dot netDot net
Dot net
public
 
Dotnet interview qa
Dotnet interview qaDotnet interview qa
Dotnet interview qaabcxyzqaz
 
C# c# for beginners crash course master c# programming fast and easy today
C# c# for beginners crash course master c# programming fast and easy todayC# c# for beginners crash course master c# programming fast and easy today
C# c# for beginners crash course master c# programming fast and easy today
Afonso Macedo
 
E-Comura Documentation
E-Comura DocumentationE-Comura Documentation
E-Comura Documentationanuj_rakheja
 
full stack interview questions.pdf
full stack interview questions.pdffull stack interview questions.pdf
full stack interview questions.pdf
Full stack campus
 
How .NET Framework Supports Cost-Effective Application Development
How .NET Framework Supports Cost-Effective Application DevelopmentHow .NET Framework Supports Cost-Effective Application Development
How .NET Framework Supports Cost-Effective Application Development
Sara Suarez
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
DrUjwala1
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word documentSIVAJISADHANA
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word document
SIVAJISADHANA
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word document
SIVAJISADHANA
 
Dot net interview_questions
Dot net interview_questionsDot net interview_questions
Dot net interview_questions9292929292
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet frameworkNitu Pandey
 

Similar to Top 50 .NET Interview Questions and Answers 2019 | Edureka (20)

Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Dot Net Interview Questions - Part 1
Dot Net Interview Questions - Part 1Dot Net Interview Questions - Part 1
Dot Net Interview Questions - Part 1
 
Dot net interview questions and asnwers
Dot net interview questions and asnwersDot net interview questions and asnwers
Dot net interview questions and asnwers
 
Dotnet1
Dotnet1Dotnet1
Dotnet1
 
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdfCLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
CLR_via_CSharp_(Jeffrey_Richter_4th_Edition).pdf
 
Introduction to programming using c
Introduction to programming using cIntroduction to programming using c
Introduction to programming using c
 
Dot net
Dot netDot net
Dot net
 
Dotnet interview qa
Dotnet interview qaDotnet interview qa
Dotnet interview qa
 
C# c# for beginners crash course master c# programming fast and easy today
C# c# for beginners crash course master c# programming fast and easy todayC# c# for beginners crash course master c# programming fast and easy today
C# c# for beginners crash course master c# programming fast and easy today
 
.Net slid
.Net slid.Net slid
.Net slid
 
E-Comura Documentation
E-Comura DocumentationE-Comura Documentation
E-Comura Documentation
 
full stack interview questions.pdf
full stack interview questions.pdffull stack interview questions.pdf
full stack interview questions.pdf
 
How .NET Framework Supports Cost-Effective Application Development
How .NET Framework Supports Cost-Effective Application DevelopmentHow .NET Framework Supports Cost-Effective Application Development
How .NET Framework Supports Cost-Effective Application Development
 
Session2 (3)
Session2 (3)Session2 (3)
Session2 (3)
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word document
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word document
 
New microsoft office word document
New microsoft office word documentNew microsoft office word document
New microsoft office word document
 
Dot net interview_questions
Dot net interview_questionsDot net interview_questions
Dot net interview_questions
 
Dotnet framework
Dotnet frameworkDotnet framework
Dotnet framework
 
1.0
1.01.0
1.0
 

More from Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
Edureka!
 

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Recently uploaded

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 

Recently uploaded (20)

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 

Top 50 .NET Interview Questions and Answers 2019 | Edureka

  • 1.
  • 2. ➢ BEGINNER LEVEL QUESTIONS ➢ INTERMEDIATE LEVEL QUESTIONS ➢ ADVANCED LEVEL QUESTIONS www.edureka.co
  • 4. www.edureka.cowww.edureka.co What is .NET framework?01 The .NET framework supports an object-oriented approach that is used for building applications on windows. It supports various languages like C#, VB, Cobol, Perl, .NET, etc. It has a wide variety of tools and functionalities like class, library and APIs that are used to build, deploy and run web services and different applications
  • 5. www.edureka.cowww.edureka.co What are the different components of .NET?02 Common Language Run-Time Following are the different components of .NET Application Domain Common Type System .NET Class Library .NET Framework Profiling
  • 6. www.edureka.cowww.edureka.co What do you know about CTS?03 CTS stands for Common Type System. It follows certain rules according to which a data type should be declared and used in the program code. CTS also describes the data types that are going to be used in the application. We can even make our own classes and functions following the rules in the CTS, it helps in calling the data type declared in one program language by other programming languages.
  • 7. www.edureka.cowww.edureka.co What is CLR?04 CLR stands for common language run-time, it is an important component of the .NET framework. We can use CLR as a building block of various applications and provides a secure execution environment for applications. Whenever an application written in C# is compiled, the code is converted into an intermediate language. After this, the code is targeted to CLR which then performs several operations like memory management, security checks, loading assemblies, and thread management.
  • 8. www.edureka.cowww.edureka.co Explain CLS05 Common language specification helps the developers to use the components that are inter-language compatible with certain rules that come with CLS. It then helps in reusing the code in other .NET compatible languages
  • 9. www.edureka.cowww.edureka.co What do you know about JIT?06 JIT is a compiler which stands for Just In Time. It is used to convert the intermediate code into the native language. During the execution, the intermediate code is converted into the native language.
  • 10. www.edureka.cowww.edureka.co Why do we use Response.Output.Write() ?07 Response.Output.Write() is used to get the formatted output.
  • 11. www.edureka.cowww.edureka.co What is the difference between Response.Redirect and Server.Transfer ?08 Response.Redirect basically redirects the user’s browser to another page or site. The history of the user’s browser is updated to reflect the new address as well. It also performs a trip back to the client where the client’s browser is redirected to the new page. Whereas, Server.Transfer transfers from one page to the other without making any round- trip back to the client’s browser. The history does not get updated in the case of Server.Transfer.
  • 12. www.edureka.cowww.edureka.co Difference between managed and unmanaged code? 09 • Managed code is managed by CLR • .NET framework is necessary to execute managed code • CLR manages memory management through garbage collection • It is any code that is not managed by CLR • Independent of .NET framework • Own Runtime environment for execution and compilation
  • 13. www.edureka.cowww.edureka.co Difference between Classes and objects? 10 • Class is the definition of an object • It is a template of the object • It describes all methods, properties, etc Class • An object is an instance of a class • A class does not become an object unless instantiated • An object is used to access all the properties from a class Object
  • 14. www.edureka.cowww.edureka.co • Implicit • It is the process of converting the value type to the type object • Eg – obj myObj = i; • Explicit • It is the process of Extracting the value type from the object • Eg – i = (int) myObj ; Unboxing Boxing What do you know about boxing and unboxing?11
  • 15. www.edureka.cowww.edureka.co Differentiate between constants and read-only variables?12 Evaluated at compile time Support only value type variables Cannot be initialized in a constructor or in declaration Used when value is not changing at compile time They can hold reference type variables Evaluated at run-time Used when actual value is unknown before run-time Can be initialized in a constructor or in declaration Constants Read-only variables
  • 16. www.edureka.cowww.edureka.co What is BCL? 13 • 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
  • 17. www.edureka.cowww.edureka.co What are the different versions of .NET Framework? 14 .NET Framework 4.6 .NET CORE .NET Framework 1.0/1.1 .NET Framework 2.0 .NET Framework 3.0/3.5 .NET Framework 4.5 .NET Framework 4.0
  • 18. www.edureka.cowww.edureka.co What is the difference between namespace and assembly?15 An assembly is a physical grouping of logical units whereas namespace groups classes. Also, a namespace can span multiple assemblies as well.
  • 19. www.edureka.cowww.edureka.co What is LINQ? 16 • It is an acronym for Language integrated query which was introduced with visual studio 2008. • LINQ is a set of features that extend query capabilities to the .NET framework language syntax that allows data manipulation irrespective of the data source. • LINQ bridges the gap between the world of objects and the world of data
  • 20. www.edureka.cowww.edureka.co What is MSIL?17 MSIL is the Microsoft Intermediate Language, it provides instructions for calling methods, storing and initializing values, memory handling, exception handling and so on. All the .NET codes are first compiled to Intermediate Language
  • 21. www.edureka.cowww.edureka.co From which base class all web forms are inherited? 18 All web forms are inherited from page class
  • 23. www.edureka.cowww.edureka.co Explain different parts of assembly?19 It has the information about the version of the assemblyMANIFEST MSIL Microsoft intermediate language code Contains the binary information of the program TYPE METADATA RESOURCES List of related files
  • 24. www.edureka.cowww.edureka.co How do you prevent a class from being inherited? 20 In C#, we can use the sealed keyword to prevent a class from being inherited.
  • 25. www.edureka.cowww.edureka.co What are the different types of constructors in C#?21 Private Default Parameterized Static Copy
  • 26. www.edureka.cowww.edureka.co What are different types of assemblies? 22 Private Assembly: It is accessible only to the application. it is installed in the installation directory of the application. Shared Assembly: It can be shared by multiple applications. it is installed in the GAC.
  • 27. www.edureka.cowww.edureka.co MDI( Multiple Document Interface): An MDI lets you open multiple windows. it will have one parent window and as many child windows. The components are shared from the parent window like menu bar, toolbar, etc. SDI( Single Document Interface): It opens each document in a separate window. Each window has its own components like menu bar, toolbar, etc. Therefore it is not constrained to the parent window. SDI MDI What are MDI and SDI23
  • 28. www.edureka.cowww.edureka.co Differentiate between custom and user control?24 Derives from Control Dynamic Layout It has full toolbox support Defines a single control Static Layout Derives from UserControl Defines a set of controls Cannot be added to the toolbox Custom Control User Control
  • 29. www.edureka.cowww.edureka.co What is a garbage collector?25 Generation 1: This is for medium-lived objects Generation 0: It stores short- lived objects Generation 2: It stores long-lived objects. Garbage collector feature in .NET frees the unused code objects in the memory. The memory head is divided into 3 generations:
  • 30. www.edureka.cowww.edureka.co What is caching?26 Caching simply means storing the data temporarily in the memory so that the data can be accessed from the memory instead of searching for it in the original location. It increases the efficiency of the application and also increases its speed. Page Caching Data Caching Fragment Caching
  • 32. www.edureka.cowww.edureka.co What is CAS?28 CAS stands for code access security. CAS is a part of a security model that prevents unauthorized access to the resources. It also enables the users to set permissions for the code. CLR then executes the code depending upon the permissions. CAS can only be used for managed code. If an assembly uses CAS it is treated as partially trusted. Although it goes through checks each time an assembly tries to access the resources.
  • 33. www.edureka.cowww.edureka.co Explain Localization and Globalization29 • It means changing the already Globalized application to cater to a specific language or culture • Microsoft.Extensions.Localization is used to localize the application content Localization • Globalization is the process of developing applications to support multiple languages • Existing applications can also be converted to support multiple languages Globalization
  • 34. www.edureka.cowww.edureka.co What is application domain? 30 ASP.NET introduces a concept of application domain or AppDomain which is like a lightweight process that acts like both container and boundary. The .NET run-time uses the AppDomain as a container for data and code. The CLR allows multiple .NET applications to run in a single AppDomain.
  • 35. www.edureka.cowww.edureka.co What is delegate in .NET?31 A delegate in .NET is like a function pointer in other programming languages like C or C++. A delegate allows the user to encapsulate the reference of a method in a delegate object. A delegate object can then be passed in a program, which will call the referenced method. We can even use a delegate method to create a custom event in a class.
  • 36. www.edureka.cowww.edureka.co Difference between Abstract class and interface in .NET? 32 • An abstract class provides a partial implementation for a functionality that must be implemented by the inheriting entities. • An abstract class declares fields too Abstract Class • An interface merely declares a contract or behavior that implementing classes should have • An interface may declare only properties, methods and events with no access modifier Interface
  • 37. www.edureka.cowww.edureka.co Differentiate between stack and heap?33 Stored value type Keeps track for each thread and its location Keeps track of more precise object or data Stored reference type Stack Heap
  • 38. www.edureka.cowww.edureka.co What are the different validators in ASP.NET? 34 • Client-side validation – When the validation takes place on the client-side browser, it is called client-side validation. Usually, JavaScript is used for client-side validation. • Server-side validation – When the validation takes place on the server then it is called server-side validation. Server-side validation is considered as a secure form of validation because even if the user bypasses the client- side validation we can still catch it in server-side validation.
  • 40. www.edureka.cowww.edureka.co What are EXE and DLL?35 EXE: It is an executable file that runs the application for which it is designed. When we build an application, an exe file is generated. Therefore the assemblies are loaded directly when we run an exe. But an exe file cannot be shared with other applications. DLL: It stands for dynamic link library that consists of code that needs to be hidden. The code is encapsulated in this library, an application can have many DLLs and can also be shared with other applications.
  • 41. www.edureka.cowww.edureka.co Differentiate between function and stored procedure?36 Must return a single value It can only have the input parameter A stored procedure cannot be called from a function Exceptional handling is not possible using try catch block Can have both input/output parameters Always used to perform specific task Exceptional handling can be done using try catch block A function can be called from a procedure Function Stored Procedure
  • 42. www.edureka.cowww.edureka.co List the events in the page life cycle.37 Page_Load Page_PreInit Page_Init Page_PreLoad Page_InitComplete Page_PreRender Page_LoadComplete Render
  • 43. www.edureka.cowww.edureka.co What is the code to send an email from an ASP.NET application?38 mail message = new mail(); message.From = “abc@gmail.com”; message.To = “xyz@gmail.com”; message.Subject = “test”; message.Body = “hello”; SmtpMail.SmtpServer = “localhost”; SmtpMail.Send(message)
  • 44. www.edureka.cowww.edureka.co What are the event handlers that we have for Global.asax file? 39 Application_Start, Application_End, Application_AcquireRequestState, Application_AuthenticateRequest, Application_AuthorizeRequest, Application_BeginRequest, Application_Disposed, Application_EndRequest, Application_Error, Application_PostRequestHandlerExecute, Application_PreRequestHandlerExecute, Application_PreSendRequestContent, Application_PreSendRequestHeaders, Application_ReleaseRequestState, Application_ResolveRequestCache, Application_UpdateRequestCache Application Events • Session_Start, Session_End Session Events
  • 45. www.edureka.cowww.edureka.co Explain role-based security.40 Role-based security is used to implement security measures based on the role assigned to the users in the organization. Then we can authorize users based on their roles in the organization. For example, windows have role-based access like user, administrators, and guests.
  • 46. www.edureka.cowww.edureka.co What is cross-page posting? 41 • Whenever we click on a submit button on a page, the data is stored on the same page. But if the data is stored on a different page, it is known as a cross-page posting. • Cross-page posting can be achieved by POSTBACKURL property which causes the postback. • FindControl method can be used to get the values that are posted on this page to which the page has been posted.
  • 47. www.edureka.cowww.edureka.co How can we apply themes to an ASP.NET application?42 Following is the code to change the theme. <configuration> <system.web> <pages theme=“windows”/> </system.web> </configuration>
  • 48. www.edureka.cowww.edureka.co Explain passport authentication.43 During the passport authentication, it first checks the passport authentication cookie, if the cookie is not available the application redirects to the passport sign on page. Passport service then authenticates the details of the user on the sign on page and if they are valid, stores them on the client machine and then redirects the user to the requested page.
  • 49. www.edureka.cowww.edureka.co What are ASP.NET security controls?44 <asp:Login> <asp:LoginName> <asp:LoginStatus> <asp:LoginView> <asp:PasswordRecovery>
  • 50. www.edureka.cowww.edureka.co List all the templates of the repeater control?45 ItemTemplate AlternatingItemTemplate SeparatorTemplate FooterTemplate HeaderTemplate
  • 51. www.edureka.cowww.edureka.co What is the appSettings section in the web.config file?46 <em><configuration> <appsettings> <add key=“ConnectionString” value=“server=local; pwd=abc; database=default”/> </appsetings></em> If we want to set the user-defined values for the whole applications, we can use the appSettings block in the web.config file. For example the code below uses the ConnectionString throughout the project for the database connection:
  • 52. www.edureka.cowww.edureka.co What is MIME? 47 MIME stands for multipurpose internet mail extensions, it is the extension of the e-mail protocol which lets users use the protocol to exchange files over the internet. Servers insert the MIME header at the beginning of the web transmission. Then the clients use this header to select an appropriate ‘player’ for the type of data that the header indicates. Some of these players are built into the web browser.
  • 53. www.edureka.cowww.edureka.co What is HTTP handler?48 Every request into an ASP.NET application is handled by a specialized component called HTTP handler. It is the most important component for handling ASP.NET application requests. It uses different handlers to serve different files. The handler for web page creates the page and control objects, runs your code and then renders the final HTML. • Page Handler(.aspx): Handles web pages • User Control Handler(.ascx): It handles web user control pages • Web Service Handler(.asmx): Handles web service pages • Trace Handler(trace.axd): It handles trace functionality
  • 54. www.edureka.cowww.edureka.co What are different types of cookies in ASP.NET? 49 • It resides on the client machine for a single session until the user logs out. Session cookie • Resides on the user machine for a period specified for its expiry. It may be an hour, a month or never. Persistent cookie
  • 55. www.edureka.cowww.edureka.co Differentiate between ExecuteScalar and ExecuteNonQuery?50 Returns the output value Used for fetching a single value Does not return the number of affected rows Used to execute insert and update statements Does not return any value Returns the number of affected rows ExecuteScalar ExecuteNonQuery
  • 56.