Dotnetuncle’s Interview Crackerjack: The Ultimate. Title Dotnetuncle’s Interview Crackerjack: The Ultimate. GE_Item_ID;. Publisher Createspace. From the author of , here comes The Interview Question-Answer Series that covers topics such as the Microsoft. Book – Dotnetuncle’s Interview Crackerjack. 37 likes. Computers (Brand).
|Published (Last):||1 April 2013|
|PDF File Size:||10.44 Mb|
|ePub File Size:||17.83 Mb|
|Price:||Free* [*Free Regsitration Required]|
NET Questions and answers mentioned over here have been taken from forums, my colleagues and my own experience of conducting interviews. NET interview questions and answers mentioned here can be used by freshers, or developers with 2 or more years of experience. NET is an open source server side technology that enables programmers to build dynamic Web sites, web applications, and Web services.
It is a part of the. So programmers can write ASP. NET code using any. It was first called as ASP. It has been re-implemented as a modular framework.
NET Core uses the. You can read about ASP. NET Core over here https: A comparison chart containing the differences between ASP. The latest version of ASP. There have been 3 versions of ASP. NET released as of date. They are as follows:. The events occur in the following sequence. PreInit — This event represents the entry point of the page life cycle.
If you need to change the Master page or theme programmatically, then this would be the event to do so.
Dotnetuncle’s Interview Crackerjack: The Ultimate .Net Interview Question-Answer Series
Dynamic controls are created in this event. Load — This event is raised for the Page and then all child controls. The controls properties and view state can be accessed at this stage. This event indicates that the controls have been fully loaded. It also marks the beginning of the rendering stage. PreRender — If you need to make any final updates to the contents of the controls or the page, then use this event.
It first fires for the page and then for all the controls. Unload — This event is typically used for closing files and database connections. At times, it is also used for logging some wrap-up tasks.
To understand the life cycle in detail with diagrams, refer to our article ASP. NET Development Server to test your pages. It functions as a local Web server.
The only limitation is that remote machines cannot access pages running on this local server. The second option is to deploy a Web application to a computer running IIS intervuew 5 or 6 or 7. AutoPostBack allows a control to automatically postback when an event is fired. AutoPostBack is caused by a control on the page. There are 2 code models available in ASP.
One is the single-file page and the other one is the code behind page. Additionally placing web service files generates a proxy class out of. This folder also stores the local db to maintain membership and role information.
In earlier versions, we were required to manually use the resgen. These files can be accessed globally in the application. This folder contains the. Http is a stateless protocol. Hence the state of controls is not saved between postbacks. Viewstate is the means of storing the state of server side controls between postbacks. The information is stored in HTML hidden fields. In other words, it is a snapshot of the contents of a page.
EnableViewState saves the state of an object in a page between postbacks. Objects are saved in a Base64 encoded string. If you do not need to store the page, turn it off as it adds to the page size.
There is an excellent article by Peter Bromberg to understand Viewstate in depth. Page directives configure the runtime environment that will execute dotjetuncle page. The complete list of directives is as follows:.
Control – Defines control-specific attributes used by the ASP. NET page parser and compiler and can be included only in. Implements – Indicates that a page or user control implements a specified.
NET Framework interface declaratively.
Grip on Calculus, Differentiation and Integration, Question-Answer Style
Master – Identifies a page as a master page and defines attributes used by the ASP. Page – Crackerjakc page-specific attributes used by the ASP.
PreviousPageType – Creates a strongly typed reference to the source page from the target of a cross-page posting. Reference – Links a page, user control, or COM control to the current page or user control declaratively.
Register – Associates aliases with namespaces and classes, which allow user controls and custom server controls to be rendered when included in a requested page or user control. This list has been taken from here. Validation controls allows you to validate a control against a set of rules. There are 6 different validation controls used in ASP. CompareValidator — Compares the value of one control to another using a comparison operator equal, less than, greater than etc.
RangeValidator — Checks whether a value falls within a given range of number, date or string. RegularExpressionValidator — Confirms that the dotnetjncle of a control matches a pattern defined by a regular expression.
CustomValidator — Calls your own custom validation logic to perform validations that cannot be handled by the built in validators. ValidationSummary — Show a summary of errors ingerview by each control on the page on a specific spot or in a message box. Master pages is a template that is used to create web pages with a consistent layout throughout intervieq application.
Master Pages contains content placeholders to hold page specific content. When a page is requested, the contents of a Master page are merged with the content page, thereby giving a consistent layout. It is quiet similar to an ASP. A Nested master page is a master page associated with another master page.
To create a nested master page, set the MasterPageFile attribute of the Master directive to the name of the. Themes are a collection of CSS files. They are text based style definitions and are inteeview similar to CSS, in that they provide a common look and feel throughout the website. A theme contains one or more skin files. A skin is simply a text file with a. Defines a skin that will be applied to all buttons throughout to give it a consistent look and feel.
Custom controls are compiled components that run on the server and that encapsulate user-interface and other related functionality into reusable packages. They can include all the design-time features of standard ASP. NET server controls, including full support for Visual Studio design features such as the Properties window, the visual designer, and the Toolbox.
User controls are easier to create in comparison to custom controls, however user controls can be less convenient to use in advanced scenarios.
User controls have limited support for consumers who use a visual design tool whereas custom controls have full visual design tool support for consumers. A separate copy of the user control is required in each application that uses it whereas only a single copy of the custom control is required, in the global assembly cache, which crakcerjack maintenance easier.
A user control crackerjjack be added to the Toolbox in Visual Studio whereas custom controls can be added to the Toolbox in Visual Studio. There can be multiple web.
NET, Shiprasad Koirala – Shop Online for Books in Fiji
Interviww there can be only one machine. Redirect involves a roundtrip to the server whereas Server. Transfer conserves server resources by avoiding the roundtrip. It just changes the focus of the webserver to a different page and transfers the page processing to a different page. Redirect can be used for both. Transfer can be used only for.
Redirect can be used to redirect a user to an external websites. Transfer can be used only on sites running on the same server. You cannot use Server. Transfer to redirect the user to a page running on a different server.