How will you encode URL strings?

Monday, December 7, 2009


HttpUtility.UrlEncode


www.codecollege.NET

What is XSS?


Cross-site scripting .


www.codecollege.NET

Where will you handle application level Exceptions?


In the application_error event in the global.asax.


www.codecollege.NET

How will you lock configuration settings?


use the path attribute on the element to identify the Web application.


www.codecollege.NET

What interface do you need to implement for your HttpHandler to support sessions?


It needs to implement IRequiresSessionState or IReadOnlySessionState in order to use session state.


www.codecollege.NET

How will you find which control did the postback?


you can find the control which did postback using "__EVENTTARGET" with few exceptions.


www.codecollege.NET

How will you impersonate the original caller?


<authentication mode="Windows" />
<identity impersonate="true" />


www.codecollege.NET
Blog Widget by LinkWithin