Professional Documents
Culture Documents
Asp.NET?
1. SSL / TLS
2. IPSec
3. RPC Encryption
Using it we can use Visual Studio 2008 to create projects that target .NET
Framework version 2.0, 3.0, or 3.5.
AssemblyResourceLoader.
Whenever the value of the variable is changed, a new object will be created.
No.
A nested Master page is one master page referring another master page.
11) Explain Windows HTTP Services Certificate Configuration Tool
(WinHttpCertCfg.exe)?
certificate store that can be accessed by the Internet Server Web Application
Manager (IWAM) account.
WinHttpCertCfg.exe.
//c#
GC.Collect();
GC.WaitForPendingFinalizers();
DirectCast.
//c#
void OldMethod()
}
17) How will you mark a method as Non-CLSCompliant?
//c#
[CLSCompliant(false)]
Client-Activated Objects.
Application.Run(new Form1());
Yes. The garbage collector offers no guarantees about the time when an
object will be destroyed and its memory reclaimed.
21) Which class has culture information used for resource files?
Thread.CurrentThread.CurrentUICulture.
Thread.CurrentThread.CurrentCulture.
CultureInfo.CreateSpecificCulture().
AutoCompleteExtender.
[SoapDocumentMethod(OneWay=true)]
[WebMethod()]
//
personalization-enabled="false" />
True.
32) What is purpose of WCAG?
[TestClass]
[TestMethod]
System.Xml.Serialization.XmlSerializer.
Windows Azure is the cloud services operating system that serves as the
development, service hosting, and service management environment for the
Windows Azure Platform.
1. private
2. public
3. protected
4. internal
5. protected internal
regsvr32 %systemroot%\system32\inetsrv\inetmgr.dll
System.Windows.Controls.dll
System.Windows.Controls.Data.dll
47) How will you detect the name of the browser using ASP.NET?
You can find that using the following code (which detects whether it is IE)
if(Page.Request.Browser.Browser=="IE")
{
}
48) How will you make Visual Studio write the code for #region
#endregion automatically?
49) How will you make Visual Studio write the code for default
destructor or finalizer automatically?
50) How will you make Visual Studio write the code
Console.WriteLine automatically?
51) How will you make Visual Studio write the code for default
constructor automatically?
1. Adobe Flex
2. Microsoft Silverlight
1. Wrap handler.
2. Replace handler.
3. Logging handler.
System.Diagnostics.CodeAnalysis.SuppressMessage.
57) What is the namespace used to interact with the code analysis
tools in .NET?
System.Diagnostics.CodeAnalysis.
If this attribute is given to your code then FxCop will not raise warnings.
Generally it is used to give for compiler generated code.
Test-Driven-Development.
%().
@().
$().
%.
66) Name some of the popular Metadata of an Item in MS Build or
TFS Build?
It is a key/value pair.
68) What are the 2 popular ways to pass data to tasks and targets
in MS Build or TFS Build?
1. Properties
2. Items
1. XCOPY
2. Copy Website
3. Publish Website
4. ClickOnce
5. Setup Package
It forces the 'debug' attribute in the web.config to false, disables page output
tracing, and forces the custom error page to be shown to remote users rather
than the actual exception.
Model-View-Controller.
There are generally 3 build plans followed in the industry, they are:
1. Basic
2. Standard
3. Advanced
1. Pre-Build Activities
2. Build
3. Post-Build Activities
81) How will WCF communicate the Endpoint details with the
client?
Using WSDL.
System.ServiceModel.dll
System.Runtime.Serialization.dll
1. BasicHttpBinding
2. WSHttpBinding
3. WSDualHttpBinding
4. NetTcpBinding
5. NetNamedPipeBinding
6. NetMsmqBinding
[OperationContract]
[ServiceContract]
87) What is the Class or Interface for a WCF Contract?
System.ServiceModel.Binding
System.Uri
System.ServiceModel.ServiceEndpoint
1. Continuous Integration
2. Build Queuing
3. Scheduled Builds
8. Improved extensibility
$(PropertyName).
ABC
They are key/value pairs which are used to configure the build. They are
created by declaring a property element inside PropertyGroup element.
Items represent inputs to the build system and they will be added as
collections which are used as parameters for tasks. They are available inside
the ItemGroup element.
It is a build tool for Visual Studio. It will build the software in environments
where even visual studio is not installed.
It is used to develop a single application from many places around the world
at the same time.
No.
It is used on situations like maintenance or bug fixing, ie, you knew where
the break occured.
files.
2. MSF for CMMI Process Improvement version 4.0 (MSF CMMI for short).
It is used to track anything related to your team Project, like bugs and
tasks.
112) Name any two Managed API Assemblies of Team Build 2008.
1. Microsoft.TeamFoundation.Build.Client.dll
2. Microsoft.TeamFoundation.VersionControl.Client.dll
113) What is the purpose of the Managed API in Team Build 2008?
Yes.
116) What is a Build Retention Policy?
It is a policy using which you can decide how many build results Team Build
can keep.
118) Does TFS store all the configuration data in TFSBuild.proj file
itself?
119) How can i copy the files in the debug folder to some other
directory automatically?
Add the following line of code to the Post build event in the project
properties,
121) What is the name of the file you need to change to add pre- and
post-build functionality into your custom package?
Targets file.
It is located in ,
%WINDOWS
%\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets
MS Build.
1. Server-side AJAX
2. Client-side AJAX
135) Can you configure a .NET Remoting object via XML file?
Yes.
Response.Write(totalEmployees.Text);