Interview Tips Interview Tips, Interview Questions and Answers

1Feb/100

How will ASP.NET handle session management?

"ASP.NET does not rely on SQL Server or LDAP for session management. Basically we provide two new additional features: aspnet

1.) Cookieless Session: This is where we "munge" the sessionid into URLs as opposed to client-side cookies to keep track of SessionIDs (enabling you to now use session state even with browsers that have cookie support disabled). We automatically do the munging for you (no code changes required) to make this happen for both static and dynamic content (so you can link off to a static html page which then in turn links off to another dynamic page -- and the session is maintained).

2.) External Session State Support. This is where we store session values into an external state store instead of the ASP.NET worker process. This guaretees that state is stored accross worker process restarts (providing great reliability) as well as accross multiple machines (providing built-in web farm support). We ship support for two session stores out of the box: 1) the "ASP.NET state store" which is a dedicated NT Service that can run on any box -- and which ships with the ASP.NET bits. 2) support for storing session data directly into SQL Server. This later option is more scalable -- but does require you to buy SQL Server in order to make it work.

"Note that the above two state options are completely orthoganal from each other -- ie: you can use them together or separately. Also, our external state store support is pluggable -- meaning that we expect other third parties (as well as people like MS Commerce Server) to plug in their own store support into the model.

"With regard to performance, we are *much* faster than than existing pre-ASP.NET state solutions when doing out of proc state. We are leveraging ASP.NET's new MTA based thread pool to do async read/write operations that enable us to avoid blocking worker threads when retrieving and updating the state (instead using iocompletions to reuse threads). This should improve system throughput significantly and was not possible before with ASP (since it used an STA thread pool and as such couldn't do async operations)."

22Dec/090

Interview Questions for ASP.Net

  • We can add a crystal report in aspx page using two techniques, what are these?
  • What is Cache?
  • What is AJAX?
  • Is AJAX a language?
  • What is the difference between syncronus and asyncronus?
  • what do you mean by HTTP Handler?
  • What is the purpose of Global.asax?
  • What is the difference between stroed procedure and stored function in SQL?
  • Can we have an updateable view in SQL?
  • What is connection pooling? how can we acheive that in asp.net?
  • What is DataSet?
  • What is the difference between typed and untyped dataset?
  • What is the difference bewteen accessing the data throgh the dataset and datareader?
  • Any idea of Data Access Component provided by Microsoft?
  • Any idea of Enterprise library?
  • What is web service?
  • What is WSDL?
  • Can a web service be only developed in asp.ent?
  • can we use multiple web services from a single application?
  • can we call a web service asynchronously?
  • Can a web service be used from a windows application?
  • What do we need to deploy a web service?
  • What is the significance of web.config?
  • Can we have multiple web.config files in a sigle web project?
  • Can we have more then one configuration file?
  • Type of Authentications?
  • Can we have multiple assemblies in a single web project?
  • What is the difference between the inline and code behind?
  • what is side by side execution?
  • can we have two different versions of dot net frameworks running on the same machine?
  • What is CLR? Difference b/w CLR and JVM?
  • What is CLI?
  • What is GAC?
  • What is View State?
  • Can you read the View State?
  • What is the difference between encoding and encryption? Which is easy to break?
  • Can we disable the view state application wide?
  • can we disable it on page wide?
  • can we disable it for a control?
  • What is provider Model?
  • What is machine.config?
  • What different types of session state Management we have in asp.net?
  • What are cookies?
  • What is the significance of Application_Start/Session_Start/Application_Error?
  • What is CTS?
  • What is .resx file meant for?
  • Any idea of aspnet_regiis?
  • Any idea of ASP NET State Service?
  • Crystal report is only used for read only data and reporting purposes?