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 




Additional Questions :

C# interview questions :
C# Concepts :
http://msdn.microsoft.com/en-us/library/67ef8sbd.aspx

How to call webservice method sequentially
what are the endpoints in wcf
What are diffrerent security options avalibale in wcf
which one is faster Transport or MEssage
Which Serializer is used by default in wcf
What is the serialization method used in wcf message transfer
How to call wcf method sequentially
I have a drop down containg list of server. I want to call the wcf service on click of the button.how will you design you project
What is polymorphism.

What will be the output of below program will it compile or throw error if it coplies what will the output.
2 classes with same function and one inherits another … child classes object is created and child’s function is called … which one will execute … the function of child or base …

What are different access modifiers in C#
what id diff bet protected and protected internal
what id diff bet ref type and value type
i have a class employee containing 2 int variables … where will the object and int will be allocated in memory heap or stack ?
My class is inheriting from two interface having same methods how will you avoid ambiguty in this case?
Is xml case sensitve?
How to validate xml file?
How does garbage collector works?
How to dispose managed and unmanged code?
What is Large Object HEAP
Application.Exit vs. Environment.Exit


TypeScript interview questions :
  1. When there is no type defined, what is the default inferred type ?
    1. Ans : Any

7 comments:

  1. All the points you described so beautiful. Every time i read your i blog and i am so surprised that how you can write so well.
    Devops Training courses
    python Training in chennai
    Devops Training in Bangalore

    ReplyDelete
  2. After reading this web site I am very satisfied simply because this site is providing comprehensive knowledge for you to audience.
    Thank you to the perform as well as discuss anything incredibly important in my opinion. We loose time waiting for your next article writing in addition to I beg one to get back to pay a visit to our website in



    selenium training in Bangalore
    selenium training in Marathahalli
    selenium training in Btm layout
    selenium training in Jaya nagar
    selenium training in Electronic city
    selenium training in Kalyan nagar

    ReplyDelete
  3. All the points you described so beautiful. Every time i read your i blog and i am so surprised that how you can write so well.
    python Training institute in Chennai
    python Training institute in Bangalore
    python Training in Pune

    ReplyDelete
  4. My spouse and I love your blog and find almost all of your post’s to be just what I’m looking for. Can you offer guest writers to write content for you? I wouldn’t mind producing a post or elaborating on some the subjects you write concerning here. Again, awesome weblog!
    Dell Tablet Service center in chennai | tab service center in chennai | 100% genuine tablet parts | Tablet display replacement | Tablet Water damage service | Tablet glass replacement | 100% genuine tablet parts | Tablet Service center in chennai | Tablet unlocking service | Tablet unlocking service

    ReplyDelete
  5. This post is so interactive and informative.keep update more information...
    Android Training in Tambaram
    Android Training in Chennai

    ReplyDelete
  6. Great post. keep sharing such a worthy information.
    Data Science Course in Chennai

    ReplyDelete