Friday, December 08, 2006

Interview Questions ASP.NET Part-I

I was roaming around the city last saturday. My cell rings... I switch on it. My friend was in other end. He got a call from a company for an interview. He asked me to tell some important questions. I had a surf in net for interview questions after a long time.

I found out the following questions from it. Thought it would be helpful for you as well...

1) The first question will be "Explain .NET architecture:"

2) What namespace does the Web page belong in the .NET Framework class hierarchy?

Ans: System.Web.UI.Page


3) What’s the difference between Response.Write() andResponse.Output.Write()?

Ans: Response.Output.Write() method allows us to write formatted output.


4) Describe the difference between a Thread and a Process?

Ans: Thread: A thread on the other hand is an independent path of execution WITHIN a process (thread of execution) .
Process: In its simplest definition, a process is an instance of a program running in a computer.


5) What methods are fired during the page load?

Ans: Init(), Load(), PreRender() and Unload() methods will be fired during the page load.
Init() - when the page is instantiated.
Load() - when the page is loaded into server memory.
PreRender() - the brief moment before the page is displayed to the user as HTML.
Unload() - when page finishes loading.

6) Where do you store the information about the user’s locale?

Ans: System.Web.UI.Page.Culture


7) What do you know about .NET assemblies?

8) How do you debug an ASP.NET application?

Ans: Attach the aspnet_wp.exe process and do the debug.


9) What data types do the RangeValidator control support?

Ans: Integer, String, and Date.


10) Can you edit data in the Repeater control?

Ans: No, it just reads the information from its data source.

Hope, you could have enjoyed this post. C U soon with more interview questions soon.

Happy coding...

Bye...

:))

No comments:

Post a Comment