| |
.Net interview questions and answers: - What is the difference between “Web.config” and “Machine.Config”?
Web.config” files apply settings to each web application, while “Machine.config” file apply settings
|
Visual Studio 2008 and Team Foundation Server (TFS) 2010
o work TFS with visual studio 2008, you need to install Team Explorer 2008 . After installing Tea
|
.NET Interview questions: - Explain RCW (Runtime Callable Wrapper)?
.NET components communicate with COM using RCW (Runtime Callable Wrapper).
Following are the ways with which you can generate RCW:-
Adding reference in Visual Studio.NET. See figure below (Adding reference using VS.NET 2005). Wrapper class is generated and placed in the “BIN” directory.
Figure: - Adding Reference using VS.NET 2005
Using Type library import tool. Tlbimp.exe yourname.dll.
Using interopservices.System.runtime.Interopservices namespace contains
|
.NET Interview questions: - Explain RCW (Runtime Callable Wrapper)?
.NET components communicate with COM using RCW (Runtime Callable Wrapper).
Following are the ways with which you can generate RCW:-
Adding reference in Visual Studio.NET. See figure below (Adding reference using VS.NET 2005). Wrapper class is generated and placed in the “BIN” directory.
Figure: - Adding Reference using VS.NET 2005
Using Type library import tool. Tlbimp.exe yourname.dll.
Using interopservices.System.runtime.Interopservices namespace contains
|
UML Training: - Explain in all types of diagrams in UML (Unified Modeling Language)?
There are nine types of diagrams in UML:-
Use case diagram:
They describe "WHAT" of a system rather than "HOW" the system does it. They are used to identify the primary elements and processes that form the system. The primary elements are termed as "actors" and the processes are called "use cases". Use Case diagrams shows "actors" and there "roles".
Class diagram:
From the use case diagram, we can now go to detail design of system, for which the primary step is class diagram. Th
|
.Net interview questions: - Mention the five levels in CMMI?
There are five levels of the CMMI. According to the SEI,
Level 1 – Initial
At maturity level 1, processes are usually ad hoc and the organization usually does not provide a stable environment. Success in these organizations depends on the competence and heroics of people in the organization and not on the use of proven processes. In spite of this ad hoc, chaotic environment, maturity level 1 organizations often produce products and services that work; however, they frequently exceed the
|
.Net interview questions: - Can you explain why is it preferred to not use finalize for clean up?
Problem with finalize is that garbage collection has to make two rounds in order to remove objects which have finalize methods.
Below figure will make things clear regarding the two rounds of garbage collection rounds performed for the objects having finalized methods.
Figure: - Garbage collection in actions
In this scenario there are three objects Object1, Object2, and Object3. Object2 has the finalize method overridden and remaining objects do not have the finalize method overri
|
.NET interview questions: - What do you mean by various roles in Six Sigma implementation?
Sigma means deviation in Greek language. Deviation means how much variations exist in a set of data. For instance let’s say in a software maintenance project out of 100 defects 68 defects are rectified to the mark and remaining bounce back that means your bug fixing process is on “2 Sigma” level. I had described only from bug fixing perspective. But this can be applicable to any process organization.
Figure: - SIX Sigma Values
Therefore, I should only have 3.4 defects in a million de
|
.NET interview questions: - Explain CMMI?
CMMI stands for Capability Maturity Model Integration. It is a process improvement approach that provides companies with the essential elements of effective process. CMMI can serve as a good guide for process improvement across a project, organization or division.
CMMI was formed by using multiple previous CMM process. Below are the areas which CMMI addresses because of integrating with CMM process:-
Systems engineering: - This covers development of total systems. System engineers conce
|
.NET Interview Questions: - How will you explain LeaseTime, SponsorshipTime, RenewonCallTime and LeaseManagerPollTime?
This is a very important question from practical implementation point of view. Companies who have specific requirement for Remoting projects will expect this question to be answered.
In normal .NET environment objects garbage collector manages lifetime. However, in remoting environment remote clients can access objects, which are out of control of garbage collector. Garbage collector boundary is limited to a single PC on which framework is running; any remote client across physical PC is out
|
.NET Interview Questions: - Can you explain object pooling in .NET?
This is the most practical oriented .Net Interview Questions which may be asked during the Interview by the Interviewer.
COM+ reduces overhead by not creating object from scratch. So in COM+ when object is activated it’s activated, from pool and when it has deactivated it’s pushed back to the pool. Object pooling is configures by using the “ObjectPoolingAttribute” to the class.
Note:- When a class is marked with object pooling attribute it can not be inherited.
ObjectPooling(MinP
|
.NET interview questions: - How will you explain the advantages of using OOPS over functional programming?
In fact this one is the basic but very important .NET interview questions asked in almost every interview. An interviewer expects that every candidate should know and answer it. So if you are not sure about it so read the following answer thoroughly and get clear your fundamental related to OOPS.
Abstraction: - Abstraction filters un-necessary information from the user’s perspective. It just gives enough information to the user rather than giving him unnecessary information by which
|
.NET interview questions: - Mention object diagrams in UML?
One of the most expected .NET interview questions on Unified Modeling Language (UML) asked to software engineer during .NET interview.
Class represents shows the static nature of the system. Class diagrams shows the types and how they are linked. Classes come to live only when objects are created from them. Object diagram gives a pictorial representation of class diagram at any point of time. Below figure ‘Object diagram’ shows how a class looks in when actual objects are created. We have
|
.NET interview questions: - Mention interfaces in details with examples?
This is the basic and all time favorite .NET interview questions asked in the start or during the interview by the interviewer. So start with the definition & use an example to express the fundamental of the topic in more detail.
In real world interface allows two disparate/ different objects to communicate with each other. For instance a human is a very different object when compared to television object. But they can still use the remote control interface to communicate with each oth
|
Project management: .NET interview questions – Explain ROI?
This is a typical management type
.NET interview questions asked by the interviewer to test the candidate’s skill on management. ROI is a measurement by which we can evaluate the financial value organization will gain from the project. ROI can also be used to measure returns from IT department to a company. In this book we will see ROI from the project perspective.
Below is a generic formula for ROI: -
ROI = (Expected profit in monetary terms / expected cost of the project) * 100
I
|
.NET interview questions: - Explain project life cycle?
This is basic of .NET interview questions which are mostly asked to 1 year experience and above candidates.
So here is a simplified answer we have put in front with a diagram so that you can learn in a more easier manner.
Figure: - Life cycle of a project
There are five stages of any project initiating, planning, executing, controlling, and closeout. These are general phases and change according to domain. Example when writing a book we will have the following mappings initiatin
|
4 real time use of Partial classes and partial methods.
Introduction
Fundamentals of partial classes
Fundamentals of partial methods
Use number 1:- ASP.NET auto generated code
Use number 2:- LINQ and Entity framework
Use number 3:- Better maintenance by compacting large classes
Use number 4:- Multiple people working on the same class
Introduction
Recently I was hunting about partial classes and the real time use of the same. Many of those postings found on google talked about the concept of partial
|
.NET interview questions: - How do testers do testing using V-model?
If you are senior software professional this .NET interview questions may come across to check your skills on testing. If you new to this question then just go through it before the interview and if you are aware of it just revise it.
This type of model was developed by testers to emphasis the importance of early testing. In this model testers are involved from requirement stage itself. So below is the diagram which shows how for every stage some testing activity is done to ensure that the
|
.NET interview questions: - Show output for the following code of two classes?
See the following snap code
class Class1
{
Class2 o = new Class2();
}
class Class2
{
Class1 o = new Class1();
}
Answer:
Both the classes are creating objects of each other due which the object will pile up in the memory and lead to "StackOverFlowException". Below is the error image which is displayed once the memory is overused.
See the following video on regular expressions along with some practical demonstrations as follows: -
Visit to get more stuff on
|
.NET/ASP.NET interview questions: - What to use while design - Data grid, data list, or repeater?
This is one of quiet often asked .NET/ASP.NET interview questions so prepare accordingly to answer it to the interviewer.
Many of the developers make a blind choice of choosing data grid directly, but that is not the right way.
Data grid provides ability to allow the end-user to sort, page, and edit its data. However, it comes at a cost of speed. Second, the display format is simple that is in row and columns. Real life scenarios can be more demanding that
With its templates, the Dat
|
.NET interview questions: -Similarities/Differences between Classes and structures.
One of the most likely .NET interview questions
asked in the interview, so you should include the following points in your answers.
Similarities between classes and structures: -
Both can have constructors, methods, properties, fields, constants, enumerations, events, and event handlers.
Structures and classes can implement interface.
Both of them can have constructors with and without parameter.
Both can have delegates and events.
Key differences are: -
|
.Net Interview questions: - What is GACand add/remove an assembly from GAC?
This .NET interview questions will make you remember the basics of .NET if you are senior person in the .NET industry. For the fresher it is still a hiccup so one can start answering the same as follows: -
About GAC: -
GAC (Global Assembly Cache) is where all shared .NET assembly resides. GAC is used in the following situations: -
If the application has to be shared among several application which is in the same computer.
If the assembly has some special security, require
|