Z.ASP.Net FAQ

  1. Releases History

    1. What’s new in ASP.NET 2.0 in terms of authentication?

  2. Architecture

  1. State Management

      1. Session Management

      2. What are different session options available in ASP.Net

      3. How to change session mode in ASP.Net?

        1. Advance Question on Session Management ( For Answer read this MSDN Forum Link)

        2. Session state works on some browsers, but not on others. Why?

        3. In InProc mode, why do I lose all my session occasionally?

        4. Session states works on some web servers but not on others.

        5. Why isn't session state available?

        6. Why isn't Session_End fired?

        7. Why are my Session variables lost frequently when using InProc mode?

        8. Why does the SessionID remain the same after the Session times out or abandoned?

        9. Why does the SessionID changes in every request?

        10. What is the difference between Session.Abandon() and Session.Clear()?

        11. Is the session Timeout attribute a sliding timeout value?

        12. Can I share session state between ASP.NET and ASP pages?

        13. Can I share session state between web applications (i.e. "virtual directories" or "applications" in IIS)?

        14. What kinds of object can I store in session state?

        15. Why did my request hang after I switch to SQLServer mode?

        16. How come Response.Redirect and Server.Transfer is not working in Session_End?

        17. In Session_End, do I have a valid HttpSessionState object and HttpContext object?

        18. How do I use session state with web services?

        19. I am writing my own HttpHandler. Why is session state not working?

        20. I am using a webfarm, and I lost session state when directed to some web servers.

        21. If using "cookieless", how can I redirect from a HTTP page to an HTTPS page?

        22. Does session state have a locking mechanism that serialize the access to state?

        23. How do I detect a session has expired and redirect it to anther page?

        24. In Session_End, I tried to do some cleanup job using SQL but it failed. Why?

        25. I am using SQLServer mode. Why aren't my sessions expiring?

        26. I have a frameset page which has an HTM extension, and I found out each frame it contains display a different session id on the first request. Why?

        27. I set EnableSessionState to "ReadOnly", but in InProc mode I can still modify the session. Why is that?

        28. I set "cookieless" to true, and now my session variables are lost after a Redirect. Why?

        29. What are the disadvantages of setting cookieless to true?

        30. In InProc mode, I change the timeout value of a session programmatically, and that causes my Session_End to be called. Why?

        31. In SqlServer mode, can I store my session state in a database other than tempdb?

        32. How can I avoid putting plain password for my sql connection?

        33. What SQL permissions do I need when using SqlServer mode?

        34. Can I write my own custom session state module?

        35. How does (de)serialization work in SqlServer and State Server mode?

        36. How can I secure my state server?

        37. Can I subscribe to SessionStateModule.End event using a non-global.asax handler method?

        38. Can different apps store their session state in different databases on the same SQL server?

      4. Cookie Management

      5. View State

      6. View State Vs Control State

      7. Does server controls uses view state

      8. When and how to disable view state.

  2. UI and Controls

      1. What are different type of controls available in ASP.Net

      2. Client Side Controls (Pure HTML Controls)

      3. Server Controls

        1. HTML Server Controls (HTML Controls with RunAt="Server")

        2. ASP.Net Web Controls

        3. Validation Controls

        4. User Controls

  1. HTML 5 with ASP.Net

  1. ASP.Net Ajax

      1. Canceling request and showing update like progress bar

    1. What is the purpose of SYS.Application class in AJAX

    2. Can Update panel support multiple Async calls at a time?

    3. Difference between WCF service and AJAX enabled web service

      1. Mainly it adds support for client callbacks and JSON. Read More ...

      2. It also provides Client side javascript proxy

    1. How ASP.Net AJAX uses the WCF web services

      1. WCF Web Services provides client side proxies that can be used to access web services

    1. How to make cross domain calls in ASP.Net AJAX/JQuery

      1. What is Extender controls

  1. Authentication

  1. Authorization

  1. Auditing and Logging

  1. Code Access Security

  1. Impersonation/Delegation

  1. Configuration

      1. It causes app domain to recycle and and all state information is lost.

    1. What are the way to create custom configuration section in a configuration file.

  1. Exception Handling

  1. Data Access

  1. Input / Data Validation

  1. Sensitive Data

  1. Strong Naming and Signing

  1. Deployment

  1. Obfuscation

    1. How should I prevent someone from disassembling code?

http://www.gointerviews.com/top-50-asp-net-interview-questions-answers/