Buy Questpond's video subscriptions on
huge discount
.
Online: 12222
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
> .NET Framework
.NET Framework Interview Questions and Answers (547) - Page 3
Latest and authentic Interview questions. You can also
post an interview question
and
win monthly prizes
as well as gain community
credit points
.
547 records found.
Post
|
Interview Experiences
|
Interview FAQs
|
Online Interviews
|
Exclusive Questions
Get 650+ Questpond's Interview videos on discount
Loading ...
What is multi-threading?
It is basically trying to do more than one thing at a time within a process.
There are two main ways of multi-threading which .NET encourages: starting your own threads with ThreadStart delegates, and using the ThreadPool class either directly (using ThreadPool.QueueUserWorkItem) or indirectly using asynchronous methods (such as Stream.BeginRead, or calling BeginInvoke on any delegate).
Which namespace threading contains?
NOTE: This is objective type question, Please click question title for correct answer.
What the way to stop a long running thread ?
System.Threading.Thread.Abort
What is the diffeernce between Overload and Override?
Overload
is the another version of the same function into the class. There can be different parameters, return type in overload functions (in brief: Same function and different parameters).
Override
is entirely overriding the base class function and creating our own version in the child class. Base class and child class function name and return type should be same.
How many web.configs can an application have?
Moderated by Webmaster
Original answer:
There can only be 1 web.config in an application.
Corrected answer:
An application can have multiple web.config files but in different directories ... mean each and every directory can have a web.config file. For little more, visit
http://www.dotnetfunda.com/questions/question137.aspx
Where do you store connection string?
Database connection string can be stored in the web config file.
What is abstract class
Abstract class cannot be instantiated instead it has to be inherited. The methods in abstract class can be overridetn in the child class
What are the collection classes?
The .NET Framework provides specialized classes for data storage and retrieval.
list the object-oriented concepts
Inheritance
Abstraction
Polymorphism
Encapsulation
What is difference between interface inhertance and class inheritance?
If its a interface inheritance and the inheritad class is not a abstact class or a interface class then all the methods in the supper class needs to be implemented.
Class inheritance no need such thing.
What are Abstract base classes?
Abstact Class is nothing but a true virtual class..
This class cannot be instantiated instead it has to be inherited.
The method in abstract class are virtual and hence they can be overriden in the child class.
When is web.config called?
Web.config is an xml configuration file. It is never directly called unless we need to retrieve a configurations setting.
What does connection string consist of?
Server, user id, password, database name.
What is a runtime host?
The runtime host is the environment in which the CLR is started and managed.
What inheritance does VB.NET support?
Single inheritance using classes or multiple inheritance using interfaces.
Differences between application and session ?
The application level variable hold value at the application level and their instances are destroyed when the no more client access that application, whereas session correspond to a individual user accessing the application.
What is web application virtual directory
Virtual directory is the physical location of the application on the machine.
By default it’s - inetpub/wwwroot
If cookies is disabled in client browser, will session tracking work?
No, maintaining value in cookie wont be possible. In that case you have to make use of other ways to maintain state of the data on page.
you can check whether client support cookies or not by using
Request.Browser.Cookies property.
What is a Process, Session and Cookie?
Process - Instance of the application
Session - Instance of the user accessing the application
Cookie - Used for storing small amount of data on client machine.
Explain serialization?
Serialization is a process of converting an object into a stream of bytes.
.Net has 2 serializers namely XMLSerializer and SOAP/BINARY Serializer.
Serialization is maily used in the concept of .Net Remoting.
1
2
3
4
5
6
7
8
9
10
...
28
More .NET FRAMEWORK Exclusive Interview Questions & Answers here
Found this useful, bookmark this page to the blog or social networking websites.
Bookmark It
Interview Questions and Answers Categories
.NET Certifications
.NET Core
.NET Framework
ADO.NET
AI ML
Android
Angular
AngularJS 1x
Aptitute Test
ASP.NET
ASP.NET AJAX
ASP.NET Core
ASP.NET MVC
ASP.NET Web API
Aurelia
Azure
Best Practices
BizTalk Server
Bootstrap
C#
Cloud
CMS
CSS 3
Data Structures & Algorithms
Design Pattern & Practices
DotNetFunda.Com
Entity Framework
Error and Solution
F#
Function Points (FPA)
HR
HTML 5
IIS
Interview Questions
JavaScript
jQuery
Kinect
LightSwitch
LINQ
Management
Mobile Development
MSBI (SSIS, SSRS, SSAS)
Mule
Networking
News and Community
Node.js
NoSql
OOPS
Oracle
Others
PostgreSQL
PowerShell
Product Reviews
Project Management
Python
QA (Testing)
R Language
Regular Expressions
SEO
SharePoint
SignalR
Silverlight
Sql Server
TypeScript
UML
VB.NET
Visual Studio
WCF
Web Analytics
Web Services, Remoting
Windows 8
Windows Forms
Windows Metro
Windows Phone
WPF
WWF
XML