Posts

Showing posts with the label asp.net

Top 50 Interview questions for intermediate MVC and .net developer

Questions 1. what is session? what is default timeout of session? Types of session. 2. Difference between session and cookies. 3. What is cookies? Types of cookies. 4. what is state management is asp.net? Define various state h 5. what is difference between function and procedure? 6. what is interface? Difference between in inheritance and interface. 7. main method is method of which class? 8. what is global.asax? Different events of global.asax. 9. where the execution goes if exception occurs in final block in try-catch? 10. what is application object? 11. what is trigger? Types of trigger. 12. what is trigger is asp.net. 13. what is asynchronous calls in asp.net? 14. what should be taken care of as a security point of view while making ajax call? 15. Page Life cycle of asp.net. 16. where the view state data stores data? 17. what is partial class? 18. what is update panel in asp.net? 19. Is C# a fully object oriented? How? 20. write syntax to add item in dropdownlist. 21. Give a...

Asp.net Interview questions and answers

                       Asp.net Interview questions and answers 1.   Does Main() always have to be public?        -->    No. 2. How do you turn off SessionState in the web.config file?        -->  just simply put following code to disable SessionState.              <httpModules>              <remove name=”Session” />              </httpModules> 3. short-circuited operators:              -->   short-circuited operators In C#, "&" and "|" operators evaluate both boolean expressions in the statement. However, the "&&" operator only evaluates the first Boolean if false ,and the "||" operator only evaluates the first Boolean if true. This...