Saturday, September 19, 2009

Client Interview Questions

One fine day, my manager asked me to attend one client interview for a small project. But client wants an Technical Architect for that project. I was wondered why an Architect? Ofcourse, others also wondered. Here are the questions.

  • What are the new features in ASP.Net 3.5 compared to ASP.Net 2.0?
    • Script Manager, Update Panel, Update progress
    • List view, Data Pager
    • LINQ
  • What is LINQ?
    • Language Integrated Query – Used to query the data in the business layer itself to have better performance.
  • What is ListView?
    • ListView is the new control given in the 3.5 framework and can have all the functionalities as like Grid View, DataRepeater with more graphical styles
  • What is the viewstate? What is the lifespan of the same?
    • Viewstate is a built-in page attribute and is used to store the state of the controls.
    • The data is stored in this is encrypted and can be accessed through programmatically.
    • Extra data also can be stored in the viewstate programmatically.
    • The lifespan is the limited to page life time – If the page is alive in the browser the view state also alive along with the page...
  • What is the difference between HTML control and ASP.Net control?
    • HTML control is created at client side and no interactions required with the server.
    • This also can be made interacted with the server by adding runat=”server” attribute.
    • ASP.Net control is created and rendered from server side.
  • What is the difference between web user control and web custom control?
    • Web user control is a control where the user can have visualizations and need to inherit from UserControl class.
    • This can be used in any page to use the functionality.
    • Web custom control -> Not answered.
  • What is the difference between the System Exceptions and Application exceptions?
    • System Exceptions are generic in nature and are intended to thrown by the .net framework.
    • Application Exceptions are the custom exceptions derived from ApplicationException base class and exceptions cover in the developed application.
  • How do you do error handling in ASP.net?
    • Error handling can be done either through web.config of Global.asax files.
    • They can also be page level or application level.
    • They can also be used try … catch… finally….. for the purpose.
    • Errors can also be logged in Event log, text file or database…
  • What is the difference between Response.Redirect, Server.Transfer, Server.Execute and CrossPagePosting?
    • Response.Redirect -> redirect the page to the specified page.
    • Server.Transfer -> Redirect the page to the specified page but the address bar still shows the old URL only.
    • Server.Execute -> Executes the specified URL content.
    • CrosspagePosting -> Not answered.
  • What is a webservice? Advantages of the same?
    • Webservice is a service where it contains the programmable logic and can be accessible via protocols (SOAP).
    • It is very simple and easy to understand.
  • What is SOA?
    • SOA is Service Oriented Architecture. It provides principles of concepts on how the application has to be architecture by having service layers (Application Service layer, Domain Service Layers, Database Service layers ..).
    • Explained the architectural concepts here.
  • How to handle the scenario (given) for Performance?
  • How do you maintain logging in the application?
    • Logs can be maintained in the application with various levels and is used to understand how the application is working.
    • Also will be used to identify the errors.
    • Administering the application is easy if logs are available
  • What are the best practices do you follow?
    • Best practices given here..
  • How do you implement workflow?
    • Workflow can be either sequential or state-machine.
    • Before WWF, used to have roles in Database to execute workflow based applications.
    • Scenario explained here.
Happy interviewing... !!!

~ Gangadhar Kotu

No comments: