tag:blogger.com,1999:blog-60582467548261166472024-03-29T08:59:45.509+05:30Dot Net CandiesAkhil Rajhttp://www.blogger.com/profile/07273933336603095835noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6058246754826116647.post-62540064550017125352018-10-07T11:18:00.001+05:302018-10-07T11:18:44.969+05:30Anchal East 1998 10B Reunion (23-09-2018)<script src="//s3.amazonaws.com/js-static/18fe990e484820dae3.js" type="text/javascript"></script><iframe allowfullscreen="" frameborder="0" height="344" src="https://www.youtube.com/embed/d6I9XnIAtio" width="459"></iframe>Akhil Rajhttp://www.blogger.com/profile/07273933336603095835noreply@blogger.com0tag:blogger.com,1999:blog-6058246754826116647.post-77009221485005296092014-01-04T21:10:00.001+05:302014-01-05T15:34:28.058+05:30HTML5 Boilerplate Web Application Template for Visual Studio 2010 Version 1.0.0.0HTML5 Boilerplate Web Application Template extention is released for Visual Studio 2010. This is the first version of extention.<br />
<br />
<b>Introdcution</b>This is HML5 Bolierplate Web Application Template. The template is based on HTML5 Boilerplate 4.3.0. This is the first version. <br />
The template created the files in the boilertemplate. Master Web page and default page is added in HTML5 inaddition to the basic files. Please refer <a href="http://html5boilerplate.com/">http://html5boilerplate.com/</a> for base template details<br />
<br />
<b>Requirement</b><br />
Visual Studio 2010<br />
<br />
<b>Supported Language</b><br />
C#<br />
<br />
<b>Home Page and Download</b><br />
<a href="http://visualstudiogallery.msdn.microsoft.com/ca6c176c-0464-4c76-a6e6-c6d5d59cc34c?SRC=Home">http://visualstudiogallery.msdn.microsoft.com/ca6c176c-0464-4c76-a6e6-c6d5d59cc34c?SRC=Home</a>Akhil Rajhttp://www.blogger.com/profile/07273933336603095835noreply@blogger.com331tag:blogger.com,1999:blog-6058246754826116647.post-48415758750660165122013-11-10T09:29:00.002+05:302013-11-13T20:17:05.355+05:30Answers for scott hanselman .net interview questions<span style="font-size: small;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">This is just for knowledge sharing . When I search answers of Scott Hanselman's Interview Questions, got more blogs and articles but most of them not have full answers. So i just search and put a common post to see all the answers..Anyway I am really thankful to the original answers..</span><br />
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><br /></span>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">I searched and added some answers with <span style="font-weight: normal;"><a href="http://www.codeproject.com/Articles/32387/Reply-to-Scott-Henselman-s-Interview-Questions" target="_blank">Reply to Scott Henselman's Interview Questions</a> from stack overflow or some other blogs. See Original Post from <a href="http://www.codeproject.com/Articles/32387/Reply-to-Scott-Henselman-s-Interview-Questions" target="_blank">here</a>. I think it may helpfull to you...</span></span><br />
<a name='more'></a><br />
<span style="font-size: small;"></span><br />
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><br /></span><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]--><span style="font-size: small;">
</span><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]-->
<br />
<div class="MsoNormal" style="line-height: normal;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b><i>What Great .NET Developers Ought To
Know </i></b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b><i>Everyone who writes code </i></b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>Describe
the difference between a Thread and a Process?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">Thread is
minimum unit for processor to execute. Collections of threads make process. By
dividing process into threads, processor achieves multi tasking (by running
threads concurrently not parallel). Threads can share memory but processes
can’t share memory. Threads can communicate with each other of same process
without any middle layer but process can’t they required inter process
communication kind of thingy. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>What
is a Windows Service and how does its lifecycle differ from a
"standard" EXE?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">Windows
service is windows based background process which has no user interface like
any other service (aka daemon in UNIX based environment). Windows service needs
to be installed before executing unlike EXE. Windows service used to perform
such tasks which doesn’t required user interaction but system status based
events like performing tasks at specific intervals or at different state of
system like alarm user when disk is about to get full to clean up. Windows
service is controlled by Service control manager (SCM) and it started
automatically even user didn’t login to his/her windows account (as SCM already
has account credentials so SCM knows if system start which service needs to
start and by which account), where as EXE is controlled by OS and runs only
when user get login using windows account. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>What
is the maximum amount of memory any single process on Windows can address? Is
this different than the maximum virtual memory for the system? How would this
affect a system design? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">Single
process on windows can address different amount of memory as it depends upon
systems (32bit/64bit processor) and OS as well. Yes process memory consumption
size can be different from maximum virtual memory size. If software/process
code is written by keeping 64 bit processor (as 64 bit processor support more
than double memory) then it won’t be able to run that process on 32 bit system.
<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>What
is the difference between an EXE and a DLL? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">Exe is
executable and independent program/process to run which has its own reserved
memory space whereas DLL (Dynamic Link Library) is neither executable and not
even independent, it used by other DLL/program. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>What
is strong-typing versus weak-typing? Which is preferred? Why? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">Strong
typing means a person who has great typing skills and that chat do too much
chatting :D just joking. Strong typing means when code compiles, type rules
enforced strictly according to their data assigned to them whereas weak typing
is quite opposite of this definition. JavaScript/C/C++ is weak typing but .net
based languages are strongly typed. Strong typing is preferred by means of less
run time errors risk and efficient during execution of program but not during compile
time. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>Corillian's
product is a "Component Container." Name at least 3 component
containers that ship now with the Windows Server Family.</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<ul type="disc">
<li class="MsoNormal" style="line-height: normal;"><span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">System.Web.UI.Page, </span></li>
<li class="MsoNormal" style="line-height: normal;"><span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">System.Windows.Forms.Form </span></li>
<li class="MsoNormal" style="line-height: normal;"><span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">System.ComponentModel.Container</span></li>
</ul>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">Components
are any version controlled reusable code elements and component container
manages these either visually or not. For example the form is nothing more that
visual component container of IComponnet based controls that are rendered and
the life cycle of which is managed. Important to note that not all component
containers are visual in nature.</span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>What
is a PID? How is it useful when troubleshooting a system?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">PID is
Process ID which is unique to identify any process within a system. Whilst
troubleshooting we can kill process through its PID. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>How
many processes can listen on a single TCP/IP port?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; margin-left: 0.5in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">I think
single process can only hold handler of any port at a time means can listen on
single port. Once I got error when I ran my web application as another
application (skype) was using that port. It make sense as well, ports are like
doors if two people talk on specific door and third one comes up then no
privacy :-D (divorce ratio would be dramatically raised)<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<ul type="disc">
<li class="MsoNormal" style="line-height: normal;"><span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>What is the GAC? What problem does it solve?</b></span></li>
<li class="MsoNormal" style="line-height: normal;"><span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">GAC stands for Global Access Cache where shareable/public
assemblies (DLL) stored to be used by multiple programs. It gives a shared
platform for programs to use single assembly and can store same assembly
(of same name) with different versions and can help to solve DLL HELL. </span></li>
</ul>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>Mid-Level .NET Developer<i> </i></b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Describe the difference between Interface-oriented, Object-oriented and
Aspect-oriented programming.</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>Aspect-oriented</b> programming looks
at how many components or pieces of a system might need to interact. The
intersections of these pieces are what are important in AOP.
"Crosscutting" is a slice across several units, all of which interact
during some operation. The article Discussing aspects of AOP in Communications
of the ACM, Volume 44, Number 10 (2001) shows an example of a drawing editor
with point and line elements. If the drawing is moved, both point and line
elements need to update. A crosscut hits these elements for this event. Other
examples might include logging or exception handling which hit several
different layers in a system. (Viji Sarathy, <i><a href="http://www.theserverside.net/articles/showarticle.tss?id=AspectOrientingNET&News04_19_05-click">Aspect
Orienting .NET Components</a></i> ) Sarathy's article shows using attributes to
"dynamically alter the manner in which the code executes", thereby
causing events to be fired during runtime when a particular method, field or
property is accessed. <b>Interface-oriented</b> programming is a contract-based
approach. Nether side of the interface cares how the other does its work, only
that the two sides can communicate via an agreed-upon contract. WSDL-based web
services are the prime example of this. <b>Object-Oriented</b> programming is
based on abstraction, encapsulation (data hiding), polymorphism and
inheritance. Classes implement these concepts to build objects controlling or
implementing a system. <u>Abstraction </u>allows loose coupling between
components by providing a layer between objects so that one object isn't
concerned with how the other implements its business rules. (Interfaces,
layers) Great stuff when you want to isolate parts of the system so they can be
swapped out without killing the rest of the sytsem. <u>Encapsulation </u>allows
abstraction to work by hiding details of a class's implementation from calling
classes. (Public vs. private fields) <u>Inheritance </u>enables base (parent)
classes to have common functionality defined in it and passed down to child
classes. A Shape class might have a field for color which is inherited by child
classes of Square or Circle type. <u>Polymorphism </u>enables implementation of
same-named public fields, allowing different classes to perform different
actions on the same call - rendering a Square or Circle object differently in a
graphic program, even though they might both be subclassed from a base Shape
class. (Overriding) </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Describe what an Interface is and how it’s different from a Class.</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
An interface is strictly a Contract without implementation means interface can
only declare properties or methods. Class can have implementation of its
methods, can have different level of access identifiers whereas interface’s
properties or methods can have only public access identifier and can implement
class and multiple interfaces. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is Reflection?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Reflection is mechanism to load dynamically assembly at runtime and using
assembly Meta data can access its namespace, class and their properties,
methods and even events. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the difference between XML Web Services using ASMX and .NET Remoting
using SOAP?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Remoting assumes the other end is .NET. This is because .NET remoting using
SOAP uses the SoapFormatter to serialize data. SoapFormatter embeds the type
information required to deserialize the object into the message itself. This
requires that the client and the server must have access to this assembly.
Remoting believes in the .NET Type System. Remoting believes in sharing types
and assemblies. Remoting can support DCOM style Client Activated Objects which
are stateful. The use of CAOs though have to be carefully thought about because
CAOs cannot be load balanced. ASMX model does not assume that the other end is
.NET. ASMX uses XmlSerializer to serialize data. Xmlserailizer believes that
the XML Type System, that is the XSD is superior and works on serializing data
conforming to a schema. In other words XML Web Services believe in sharing
schema and contracts over types and assemblies. This makes the Web Services
interoperable. ASMX services are usually stateless. <a href="http://sendhil.spaces.live.com/blog/cns%2130862CF919BD131A%21579.entry">Ref</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Are the type system represented by XmlSchema and the CLS isomorphic?</b> </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
No, there is some impedence mismtach. That's the reason you ned
IXmlSerializable to help the XmlSerializer. XSD is not a type system in the
traditional sense. <a href="http://sendhil.spaces.live.com/blog/cns%2130862CF919BD131A%21579.entry">Ref</a>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Conceptually, what is the difference between early-binding and late-binding?</b>
</span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Early binding means compiler get information of type calling/path execution
during compilation of code and in late binding compiler doesn’t get that
information but this information determined at runtime/execution time. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Is using Assembly.Load a static reference or dynamic reference?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Its dynamic load (Reflection)<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>When would using Assembly.LoadFrom or Assembly.LoadFile be appropriate? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Difference is only about binding. LoadFrom is flexible and if it doesn’t get
assembly where it was pointing then it can be redirect to another path on the
other hand LoadFile points/depends upon strictly to reference/path of the
assembly defined, don’t redirect in case of failure. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is an Asssembly Qualified Name? Is it a filename? How is it different?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Assembly qualified name contains assembly name, version, token key whereas
filename is simple file name physically on file system. Assembly names store as
Meta data as is very important by means of defining scope. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Is this valid? Assembly.Load("foo.dll")</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Ofcouse NOT :D as its file name not Assembly qualified name which is required. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>How is a strongly-named assembly different from one that isn’t
strongly-named?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Strongly named assembly have strong names due to public token key so can be
stored in GAC (shared environment) and can be referred by multiple programs
whereas non-strongly name can’t be stored in GAC.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Can DateTimes be null? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Before .net 2.0 it was not possible as datetime/integer… are struct/value types
which can’t be null but due to nullable types now its possible. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the JIT? What is NGEN? What are limitations and benefits of each?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
I remember, once I was being interviewed at very big name (company),
interviewer asked me about .net IL compilation… I start telling and talked
about JIT as well after listening me he said hmmm JIT exist in Java
technologies not .net technologies, I said no I read about it and it does but
he kept negating me so I got quite and said Ok. Anyhow JIT stands for Just in
time compiler it compiles code into native code to execute by processor in
three different techniques. It compiles code just before code required to be
run which makes execution little slow (depends) so to avoid that we use NGEN
which converts IL into native code like JIT but during deployment. It comes
with large image which also includes that codes compiled version which is not
being calling frequently. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>How does the generational garbage collector in the .NET CLR manage object
lifetime? What is non-deterministic finalization?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Object life time divides into three different generations, 1 short term and 2
long terms so manage accordingly. Non deterministic finalization means GC calls
finalize method of object not right after object goes out of scope rather when
GC got idle time to prioritize it. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the difference between Finalize() and Dispose()?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Finalize called by GC and Dispose called by programmer to free up resources. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>How is the using() pattern useful? What is IDisposable? How does it support
deterministic finalization?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Using statement is quite handy and makes code quite efficient as right after
end of using statement object created/declared in that statement disposed automatically
means dispose method get called in deterministic way to free up memory.
IDisposible is interface which classes implements to dispose unmanaged
resources in deterministic manner. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What does this useful command line do? tasklist /m "mscor*"</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
It will list down all the processes that have loaded modules which start from
mscor… hosting by the .net environment.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the difference between in-proc and out-of-proc?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
As name implies in proc means loading in the same process memory domain of
invoker/host, it is fast technique but less reliable than out proc in case of
any fault/exception occurs. Out proc is opposite to in proc definition and as
loading out of the host process so is not depending and could be safe in host
process failure for some reason. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What technology enables out-of-proc communication in .NET? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
.net remoting through marshalling </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>When you’re running a component within ASP.NET, what process is it running
within on Windows XP? Windows 2000? Windows 2003? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Aspnet_wp.exe in case of winxp and win2k but w3pw.exe in case of win2k3.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>Senior Developers/Architects </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What’s wrong with a line like this? DateTime.Parse(myString); </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
There is nothing wrong necessarily but could be wrong means no error no
exception but some logical error like unexpected result could be produce due to
lack of locale/culture info.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What are PDBs? Where must they be located for debugging to work?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
PDB stands for Program database store debugging symbols and meta information
for debugging. Normally they are located at bin or debug folder.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is cyclomatic complexity and why is it important?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">Cyclomatic complexity is a computer
science metric (measurement) developed by Thomas McCabe used to generally
measure the complexity of a program. It directly measures the number of
linearly independent paths through a program’s source code. </span><span style="font-size: small;">
<span style="font-family: Arial,Helvetica,sans-serif;"><br />
The concept, although not the method, is somewhat similiar to that of general
text complexity measured by the Flesch-Kincaid Readability Test. </span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br />
Cyclomatic complexity is computed using a graph that describes the control flow
of the program. The nodes of the graph correspond to the commands of a program.
A directed edge connects two nodes, if the second command might be executed
immediately after the first command. By definition, </span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br />
CC = E - N + P </span>
<span style="font-family: Arial,Helvetica,sans-serif;"><br />
where <br />
CC = cyclomatic complexity <br />
E = the number of edges of the graph <br />
N = the number of nodes of the graph <br />
P = the number of connected components.
</span></span></div>
<hr align="left" size="1" />
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
<span style="line-height: 115%;">[1]</span>
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Write a standard lock() plus “double check” to create a critical section
around a variable access.</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Object objLock; bool isLocked = true; if (isLocked) {lock(objLock){if
(isLocked) {//bingooooo}}}} </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is FullTrust? Do GAC’ed assemblies have FullTrust?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
FullTrust means newly happily marriage :D and in .net it means Assembly have
full access of system resources (which is quite dangerous and in shared hosting
domain only medium trust level is allowed). YES GACed assemblies have
fulltrust.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What benefit does your code receive if you decorate it with attributes
demanding specific Security permissions?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
It let user know what your code/program required to do so and either it’s
allowed to do operation or not so it becomes user friendly by means of security
permissions. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What does this do? gacutil /l | find /i "Corillian"</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
List all assemblies in the GAC that has a case insenstive world
"Corillian" in it...<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What does this do? sn -t foo.dll</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
SN stands for strong name and used to generate strong names of assemblies but
not sure about –t param here but my searching told me its for Token Key.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What ports must be open for DCOM over a firewall? What is the purpose of
Port 135?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
DCOM is distributed COM technology which used to remote procedure call and it
used port 135 by default. 135 is port of Remote procedure call Service and as
DCOM is OO based RPC mechanism so no wonder about it ;) by the way good
question can kill any 1J<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Contrast OOP and SOA. What are tenets of each? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
OOP tenets are Polymorphism, inheritance, abstraction…. And SOA tenets would be
(not much sure) as it based on services so discovering/access,
interoperatibility, security, distributeable<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>How does the XmlSerializer work? What ACL permissions does a process using
it require? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
XmlSerializer used read/write interfaces to deserialize/serialize respectively
xml based data so it’s understood that it uses reflection.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Why is catch(Exception) almost always a bad idea? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Catch(exception) is always a time consuming and somehow it means programmer
knows/expecting there would/can be some exception so better approach is to use
checks as much as programmer can rather catch exception but ofcourse its
unavoidable. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the difference between Debug.Write and Trace.Write? When should each
be used? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
As names implies .write means printing something and debug would be used whilst
debugging and Trace is useable at release mode and according to my knowledge
during release mode if debug statement is used it would be ignored gracefully
so chill.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the difference between a Debug and Release build? Is there a
significant speed difference? Why or why not? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Debug build contains debug symbols in (pdb) files and debugging related meta
information which release build doesn’t that’s why more compact and efficient. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Does JITting occur per-assembly or per-method? How does this affect the
working set?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
JITing occue per method as NGEN make image of whole assembly at once. JITing
degrade efficiency if method is very highly coupled means dependent upon other
methods (call/invoke other methods which were not JIT) </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Contrast the use of an abstract base class against an interface?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Aaaaah typical interview question but thanks there is something typical scott
asked :D. abstract class can have implementation of methods at different
access levels whereas interface can have only declarations of methods and must
be public, abstract class is inheritable. I think interesting and bit difficult
contract would be between PURE abstract class and interface. Sounds good?<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the difference between a.Equals(b) and a == b?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Equals checks type as well as it compares on heap to objects whereas ==
doesn’t, it just check value on stack. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>In the context of a comparison, what is object identity versus object equivalence?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Identity means two references on stack point to same address of heap whereas
object equivalence means objects has same value. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>How would one do a deep copy in .NET?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Normally I hate typical interview questions as this but in this (scott) case I
am more than happy to hear. Anyhow Implement ICloneable simple.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is boxing?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
To convert value type into reference type is called boxing.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Is string a value type or a reference type?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
It’s not even again typical interview question but also for heaven sake scott
it’s not suppose to be known by some senior/architect level of .net guru.
Anyhow string is reference type due to its any length of size.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the significance of the "PropertySpecified" pattern used
by the XmlSerializer? What problem does it attempt to solve?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">The XMLSerializer enables how to
control how objects are encoded into XML. Serializes and deserializes
objects into and from XML documents. In .NET 1.x ithe <b>PropertySpecified </b>pattern tried
to solve the problem that numeric values such as int and float could not be
null, so it had no other way to indicate that the attribute/element existed in
the XML file or not. Since .NET 2.0 one can use Nullable<T> and for
example int? instead </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Why are out parameters a bad idea in .NET? Are they?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Ofcourse they are not encouraging as out keyword is somehow violating the rule
of returning single value which keep function easy to readable and debuggable
as we know only there is single point to return value and somehow caller can
send any vulnerable value which always should be validate. Anyhow there are
many solutions like using array (if return values are of same type or ENUM if
feasible or Collection or Class with multiple properties…)<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Can attributes be placed on specific parameters to a method? Why is this
useful? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Yes I have seen that being using in case of .net remoting but didn’t use/need
much sooo.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>C# Component Developers </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Juxtapose the use of override with new. What is shadowing? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Overriding means giving implementation of virtual/abstract/overrideable method
in derived class and if we use new it means it can’t be access through by any
other class ref/object. Shadowing is somehow opposite to overriding as it lets
redefine method implementation with signature as well. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Explain the use of virtual, sealed, override, and abstract.</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Through Virtual keyword, we enforce programmer of derive class to override this
function. Sealed make sure that class won’t be able to inherit (you may say
Such mother who can’t birth a baby :D) and through abstract class, we are able
to define methods as abstract to make them must overrideable by child classes
and don’t let anyone to instantiate it. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Explain the importance and use of each component of this string: Foo.Bar,
Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d :) </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Foo.Bar Assembly name, Version defines its version in following pattern (Major,
Miner, Build) to track version number of that assembly, Culture specifies
culture for locale settings and publickeytoken makes it unique so could be kept
and accessed in shared environment.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Explain the differences between public, protected, private and internal.</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Public is shareable so anyone can access no matter out of the
class/assembly/assembly. Through Protected you can only access within class or
from child classes and through internal you can access within the assembly
only. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What benefit do you get from using a Primary Interop Assembly (PIA)?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">PIAs provide unique type identity. The
PIA distinguishes the official type definitions from counterfeit definitions
provided by other interop assemblies. Having a single type identity ensures
type compatibility between applications that share the types defined in the
PIA. Because the PIA is signed by its publisher and labeled with the
PrimaryInteropAssembly attribute, it can be differentiated from other interop
assemblies that define the same types </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>By what mechanism does NUnit know what methods to test?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Using attributes<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the difference between: catch(Exception e){throw e;} and
catch(Exception e){throw;}</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Throw also return stack trace which throw e doesn’t<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the difference between typeof(foo) and myFoo.GetType()?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
First 1 takes type name and return result at compile time whereas 2<sup>nd</sup>
1 takes object and return type at runtime using reflection ofcourse.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Explain what’s happening in the first constructor: public class c{ public
c(string a) : this() {;}; public c() {;} } How is this construct useful?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
First one calls the base contructor. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is <i>this</i>? Can this be used within a static method? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
this keyword points to current object and as static methods can’t be invoked
through object sooo<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><b>ASP.NET (UI) Developers </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Describe how a browser-based Form POST becomes a Server-Side event like
Button1_OnClick. </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
I am not certain but I think when we need to submit some information or
manipulate data at server side we use POST method which transmit client side
information to server side in Request object and send the information to server
and server perform task according to information given by client so in this
case<b> Button1_OnClick </b>is transferred to server and it’s handler called
the relevant method. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is a PostBack?</b> </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Postback is way to send client side information to server after loading it. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
ViewState stores information so it could be accessible after postback and
information could be persisted after any number of postbacks but only
within the scope of page. It encoded into Base64 format. It can be encrypted.
Controls uses viewstate to store control state and data to be preserved after
postback. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is the <machinekey> element and what two ASP.NET technologies is
it used for?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
machinekey defines unique key which could be use by session and cache so if
site is cluster based or single sign on based then it’s very useful. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What three Session State providers are available in ASP.NET 1.1? What are
the pros and cons of each? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
In-proc, out-proc, sqlserver </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What is Web Gardening? How would using it affect a design? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
If server has multiple processors and requests traffic is dividing accordingly
that is called web gardening. If server is using external resources (like sql
server, web services, logging) then it could be very useful. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Given one ASP.NET application, how many application objects does it have on
a single proc box? A dual? A dual with Web Gardening enabled? How would this
affect a design? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
HTTPApplication object with single key based would be only 1 per worker process
so in case of single processor box ONLY 1, in case of dual processor box
without webgardening there would be only 1 single worker process so again
single object but in case of web gardening two worker process means 2 objects.
So need to have machine key otherwise … :D </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Are threads reused in ASP.NET between reqeusts? Does every HttpRequest get
its own thread? Should you use Thread Local storage with ASP.NET? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
ASP.NET is MTA based so multiple threads are possible but I remember once I
tried to call methods through callback based async delegates which makes it run
on separate thread so when I tried that I lost httpcontext L in that thread. So
each thread gets its own thread and usage is depends upon need. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Is the [ThreadStatic] attribute useful in ASP.NET? Are there side effects?
Good or bad?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
I never used it but I think I got my just above mentioned problem’s solution
that we can share httpContext through this attribute in multiple threads ;)<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Give an example of how using an HttpHandler could simplify an existing
design that serves Check Images from an .aspx page.</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
We can simply make httphandler for such specific requirements as .aspx are nto
specialized for images based web page which we could make and make things
efficient and manipulate response according to our need. If page is based upon
images only and needs to show loads of images thumbnail and such features we
can make specific httpHandler for such pages to customize response and have
more command on request. </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What kinds of events can an HttpModule subscribe to? What influence can they
have on an implementation? What can be done without recompiling the ASP.NET
Application?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
HTTPModule subscribe to Request life cycle kinds of events like
beginRequest,EndRequest,Session,… They are useful to manipulate Request and
generate Response according to state and lifecycle. They are separate DLL which
are referred by asp.net application and if we change HTTPModule and recompile
it we don’t need to recompile our whole application. So they are plugged like
plugins </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Describe ways to present an arbitrary endpoint (URL) and route requests to
that endpoint to ASP.NET. </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
I am sure either I interpreted this question in right way but here is the
answer according to my understanding about this question. URL could be define
in couple of ways relative path and absolute path and request could be route in
multiple ways using Redirect, Transfer, URL Rewrite…<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Explain how cookies work. Give an example of Cookie abuse. </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Cookie stored at client side and readable by any user if it’s not encrypted, if
you stored some important information about client data at server any other
site could read cookies and get that information.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Explain the importance of HttpRequest.ValidateInput()?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
It checks integrity of data in Request object (Form, Querystring, Cookies), you
can prevented by XSS types of attacks and validate request data to see so there
is no malicious input ;)<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>What kind of data is passed via HTTP Headers?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
HTTP Header contains information about browser and some of page like browser
name, version, page size, mime type, cookies<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Juxtapose the HTTP verbs GET and POST. What is HEAD? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Get is used when we don’t need to do manipulation at server side and have
nothing really secret information to send in querystring as it send information
through querystring which is limited so input can’t be very long like article
:D but it’s pretty fast as compare to POST as post sends information in hidden
fields and preferred in case of manipulation at server side. Using Head we just
send page header information not the actual contents/body.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>Name and describe at least a half dozen HTTP Status Codes and what they express
to the requesting client. </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Very famous I just remember like 404 error page (page not found) 200 for OK, 500
Server not found<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>How does if-not-modified-since work? How can it be programmatically
implemented with ASP.NET?<br />
Explain <@OutputCache%> and the usage of VaryByParam, VaryByHeader.</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
No idea about the if-not-modified thingy but can tell about OutputCache which
is directive used for caching contents and tells server that Header information
could be change by VaryByHeader Param and Parameter could be change in query
string using VaryByParam so it get different versions for different header
(like browsers) and parameters respectively.<b> </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>How does VaryByCustom work? </b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
Can output different pages from cache on the basis of change of state of any
control or value or object within that page </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<b>How would one implement ASP.NET HTML output caching, caching outgoing
versions of pages generated via all values of q= except where q=5 (as in <a href="http://localhost/page.aspx?q=5">http://localhost/page.aspx?q=5</a>)?</b></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal; text-indent: -0.25in;">
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">·
<@OutputCache VaryByParam=”q” %> </span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal" style="line-height: normal;">
<span style="font-size: small;"><br /></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span><br />
<div class="MsoNormal">
<span style="font-size: small;"><br /></span></div>
<span style="font-family: Arial,Helvetica,sans-serif; font-size: small;">
</span>Akhil Rajhttp://www.blogger.com/profile/07273933336603095835noreply@blogger.com35