How do we host a WCF service in IIS
How do we host a WCF service in IIS? Note: - The best to know how to host a WCF in IIS is by doing a small sample. So what we will do is host the same GetCost sample which was self hosted in the previous question. First thing you will need is to create the SVC file which exposes the service class. S... 2007-11-04, 12708👍, 0💬
Can you explain in brief how can we implement threading
Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim pthread1 As New Thread(AddressOf Thread1) Dim pthread2 As New Thread(AddressOf Thread2) pthread1.Start() pthread2.Start() End Sub Publi... 2007-10-22, 12104👍, 0💬
What is cross page posting
What is cross page posting? By default, button controls in ASP.NET pages post back to the same page that contains the button, where you can write an event handler for the post. In most cases this is the desired behavior, but occasionaly you will also want to be able to post to another page in your a... 2007-10-23, 11464👍, 0💬
What is MVC pattern
How can you implement MVC pattern in ASP.NET? The main purpose using MVC pattern is to decouple the GUI from the Data. It also gives the ability to provide multiple views for the same Data. MVC pattern separates objects in to three important sections:- Ā„ Model: - This section is specially for maintai... 2007-10-24, 10509👍, 0💬
The object that contains all the properties and methods for every ASP.NET page, that is built is ..
The object that contains all the properties and methods for every ASP.NET page, that is built is .. The object that contains all the properties and methods for every ASP.NET page, that is built is * Page Object * HTTPPage Object * WebPage Object * System.Web.UI.Page Page Object 2014-03-18, 10318👍, 0💬
What is Suspend and Resume in Threading ?
.NET INTERVIEW QUESTIONS - What is Suspend and Resume in Threading ? It is Similar to Sleep and Interrupt. Suspend allows you to block a thread until another thread calls Thread.Resume. The difference between Sleep and Suspend is that the latter does not immediately place a thread in the wait state.... 2009-12-01, 9990👍, 0💬
What are Daemon threads and how can a thread be created as Daemon?
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon thread's run in background and stop automatically when nothing is running program. Example of a Daemon thread is "Garbage collector". Garbage collector runs until some .NET code is running or else it... 2009-12-09, 9753👍, 0💬
What is difference between SITP and UTP in testing
What is difference between SITP and UTP in testing ? UTP (Unit Test Plan) are done at smallest unit level or stand alone mode. Example you have Customer and invoicing module. So you will do test on Customer and Invoice module independently. But later when we want test both customer and invoice in on... 2007-10-30, 8555👍, 0💬
How do you handle change request
How do you handle change request? Normally change request are handled by preparing an Impact analysis document and then doing re-estimation. Example you have an on going project, which has a customer table. Now customer want to also have addresses assigned to it. So you normally raise a change reque... 2007-10-30, 8443👍, 0💬
How to prevent my .NET DLL to be decompiled?
.NET INTERVIEW QUESTIONS - How to prevent my .NET DLL to be decompiled? By design .NET embeds rich Meta data inside the executable code using MSIL. Any one can easily decompile your DLL back using tools like ILDASM (owned by Microsoft) or Reflector for .NET which is a third party. Secondly there are... 2010-05-04, 8143👍, 0💬
Whatís the difference between Unit testing, Assembly testing and Regression testing
Whatís the difference between Unit testing, Assembly testing and Regression testing? Unit testing is also called as Component testing. Unit testing ensures that reliable program unit meets their requirements. Unit testing is normally conducted by programmer under the supervision of the project lead ... 2007-10-30, 7959👍, 0💬
Can eventís have access modifiers
Can eventís have access modifiers ? Eventís are always public as they are meant to serve every one register ing to it. But you can access modifiers in events.You can have events with protected keyword which will be accessible only to inherited classes.You can have private events only for object in t... 2007-10-23, 7877👍, 0💬
What is SMC approach of estimation
What is SMC approach of estimation? 2007-10-30, 7816👍, 0💬
In below sample code if we create a object of class2 which constructor will fire first
In below sample code if we create a object of class2 which constructor will fire first? Public Class Class1 Sub New() End Sub End Class Public Class class2 Inherits Class1 Sub New() End Sub End Class 2007-10-23, 7677👍, 0💬
What are unadjusted function points and how is it calculated?
What are unadjusted function points and how is it calculated? Unadjusted function points = ILF + EIF + EI + EQ + EO. Below is the table referred for getting ILF, EIF, EI, EQ and EO. 2007-10-30, 7642👍, 0💬
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 in curr... 2007-10-23, 7542👍, 0💬
What is Native Image Generator (Ngen.exe)
What is Native Image Generator (Ngen.exe)? The Native Image Generator utility (Ngen.exe) allows you to run the JIT compiler on your assembly's MSIL and generate native machine code which is cached to disk. After the image is created .NET runtime will use the image to run the code rather than from th... 2007-10-22, 7521👍, 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, 7506👍, 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, 7436👍, 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, 7376👍, 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 </discount> tag that XML will not be understood by lot of application. 2007-10-31, 7366👍, 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, 7342👍, 0💬
How To Add Column Headers to a Table? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells I...
How To Select All Columns of All Rows from a Table? - MySQL FAQs - SQL SELECT Query Statements with ...
Which bit wise operator is suitable for turning on a particular bit in a number? The bitwise OR oper...
what is a service contract, operation contract and Data Contract? - part 1 In the below sample we ha...
How Do I Run JUnit Tests from Command Window? To run JUnit tests from a command window, you need to ...