Interview Question part 3

Q 1)Can I deploy the application without deploying the source code on the server?

Ans)yes, After Project Completion we will Publish the Code after published we will give the code deploy the application on the server.
*************************************************************************
Q 2)Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.

Ans) inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension),the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process aspnet_wp.exe.
*************************************************************************
Q 3) Can we declare event and delegates in an interface?

Ans)No,we cannot declare delegates in interface however we can declare events in interface.
So interface can only contains the signature of the following members
Methods
Properties
Indexers
Events
*************************************************************************

Q4) Difference between catch(Exception error) and catch?
Ans)

The code below explains the difference between catch(Exception error) and catch

try

{

//Code that might generate error

}



catch(Exception error)

{

//Catches all Cls-complaint exceptions

}



catch

{

//Catches all other exception including the Non-Cls complaint exceptions

}