< 1 2 3 4 5 6 7 > >>   Sort: Date

What are the different accessibility levels defined in .NET
What are the different accessibility levels defined in .NET ? Following are the five levels of access modifiers :- ã Private : Only members of class have access. ã Protected :-All members in current class and in derived classes can access the variables. ã Friend (internal in C#) :- Only members...
2007-10-23, 8753👍, 0💬

How do I force the Dispose method to be called automatically , as clients can forget to call Dispose method
How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method? Call the Dispose method in Finalize method and in Dispose method suppress the finalize method using GC.SuppressFinalize. Below is the sample code of the pattern. This is the best way we do cle...
2007-10-23, 8752👍, 0💬

How do we assign page specific attributes
How do we assign page specific attributes ? Page attributes are specified using the @Page directive.
2018-01-23, 8742👍, 1💬

💬 2018-01-23 parvash: love

Explain simple Walk through of XmlReader
Explain simple Walk through of XmlReader ? In this section we will do a simple walkthrough of how to use the “XmlReader” class. Sample for the same is available in both languages (C# and VB.NET) which you can find in “WindowsApplicationXMLVBNET” and “WindowsApplicationCSharp” folders. Task is to l...
2007-10-31, 8723👍, 0💬

Can you explain duplex contracts in WCF
Can you explain duplex contracts in WCF? In duplex contracts when client initiates an operation the server service provides a reference call back Uri back to the client. So the client initiates a call using the proxy class and when server finishes its work it notifies the client using the callback c...
2007-11-04, 8700👍, 0💬

What is COM ?
.NET INTERVIEW QUESTIONS - What is COM ? Microsoft’s COM is a technology for component software development. It is a binary standard which is language independent. DCOM is a distributed extension of COM.
2010-01-12, 8670👍, 0💬

If XML does not have closing tag will it work
If XML does not have closing tag will it work? No, every tag in XML which is opened should have a closing tag. For instance in the top if I remove &lt;/discount> tag that XML will not be understood by lot of application.
2007-10-31, 8652👍, 0💬

Enable ASP.NET polling using “web.config” file
Enable ASP.NET polling using “web.config” file Now that all our database side is configured in order to get the SQL Cache working in the ASP.NET side we need to do some configuration in the web.config file. We need to set two attributes in the gweb.configh file:- ã Set gEnabledh attribute to...
2007-10-23, 8647👍, 0💬

What exactly happens when ASPX page is requested from Browser
What exactly happens when ASPX page is requested from Browser? Note: - Here the interviewer is expecting complete flow of how an ASPX page is processed with respect to IIS and ASP.NET engine. Following are the steps which occur when we request a ASPX page :- 1. The browser sends the request to the w...
2007-10-24, 8640👍, 0💬

Can you explain steps in function points
Can you explain steps in function points? Below are the steps in function points: >First Count ILF, EIF, EI, EQ, RET, DET, FTR and use the rating tables. After you have counted all the elements you will get the unadjusted function points. Put rating values 0 to 5 to all 14 GSC. Adding total of all 1...
2007-10-30, 8611👍, 0💬

What is AL.EXE and RESGEN.EXE
What is AL.EXE and RESGEN.EXE? In the previous question you have seen how we can use resource files to store data according to the localized languages. But when you actually go for deployment you will not like to also install the “resx” or “txt” files. It’s definitely not a good deployment practic...
2007-11-01, 8608👍, 0💬

If we have two version of same assembly in GAC how do we make a
If we have two version of same assembly in GAC how do we make a choice ? OK first let’s try to understand what the interviewer is talking about. Let’s say you have made an application and its using a DLL which is present in GAC. Now for some reason you make second version of the same DLL and put it ...
2007-10-22, 8596👍, 0💬

How do you hide Public .NET Classes and other public members from COM?
Managed Code and Unmanaged Code related ASP.NET - How do you hide Public .NET Classes and other public members from COM? In some cases, you might want to hide selected .NET classes from COM but keep them public for use from other .NET assemblies. The ComVisible attribute allows you to select which p...
2009-04-09, 8572👍, 0💬

What is CAR (Causal Analysis and Resolution)
What is CAR (Causal Analysis and Resolution)? The basic purpose of CAR is to analyze all defects, problems and good practices/positive triggers in projects, perform a root cause analysis of the same, identify respective corrective and preventive actions and track these to closure. The advantage of C...
2007-10-30, 8560👍, 0💬

How can you avoid deadlock in threading?
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can avoid deadlocks.There are so many ways Microsoft has provided by which you can reduce deadlocks example Monitor, Interlocked classes, Wait handles, Event raising from one thread to other thread, Threa...
2010-01-05, 8537👍, 0💬

What does address of operator do in background?
What does address of operator do in background? The AddressOf operator creates a delegate object to the BackgroundProcess method. A delegate within VB.NET is a type-safe, object-oriented function pointer. After the thread has been instantiated, you begin the execution of the code by calling the Star...
2009-03-06, 8531👍, 0💬

How many phases are there in software project
Can you explain project life cycle ? Figure :- 12.2 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. During Software project management interview expected answer is requir...
2007-10-30, 8528👍, 0💬

what is a service contract, operation contract and Data Contract - part 2
what is a service contract, operation contract and Data Contract? - part 1 In the below sample we have marked the structure productdata to be serialized. Figure 15.5:- The Service class As data contract are all about serialization you need to import System.Runtime.Serialization name space. In the ne...
2007-11-04, 8447👍, 0💬

What is the difference between thread and process?
.NET INTERVIEW QUESTIONS - What is the difference between thread and process? A thread is a path of execution that run on CPU, a process is a collection of threads that share the same virtual memory. A process has at least one thread of execution, and a thread always run in a process context..
2010-01-05, 8416👍, 0💬

Once I have developed the COM wrapper do I have to still register the
Once I have developed the COM wrapper do I have to still register the COM in registry? Yes.
2007-10-22, 8389👍, 0💬

Can we have shared events
Can we have shared events ? Yes, you can have shared event’s note only shared methods can raise shared events.
2007-10-23, 8388👍, 0💬

What are the different elements in Functions points
What are the different elements in Functions points? The different elements in function points are as follows: Internal Logical Files (ILF) External Interface File (EIF) Record Element Type (RET) DET (Data element types) File Type Reference (FTR) External Input (EI) External Inquiry (EQ) External Ou...
2007-10-30, 8336👍, 0💬

What is effort variance
What is effort variance? Effort Variance = (Actual effort – Estimated Effort) / Estimated Effort.
2007-10-30, 8312👍, 0💬

What are the metrics followed in project management
What metrics will you look at in order to see the project is moving successfully? Most metric sets deal with a variation of these attributes and are chosen to help project managers gain insight into their product (size, software quality, rework), process (rework, software quality) and project (effor...
2007-10-30, 8258👍, 0💬

< 1 2 3 4 5 6 7 > >>   Sort: Date