It contains ETL tool Informatica faqs. Thanks Sreeni Koppuravuri Enjoy sharing of the knowledge.
Aluminium design manual FAQs
Blood Bowl faqs
Krrishnamurti paddhati of jyotish.Full description
Study in Sweden faqs
1) What is the difference difference between between Convert.ToInt32(string) Convert.ToInt32(string) and and Int32.Parse(string)? S.N o 1
Int32.Parse(string)
Convert.ToInt32(string)
It throws an exception when null value is passed
It returns zero when null value is passed
2) What is the difference difference between between EVAL and BIND? S.N o 1 2
EVAL
BIND
It is readonly Used to display only
It is editable Used to both display and update
3) What is the main difference difference between between MVP MVP and MVC? S.N o 1
MVP
MVC
In MVP, the View is completely controlled by the Presenter
In MVC,the Controller and the Model can update the View
4) What are the differences differences between between Inline code code and Code Behind Behind Code? S.N o 1 2
Inline code
Code Behind Code
Its within .aspx file Dynamically compiled
Its in a external class file Compiled prior to deployment and linked with .aspx file
5) What are the differences differences between between Global.asax Global.asax and Web.Config? S.N o 1 2
3 4
global.asax
It is a class file There can be only one for an application Can have Application an and Session events Need to be recompiled when changes are made
web.config
It is an XML file There can be many if under different sub-folders Cannot have Application and Session events No need to compile when changes are made
6) What are the Differences Differences between Server.Transfer Server.Transfer and Response.Redirect? S.N o 1
2
3 4
Server.Transfer
Response.Redirect
The navigation happens on The navigation happens on the the server-side ,so client client-side ,so client history is history is not updated updated Data can be persist across Context.Items loses the the pages using Context.Item persistence collection No Round-trips Makes a Round-trip Has Good encapsulation No
7) What is the difference difference between between a custom custom control and a user control? S.N o 1
2 3
4 5
6
User Control
Custom Control
Is a file with the .ascx extension Can be only used with the application Language dependent
Is a file with the .dll extension
Cannot be added to Visual studio Toolbox Inherits from Server controls and easy to create
Generally used for static content
Can be used in any number of applications They are language independent, a control created in c# can be used in vb.net Can be added to Visual studio Toolbox We have to develop from scratch , so comparatively difficult Used when dynamic content is required
8) What is the difference between Caching and Application? S.N o 1
2 3
Caching
Application
Cache have expire policy
Application does not have expire policy Application Application require r equire explicit locking Application Application variables exist as long as the application is alive
Cache does not require explicit locking Cache has the Property of timeout, which allows us to control the duration of the
4
Objects so cached Output can be cached in 4 ways, Page Output Caching Page Partial Caching DataSource Caching Data Caching It is accessible to page level to all the users
Application Application does not have options as like Cache object
• • • •
5
It is accessible to both page level and application level to all the users 9) What is the difference between web farm and web garden? S.N o 1
Web farm
Web garden
A web application running on multiple servers is called a web farm
A web application running on a single server that has multiple CPUs is called a web garden
10) What is the difference between Application and Session Events? S.N o 1
Application Event
Session Event
Application events are used to initialize objects and data that we do want to make available to all the current sessions of our web application
Session events are used to initialize data that we want to keep throughout individual sessions, but that we do not want to share between sessions
11) What is the difference between Session Cookies and Persistent Cookies? S.N o 1
Session Cookies
Persistent Cookies
Session Cookies do not have expiration date
Persistent Cookies have an expiration date. The expiration date indicates to the browser that it should write the cookie to the client’s hard drive
12) What are the differences between Server Controls and HTML Controls? S.N o
Server Controls
HTML Controls
1
Server Controls can trigger HTML Controls can trigger only control-specific events on the page-level events on server server (postback) 2 Data entered in a server Data is not maintained in an control is maintained across HTML control. Data must be requests. Server controls saved and restored using pageretain state level scripts 3 The Microsoft .NET HTML controls have HTML Framework provides a set of attributes only properties for each server control. Properties allows us to change the server control’s appearance and behavior within server-side code 4 Server controls automatically We must detect browser in code detect browser and adapt or write for least common display as appropriate denominator 13) What are the differences between ViewState and Hidden fields? S.N o 1
2 3
ViewState
This is used for pages that will postback to itself This is built in structure for maintaining state of a page Security is more as data is hashed, compressed and encoded
Hidden fields
This is used for pages that will postback to itself or to another page This is not an inbuilt structure Security is less when compared to ViewState
14) What is the difference between SQL Cache Notification and SQL Cache Invalidation? S.N o 1
SQL Ca Cache No Notification
SQL Ca Cache In Invalidation
Using SQL Ca Cache Notification, Notification, we can generate notifications when the data of a database on which a cached item depends changes
Using SQL Cache Invalidation, we can make a cached item invalid that depends on the data stored in a SQL server database, when the data in the SQL server database is changed
15) What is the difference between absolute time expiration and sliding time expiration?
S.N o 1
Abso Absolu lute te time time ex expi pira rati tion on
Slid Slidin ing g time time ex expi pira rati tion on
In ab absolute ti time ex expiration, a cached item expires after the expiration time specifies for it, irrespective of how often it is accessed
In sliding time expiration, the time for which the item is cached is each time incremented by its expiration time if it is accessed before completion of its expiration time
16) 16) What hat is is th the dif diffferenc rence e be betwe tween adding ing ite items ms into into cache through Add() method and Insert() method? S.N o 1
2
Cache.Add()
Cache.Insert()
Cache.Add() method also returns an object representing the item we have added in the cache ,besides adding the item in the cache It is not possible to replace an existing item in the cache using the Cache.Add() method
Cache.Insert() method adds only the item in the cache
We can replace an existing item in the cache using the Cache.Insert() method
17) 17) What hat is is th the dif diffferenc rence e be betwe tween page-le -level cac cach hing ing and and fragment caching? S.N o 1
Page-level caching
Fragment caching
In Page-level caching, we cache a whole page
In Fragment caching, we cache parts of the web page such as a user control added to the web page
18) 18) What What is the the diff differ eren ence ce betw betwee een n Labe Labell cont contro roll and and Lite Litera rall control? S.N o 1
Label control
Literal control
Final HTML code of a Label control has an HTML tag
Final HTML code of a Literal control contains only text, which is not surrounded by any HTML tag
19) 19) What hat is is th the dif diffferenc rence e be betwe tween Hyper yperLi Lin nk con contr trol ol and and LinkButton control? S.N o 1
HyperLink control
LinkButton control
A HyperLink control do not have Click and Command events
A LinkButton control have Click and Command events, which can be handled in the code behind file of the web page
20) 20) What hat is is th the dif diffferenc rence e be betwe tween an Htm HtmllInp InputCh tCheck eckBox control and an HtmlInputRadioButton HtmlInputRadioButton control? S.N o 1
21) S.N o 1
HtmlInputCheckBox control We can select more than one HtmlInputCheckBox control from a group of HtmlInputCheckBox controls
HtmlInputRadioButton control We can select only a single HtmlInputRadioButton control from a group of HtmlInputRadioButton controls
How a content pa page di differs fr from a master pa page? Content page
Master page
A content page does not have complete HTML source code
A master page page has complete HTML source code inside its source file
22) 22) How will ill you you diff ifferen erenti tiat ate e a submas master ter pa page fro from m a topoplevel master page? S.N o 1
Submaster page
Like a content page, a submaster page also does not have complete HTML source code
Top-level master page
Top-level master page has complete HTML source code inside its source file
23) 23) What hat is is th the dif diffferenc rence e be betwe tween a pa page th theme eme con contr trol ol and and a global theme? S.N o 1
Page theme
Global theme
A page theme is stored inside a subfolder of the App_Themes folder of a web
A global theme is stored inside the Themes folder on a web server
2
application It ca can be be ap applied to in individual web pages of the web application
It can be applied to all the web sites on the web server
24) 24) What hat is is th the dif diffferenc rence e betwe tween a defa defaul ultt sk skin and and a named skin? S.N o 1
2
25) 25) S.N o 1
Default skin
Named skin
A default skin does not have a SkinId attribute It is is automatically ap applied to all the controls of the same type present on a web page
A named skin has a SkinId attribute It is applied to a control explicitly by setting the SkinId property of the control from the Properties window
Diffe iffer rentia ntiate te Globa obaliz lization tion and Local ocaliz izat atiion Globalization
Localization
Globalization is the process of identifying the specific portion of a web application that needs to be different for different languages and isolating that portion from the core of the web application
Localization is the process of configuring a web application to be supported for a specific language or locale
26) 26) What hat ar are the the diffe iffere ren nces betwee ween we web.c b.conf onfig and machine.config? S.N o 1
2 3 4
web.config
This is is au automatically cr created when we create an ASP.Net web application project This is also called application level configuration file We can have more than one web.config file This file inherits setting from the machine.config
machine.config
This is automatically installed when we install Visual Studio. Net This is also called machine level configuration file Only one machine.config file exists on a server This file is at the highest level in the configuration hierarchy