Saturday, May 28, 2011

Use Cascading Style Sheets for Web Page Layout?

  • Table-Based Approach
  • DIV Approach

ASP.NET Localization

  • Resource File particular to a page such as Default.aspx.resx within App_LocalResources
    • Label1.Text = "Hello"
  • Another Resource File (French)
    • Label1.Text = "Bonjour"
  • control property meta:resourceKey="Button1"
  • page declaration Culture="auto:en-US" UICulture="auto"
  • Internet Options : New Languages
  • App_GlobalResources
  • Properties > Expression then indicate ClassKey and ResourceKey
  • System.Threading
  • System.Globalization

Friday, May 20, 2011

ASP.NET Interview Questions

  1. What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.
  2. What is serialization, how it works in .NET?
  3. What should one do to make class serializable?
  4. What exactly is being serialized when you perform serialization?
  5. Tell me about the methods you have used to perform serialization.
  6. Did you work with XML and XSL Transformations?
  7. What methods and what for did you use to work with XML?
  8. What is the purpose of reserved word “using” in C#?
  9. How does output caching work in ASP.NET?
  10. What is connection pooling and how do you make your application use it?
  11. What are different methods of session maintenance in ASP.NET?
  12. What is Viewstate?
  13. Can any object be stored in a Viewstate?
  14. What should you do to store an object in a Viewstate?
  15. Explain how Viewstate is being formed and how it’s stored on client.
  16. Explain control life cycle, mind event order.
  17. What do you know about ADO.NET’s objects and methods?
  18. Explain DataSet.AcceptChanges and DataAdapter.Update methods.
  19. Assume you want to update a record in the database using ADO.NET. What necessary steps you should perform to accomplish this?
  20. How to retreive the value of last identity has been updated in a database (SQL Server)?

.NET Classes and Namespaces