How you will handle session when deploying application in
more than a server? Describe session handling in a webform,
how does it work and what are the limits?
Answers were Sorted based on User's Feedback
Answer / frederickson
If we specify mode ="Inproc" session will store in
webserver itself under aspnet_wp.exe
If we specify mode = "Sqlserver" session will store in
sqlserver and it has to be serialized.
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / frederickson
we have Inproc server and outproc server
for storing session in different server we have to specify
in the webcofing mode="state" and state mode session to be
srialized. and it stores in aspnet_state.exe
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / adrien
You have 3 options.
1. Do not use any session variables.
2. Use a dedicated State Server (or state Server Farm)
3. Use SQL Server for state management
Is This Answer Correct ? | 3 Yes | 1 No |
Can you instantiate a struct without using a new operator in c#?
what is IComparable
Explain About a class access specifiers and method access specifiers.
Why use a singleton instead of static methods?
why instance? what are the uses of instance?
Give 2 scenarios where static constructors can be used?
What are the 2 types of data types available in c#?
without modifying source code if we compile again, will it be generated MSIL again?
In which way a two-dimensional array declared in C#?
What are delegates and why are they required?
What does a constructor do c#?
What is type casting. Explain it with reference to classes.
2 Answers HCL, JPMorgan Chase,