----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Govind_k22 Message 2 in Discussion NET Framework interview questions and interviewer's notes NET framework overview Has own class libraries. System is the main namespace and all other namespaces are subsets of this. It has CLR(Common language runtime, Common type system, common language specification) All the types are part of CTS and Object is the base class for all the types. If a language said to be .net complaint, it should be compatible with CTS and CLS. All the code compiled into an intermediate language by the .Net language compiler, which is nothing but an assembly. During runtime, JIT of CLR picks the IL code and converts into PE machine code and from there it processes the request. CTS, CLS, CLR Garbage Collection Dispose, finalize, suppress finalize, Idispose interface Assemblies, Namespace: Assembly is a collection of class/namespaces. An assembly contains Manifest, Metadata, Resource files, IL code Com interoperability, adding references, web references Database connectivity and providers Application Domain VB.Net Class modifiers: public, private, friend, protected, protected friend, mustinherit, NotInheritable Method modifiers: public, private Overridable Shadows Overloadable Overrides Overloads Set/Get Property IIF Inheritance Polymorphism Delegates Events Reflection Boxing UnBoxing Casting ASP.Net Web Controls: Data grid (templates, sorting, paging, bound columns, unbound columns, data binding), Data list, repeater controls HTML Controls Code behind pages, system.web.ui.page base class Web.config: App settings, identity (impersonate), authentication (windows, forms, anonymous, passport), authorization Databind.eval Trace, Debug Output cache Session management Application, Session Global.asax httpapplication User controls, custom controls, custom rendered controls (postback event, postdatachanged event) usercontrol is the base class Directives ADO.Net Command object (ExecuteNonquery, ExecuteReader, ExecuteXMLReader, ExecuteScalar) DataAdapter object (Fill) Dataset (collection of tables) CommandBuiler object Transaction Object Isolation levels ASP.NET Explain the differences between Server-side and Client-side code? What type of code (server or client) is found in a Code-Behind class? Should validation (did the user enter a real date) occur server-side or client-side? Why? What does the "EnableViewState" property do? Why would I want it on or off? What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other? Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component? Let's say I have an existing application written using Visual Studio (VB InterDev and this application utilizes Windows COM+ transaction services. How would you approach migrating this application to .NET? Can you explain the difference between an ADO.NET Dataset and an ADO Recordset? Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines? If I'm developing an application that must accomodate multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users? What are ASP.NET Web Forms? How is this technology different than what is available though ASP (? How does VB.NET/C# achieve polymorphism? Can you explain what inheritance is and an example of when you might use it? How would you implement inheritance using VB.NET/C#? Whats an assembly? Describe the difference between inline and code behind - which is best in a loosely coupled solution? Explain what a diffgram is, and a good use for one? Where would you use an iHTTPModule, and what are the limitations of anyapproach you might take in implementing one? What are the disadvantages of viewstate/what are the benefits? Describe session handling in a webfarm, how does it work and what are the limits? How would you get ASP.NET running in Apache web servers - why would you even do this? Whats MSIL, and why should my developers need an appreciation of it if at all? In what order do the events of an ASPX page execute. As a developer is it important to undertsand these events? Which method do you invoke on the DataAdapter control to load your generated dataset with data? Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control? What base class do all Web Forms inherit from? What method do you use to explicitly kill a user s session? How do you turn off cookies for one page in your site? Which two properties are on every validation control? What tags do you need to add within the asp:datagrid tags to bind columns manually? How do you create a permanent cookie? What tag do you use to add a hyperlink column to the DataGrid? What is the standard you use to wrap up a call to a Web service Which method do you use to redirect the user to another page without performing a round trip to the client? What is the transport protocol you use to call a Web service SOAP True or False: A Web service can only be written in .NET What does WSDL stand for? What property do you have to set to tell the grid which page to go to when using the Pager object? Where on the Internet would you look for Web services? What tags do you need to add within the asp:datagrid tags to bind columns manually. Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box? How is a property designated as read-only? Which control would you use if you needed to make sure the values in two different controls matched? True or False: To test a Web service you must create a windows application or Web application to consume this service? How many classes can a single .NET DLL contain? REG GOVIND. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
