.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

What does Red-Green-Refactor means in TDD?

Posted By :Jean Paul     Posted Date :April 06, 2011    Points :40   Category :.NET Framework 
In TDD first we write the unit test and create a dummy code method.

1) Running the unit test, result will be failing = Red.

2) Then we will make changes in code method to make unit test pass = Green.

3) After it is green, we will make change the code method with actual implementation = Refactor

You can also find related Interview Question to What does Red-Green-Refactor means in TDD?  below: 

Is it possible to set SessionState to readonly mode? Readonly mode means, we can only read data from session but we can not write any data in session variable?

  
Yes, it is possible.
EnableSessionState property has a value "Readonly" which actually makes the session state read only.

Thanks. (More...)

What does dollar Sign ($) means in JQuery?

  
Dollar Sign is nothing but it's an alias for JQuery. Take a look at below jQuery code

$(document).ready(function(){

});


Over here $ sign can be replaced with "jQuery " keyword.

jQuery(document).ready(function(){

}); (More...)

Java is "distributed" what does this means ?

  
Java is designed for the distributed environment of the internet, because it handles TCP/IP protocols. In fact accessing a resource using a URL is not much different from accessing a file.The original version of Java (Oak) included features for intraddress-spaces messaging.This allowed objects on two different computers to execute procedure remotely.Java has recently revived these interfaces in a package called ~Remote Method Invocation (RMI)~. This feature brings an unparalleled level of abstraction to client/server programming.

Thanks !!! (More...)

if dll and exe files are same it means you can deploy both the files in GAC?

  
No, deploying a exe file does not mean anything because classes and method are exposed in dll only and exe file is pure executable, any application can not call the function of exe file.
(More...)

What's does # means in C#

  
The name "C sharp" was inspired by musical notation where a sharp indicates that the written note should be made a half-step higher in pitch
By coincidence, the sharp symbol resembles four conjoined plus signs. This reiterates Rick Mascitti's tongue-in-cheek use of '++' when naming 'C++': where C was enhanced to create C++, C++ was enhanced to create C++++ (that is, C#). (More...)

What does hash and dot sign means in JQuery?

  
both hash and dot used to identify the control available in the page.

hash # is used to identify the control by control id.

Dot . is used to get the control by its class name.

for eg

To use this control in JQuery we should use $('.dvclass')

To use this control in JQuery we should use $('#dvclass') (More...)

What does dollar Sign ($) means in JQuery?

  
Dollar Sign is an alias for JQuery.
$(document).ready(function(){

});

Here $ sign can be replaced with "jQuery " keyword.
jQuery(document).ready(function(){

});
(More...)

What does dollar Sign ($) means in JQuery?

  
Dollar Sign is an alias for JQuery. Take a look at below JQuery code

$(document).ready(function(){

});

Over here $ sign can be replaced with "jQuery " keyword.

jQuery(document).ready(function(){


}); (More...)

MVC means ?

  
MVC stands for Model View Controller.
It divides an application into 3 component roles which is based on a framework methodology.
These component roles are discussed briefly as follows:

i) Models : These component roles are used to maintain the state which is persisted inside the Database.

Example: we might have a Product class that is used to represent order data from the Products table inside SQL.

ii) Views : These component roles are used to display the user interface of the application, where this UI is created off of the model data.

Example: we might create an Product "Edit" view that surfaces textboxes, dropdowns and checkboxes based on the current state of a Product object.

iii) Controllers : These component roles are used for various purposes like handling end user interaction, manipulating the model, and ultimately choosing a view to render to display UI.

Note:

In a MVC application, the views are used only for displaying the information whereas the controllers are used for handling and responding to user input and interaction.
(More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend