Friday 31 July 2015

Top ASP.Net interview questions Top ASP.Net interview questions, ASP.Net interview questions & Answers, ASP Dot Net interview questions & Answers, ASP.Net interview questions & Answers :



 ASP.Net interview questions & Answers, Dot Net interview questions & Answers, ASP.Net interview questions & Answers : 

  1. What is difference between static class and singleton pattern
    1. http://www.dotnetperls.com/singleton-static
  2. What is difference between interface and abstract class in which situation you will use interface and abstract class
    1. http://www.codeproject.com/Articles/258173/Interfaces-Vs-Abstract-Classes
    2. http://kirillosenkov.blogspot.co.uk/2007/08/choosing-interface-vs-abstract-class.html
  3. What is application domain
    1. http://msdn.microsoft.com/en-us/library/2bh4z9hs(v=vs.80).aspx
  4. Type of isolation in .net
    1. http://msdn.microsoft.com/en-us/library/eh5d60e1(v=vs.80).aspx
  5. What is difference between normal web service and wcf service
    1. http://www.codeproject.com/Articles/139787/What-s-the-Difference-between-WCF-and-Web-Services
  6. What are transaction in wcf
    1. http://www.codeproject.com/Articles/38793/6-Steps-to-Enable-Transactions-in-WCF
    2. http://msdn.microsoft.com/en-us/library/ff384250.aspx
    • |Attribute the Interface method with [TransactionFlow(TransactionFlowOption.Allowed)] or Mandatory | Attribute the implementation with [OperationBehavior(TransactionScopeRequired = true)] |   Enable transactions in Service Config File  | Update the endpoint with the binding name bindingConfiguration="TransactionalBind" | use TransactionScope object to run multiple transactions 
  7. What is difference between const and read only
    1. http://geekswithblogs.net/BlackRabbitCoder/archive/2010/07/01/c-fundamentals---what-is-the-difference-between-const-and.aspx
    • Const has to be initialized on declaration. Readonly can be initialized only once.
  8. What is generic
    1. http://www.csharp-station.com/Tutorials/lesson20.aspx
    2. http://msdn.microsoft.com/en-in/library/0x6a29h6(v=vs.80).aspx
  9. What is difference between overloading and overriding
  10. What is ABC in wcf
    1. http://msdn.microsoft.com/en-us/library/aa480190.aspx
    2. http://www.c-sharpcorner.com/uploadfile/dhananjaycoder/abc-of-an-endpoint-in-wcf/
    3. http://www.codeproject.com/Articles/406096/A-beginners-tutorial-for-understanding-Windows
  11. What is use of GC
    1. http://www.simple-talk.com/dotnet/.net-framework/understanding-garbage-collection-in-.net/
    2. http://www.codeproject.com/Articles/39246/NET-Best-Practice-No-2-Improve-garbage-collector
  12. What is use of using keyword? can we dispose custom class using keyword if yes then explain
    1. http://msdn.microsoft.com/en-us/library/yh598w02.aspx
    2. http://stackoverflow.com/questions/3544758/idisposable-vs-using-keyword
  13. What is delegate and events
    1. http://www.akadia.com/services/dotnet_delegates_and_events.html
    2. http://www.dotnetfunda.com/articles/article904-6-important-uses-of-delegates-and-events.aspx
    3. http://www.codeproject.com/Articles/4773/Events-and-Delegates-Simplified
    4. http://www.csharp-station.com/tutorials/lesson14.aspx
  14. Difference b/w ref and out parameter
    1. http://stackoverflow.com/questions/135234/difference-between-ref-and-out-parameters-in-net
    2. http://www.dotnetfunda.com/articles/article1134-difference-between-ref-and-out-parameter.aspx
    3. http://www.dotnetfunda.com/forums/thread3303-difference-between-ref-and-out-parameters-in-csharp.aspx
  15. What are latest feature in .Net 4.0
    1. http://msdn.microsoft.com/en-us/library/vstudio/ms171868(v=vs.100).aspx
    2. http://www.simple-talk.com/dotnet/asp.net/asp.net-4.0-features/
    3. http://www.c-sharpcorner.com/uploadfile/john_charles/new-features-of-Asp-Net-4/
    4. for 4.5 : http://msdn.microsoft.com/en-us/library/ms171868.aspx
  16. Can we call web service using jquery if yes then explain the parameter for that
    1. http://www.codeproject.com/Articles/66432/Consuming-Webservice-using-JQuery-ASP-NET-Applicat
  17. what is Ajax in .net framework
    1. http://msdn.microsoft.com/en-us/library/bb398874(v=vs.100).aspx
    2. http://www.asp.net/ajaxlibrary/act.ashx
  18. what is dynamic object
    1. http://msdn.microsoft.com/en-us/library/ee461504.aspx
    2. http://blogs.msdn.com/b/csharpfaq/archive/2009/10/19/dynamic-in-c-4-0-creating-wrappers-with-dynamicobject.aspx
    3. http://geekswithblogs.net/sdorman/archive/2008/11/16/c-4.0-dynamic-programming.aspx
    4. http://msdn.microsoft.com/en-us/library/system.dynamic.dynamicobject.aspx
  19. what is session and type of session (explain)
    1. http://www.codeproject.com/Articles/32545/Exploring-Session-in-ASP-Net
    2. http://msdn.microsoft.com/en-us/library/ms178586(v=vs.80).aspx
  20. if cookies disable then session will work or not
    1. http://stackoverflow.com/questions/1401325/where-is-session-stored-if-cookie-is-disabled-on-clients-machine-what-is-actua
    2. http://msdn.microsoft.com/en-us/library/aa479314.aspx
  21. what is view state & difference between control state and view state

  22. can we hack view state in which format view state save on client side
  23. What is caching. caching done client side or server side
  24. what is difference b/w authentication and authorization
  25. explain life cycle of request from client side to server side
  26. What are binding in wcf?
  27. What is service and data contract in wcf
    1. http://www.dotnet-tricks.com/Tutorial/wcf/3ISW280913-Understanding-different-types-of-WCF-Contracts.html
  28. What is transaction in wcf
  29. What is fault contract in wcf
  30. If session is enable in wcf which binding support wcf service?
  31. What are session type in wcf
  32. How we can send value to base class from drive class?
  33. What is index in c#
  34. What is difference b/w Union and distinct
  35. What is index in sql? difference b/w cluster index and non cluster index
  36. What is ACID in sql
  37. How many time of isolation in sql? which one you will use
  38. Difference between sp and function
  39. Type of function in sql
  40. What is view in sql what is the use of view
  41. What is magic table
  42. What does mean by #table and ##table
  43. How you will get max row from table
  44. Difference between primary and unique key
  45. What are trigger in sql
  46. Difference between cursor and while loop
  47. How stack & queue & heap works.
  48. What is managed & unmanaged code?
  49. How frequently GC runs?
  50. Explain the mechanism of Stack & heap.
  51. What are indexes and What is the difference between clustered and nonclustered indexes
  52. How to implement Primary Key without Clustered index.
  53. Extension methods in c#.
  54. SQL : Write a query to find the fifth highest salary 
    1. http://stackoverflow.com/questions/358542/how-to-find-fifth-highest-salary-in-a-single-query-in-sql-server 
  55. What is a take operator
    1. http://www.hookedonlinq.com/TakeOperator.ashx
  56. Explain the ASP.Net page life cycle in depth
    1. http://www.tutorialspoint.com/asp.net/asp.net_life_cycle.htm
    2. http://www.codeproject.com/Articles/121096/Web-Server-and-ASP-NET-Application-Life-Cycle-in-D
  57. How do you implement httpHandlers and HTTPModules 
    1. http://www.codeproject.com/Articles/335968/Implementing-HTTPHandler-and-HTTPModule-in-ASP-NET
  58. Delegates, Anonymous methods and Lambda expressions
    1. http://codebetter.com/karlseguin/2008/11/27/back-to-basics-delegates-anonymous-methods-and-lambda-expressions/
    2. http://www.codeproject.com/Articles/47887/C-Delegates-Anonymous-Methods-and-Lambda-Expressio
  59. OOPS concept
    1. http://msdn.microsoft.com/en-us/library/dd460654.aspx
  60. What are SQL scan and seek 


Tuesday 5 May 2015

Javascript interview questions

http://www.quora.com/How-do-you-judge-a-Javascript-programmer-by-only-5-questions

diff between call and apply

call accepts parameters explicitly ... comma seperated
apply accepts array of parameter

call : comma
apply : array

theFunction.apply(param1, ["test1", "test2"]);
theFunction.call(param1, "test1", "test2");


javascript : map and reduce

The reduce() method applies a function against an accumulator and each value of the array (from left-to-right) has to reduce it to a single value.

[0, 1, 2, 3, 4].reduce(function(previousValue, currentValue, index, array) {
  return previousValue + currentValue;
});

The map() method creates a new array with the results of calling a provided function on every element in this array.

var numbers = [1, 4, 9];
var roots = numbers.map(Math.sqrt);
// roots is now [1, 2, 3], numbers is still [1, 4, 9]


Wednesday 15 April 2015

.Net Training Topics

.Net Training Topics :
.Net framework



Source control :
Star team
VSS / TFS