1) What I should answer person on interview on question “Can User Control be stored in library?”
There are 3 types of controls:
1) User Control
2) Custom Control
3) Web parts
you can reuse User control in the current project in which you have built it but you can't move it to other project as unless you just copy paste the same file there and make the changes for that project ( which violets the concept of library).
but custom control can be shared between projects. and you can precompile them even as a dll so this means you can use them in library of any type.
Wats the exact answer-- YES or NO?
2)Which is the best session management system in ASP.Net - viewstate, cookies, application, Urlencoding? Justify?