Q1. Explain the differences between Server-side and Client-side code?
Ans. Server side code will execute at server (where the website is hosted) end, & all the business logic will execute at server end where as client side code will execute at client side (usually written in javascript, vbscript, jscript) at browser end.
Q2. What type of code (server or client) is found in a Code-Behind class?
Ans. Server side code.
Q3. How to make sure that value is entered in an asp:Textbox control?
Ans. Use a RequiredFieldValidator control.
Q4. Which property of a validation control is used to associate it with a server control on that page?
Ans. ControlToValidate property.
Q5. How would you implement inheritance using VB.NET & C#?
Ans. C# Derived Class : Baseclass
VB.NEt : Derived Class Inherits Baseclass
Q6. Which method is invoked on the DataAdapter control to load the generated dataset with data?
Ans. Fill() method.
Q7. What method is used to explicitly kill a user's session?
Ans. Session.Abandon()
Q8. What property within the asp:gridview control is changed to bind columns manually?
Ans. Autogenerated columns is set to false
Q9. Which method is used to redirect the user to another page without performing a round trip to the client?
Ans. Server.Transfer method.
Q10. How do we use different versions of private assemblies in same application without re-build?
Ans.Inside the Assemblyinfo.cs or Assemblyinfo.vb file, we need to specify assembly version.
assembly: AssemblyVersion
Q11. Is it possible to debug java-script in .NET IDE? If yes, how?
Ans. Yes, simply write "debugger" statement at the point where the breakpoint needs to be set within the javascript code and also enable javascript debugging in the browser property settings.
Q12. How many ways can we maintain the state of a page?
Ans. 1. Client Side - Query string, hidden variables, viewstate, cookies
2. Server side - application , cache, context, session, database
Q13. What is the use of a multicast delegate?
Ans. A multicast delegate may be used to call more than one method.
Q14. What is the use of a private constructor?
Ans. A private constructor may be used to prevent the creation of an instance for a class.
Q15. What is the use of Singleton pattern?
Ans. A Singleton pattern .is used to make sure that only one instance of a class exists.
Q16. When do we use a DOM parser and when do we use a SAX parser?
Ans. The DOM Approach is useful for small documents in which the program needs to process a large portion of the document whereas the SAX approach is useful for large documents in which the program only needs to process a small portion of the document.
Q17. Will the finally block be executed if an exception has not occurred?
Ans.Yes it will execute.
Q18. What is a Dataset?
Ans. A dataset is an in memory database kindof object that can hold database information in a disconnected environment.
Q19. Is XML a case-sensitive markup language?
Ans. Yes.
Q20. What is an .ashx file?
Ans. It is a web handler file that produces output to be consumed by an xml consumer client (rather than a browser).
Subscribe to:
Post Comments (Atom)
Archives
-
▼
2008
(201)
-
▼
July
(64)
- Acronyms in .NET
- Short Answer .NET Interview Questions (PAGE 5)
- Short Answer .NET Interview Questions (PAGE 4)
- Short Answer .NET Interview Questions (PAGE 3)
- Short Answer .NET Interview Questions (PAGE 2)
- Short Answer .NET Interview Questions (PAGE 1)
- VB.NET Interview Questions 16
- VB.NET Interview Questions 15
- VB.NET Interview Questions 14
- VB.NET Interview Questions 13
- VB.NET Interview Questions 12
- VB.NET Interview Questions 11
- VB.NET Interview Questions
- VB.NET Interview Questions 9
- VB.NET Interview Questions 8
- VB.NET Interview Questions 6
- VB.NET Interview Questions 5
- VB.NET Interview Questions 4
- VB.NET Interview Questions 3
- VB.NET Interview Questions 2
- VB.NET Interview Questions 1
- ASP.NET 2.0Interview Questions see
- Tough ASP.NET interview questions all see
- ASP.NET INTERVIEW QUESTIONS 16
- dot see it
- dot net free interview questions see
- General C# Interview Questions :
- C# Interview Questions and Answers 15
- C# Interview Questions and Answers 14
- C# Interview Questions and Answers 13
- C# Interview Questions and Answers 12
- C# Interview Questions and Answers 11
- C# Interview Questions and Answers 10
- C# Interview Questions and Answers 9
- C# Interview Questions and Answers8
- C# Interview Questions and Answers7
- C# Interview Questions and Answers 6
- C# Interview Questions and Answers 5
- C# Interview Questions and Answers 4
- C Interview Questions 3
- C Interview Questions 2
- C Interview Questions
- .Net Web Interview Questions and Answers 5
- .Net Web Interview Questions and Answers 4
- .Net Web Interview Questions and Answers 3
- Which of the following operators has the highest p...
- .Net Web Interview Questions and Answers
- dotnet
- .Net Database Interview Questions 12
- Microsoft .Net Interview Questions 00
- .Net Database Interview Questions and Answers free
- What are different methods of session maintenance ...
- Microsoft .Net Interview Questions and Answers 8
- Microsoft .Net Interview Questions and Answers 2
- Microsoft .Net Interview Questions and Answers
- .Net Interview Questions and Answers 10
- .Net Interview Questions and Answers 8
- .Net Interview Questions and Answers 6
- .Net Interview Questions and Answers 5
- .Net Interview Questions and Answers 4
- .Net Interview Questions and Answers 3
- dot net interview questions 2
- .Net Interview Questions and Answers 1
- Interview questions for .NET
-
▼
July
(64)
No comments:
Post a Comment