Wednesday, September 30, 2009

What is Virtualization?


Virtualization is a technique which provides a completely virtualized infrastructure for your enterprise, from data center to desktop.


www.codecollege.NET

Tuesday, September 29, 2009

Monday, September 28, 2009

What does Hotfix mean in TFS ?


It is a customer blocking bug(a show stopper or ship stopper).


www.codecollege.NET

What does Release Vehicle mean in TFS ?


This says how your product reaches your customer (Ex: Hotfix, Release, etc).


www.codecollege.NET

What does Reverse Integration mean in TFS ?


It is an integration which happens from the child to the parent.


www.codecollege.NET

What does Forward Integration mean in TFS ?


It is an integration which happens from the parent to the child.


www.codecollege.NET

What is an Build Agent in TFS?


It is a dedicated machine on which the build happens. It needs to have Build service installed in it.


www.codecollege.NET

What are different TFS Editions ?


1. Architecture
2. Database
3. Development
4. Test


www.codecollege.NET

How will you specify the Build Order for projects in TFS?


Right-click in the project , Select “Project Build Order”. There you can specify the order in which your projects need to be built.


www.codecollege.NET

What is the use of ConnectionConsumer attribute in asp.net?


It says that it is a receiver and it receives the message from the provider.


www.codecollege.NET

How to suppress code violations in FxCop?


You can suppress code violations in FxCop by providing using the attribute
System.Diagnostics.CodeAnalysis.SuppressMessage


www.codecollege.NET

What is the use of CompilerGenerateAttribute in FxCop?


If this attribute is given to your code then FxCop will not raise warnings. Generally it is used to give for
compiler generated code.


www.codecollege.NET

Sunday, September 27, 2009

What is shelving in TFS?


Shelving is a way through which you save your code to TFS without checking in. If you want you can unshelve it whenever you want. Generally it is used for reviewing purpose


www.codecollege.NET

Friday, September 25, 2009

What is the Svcutil.exe ?


Service Model Metadata Utility Tool is used to generate the proxy from the client.


www.codecollege.NET

Explain what is a DTO?


A DTO is a pattern used to transfer data between applications.


www.codecollege.NET

Thursday, September 24, 2009

What are the deployment methods available for Asp.net?


1. XCOPY
2. Copy Website
3. Publish Website
4. ClickOnce
5. Setup Package


www.codecollege.NET

What will the deployment retail="true" do when set in a asp.net web.config file?


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.


www.codecollege.NET

Wednesday, September 23, 2009

What is a Unity Application Block ?


The Unity Application Block (Unity) is a lightweight, extensible dependency injection container that supports constructor injection, property injection, and method call injection.





www.codecollege.NET

What are the blocks in Enterprise Library?


1. The Caching Application Block

2. The Cryptography Application Block

3. The Data Access Application Block

4. The Exception Handling Application Block

5. The Logging Application Block

6. The Policy Injection Application Block

7. The Security Application Block

8. The Unity Application Block

9. The Validation Application Block



www.codecollege.NET

What does the term Instrumentation mean in a software industry?


It is the capacity to monitor and measure performance and to diagnose errors.


www.codecollege.NET

Tuesday, September 22, 2009

What is a callback function?


A callback is a function that is passed as an argument to another function and is executed after its parent
function has completed.


www.codecollege.NET

Saturday, September 19, 2009

What is a Build machine?


A Build machine is a computer which is dedicated for taking builds. It should have Build Service installed in it.


www.codecollege.NET

What are the types of Build Plans generally followed ?


There are generally 3 build plans followed in the industry, they are:
1. Basic
2. Standard
3. Advanced


www.codecollege.NET

What are the phases in the Build process?


There are 3 phases in the build process, they are:
1. Pre-Build Activities
2. Build
3. Post-Build Activities


www.codecollege.NET

Wednesday, September 16, 2009

Monday, September 14, 2009

What is REST?


Representational State Transfer .


www.codecollege.NET

What are CRUD operations ?


CRUD operations are (create, retrieve, update, and delete).


www.codecollege.NET

What is the use of svcutil.exe ?


It is a tool for generating client-side code from WSDL definitions in WCF.


www.codecollege.NET

What are the Predefined bindings in WCF?


1. BasicHttpBinding
2. WSHttpBinding
3. WSDualHttpBinding
4. NetTcpBinding
5. NetNamedPipeBinding
6. NetMsmqBinding


www.codecollege.NET

What is the Class or Interface for a WCF Contract?


Interfaces annotated with System.ServiceModel attributes


www.codecollege.NET

Sunday, September 13, 2009

How will you check whether automated build is successful and call a custom task on successful build?


You can do that by providing the following config entry in the MS Build or TFS Build config file,
<GetBuildProperties TeamFoundationServerUrl="$(TeamFoundationServerUrl)"
BuildUri="$(BuildUri)"
Condition=" '$(IsDesktopBuild)' != 'true' ">
<Output TaskParameter="CompilationSuccess" PropertyName="LocalCompilationSuccess" />
</GetBuildProperties>




<Exec Condition="'$(LocalCompilationSuccess)'=='true'" Command="do_the_voodoo"/>


www.codecollege.NET

Sunday, September 6, 2009

What are the new Features in Team Build 2008 ?


1. Continuous Integration
2. Build Queuing
3. Scheduled Builds
4. Build Agent Management
5. Build Definition Editing GUI
6. Better Build Management
7. Managed object model
8. Improved extensibility


www.codecollege.NET

Wednesday, September 2, 2009

How will you build using MS Build command line ?


MSBuild.exe TestProj.proj /property:Configuration=Debug


www.codecollege.NET

What are Tasks in MS Build?


Tasks are reusable units of executable code used by MSBuild projects to perform build operations. They are declared inside the Target element.


www.codecollege.NET

What are Properties in MS Build?


They are key/value pairs which are used to configure the build. They are created by declaring a
property element inside PropertyGroup element.


www.codecollege.NET

What is an ItemGroup in MS Build ?


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.


www.codecollege.NET

What is MS Build ?


It is a build tool for Visual Studio. It will build the software in environments where even visual studio is not installed.


www.codecollege.NET

What is Team Foundation Proxy Server ?


It is used to develope a single application from many places around the world at the same time.


www.codecollege.NET

When are Changeset Type branching used ?


It is used on situations like maintenace or bug fixing , ie., you knew where the break occured.


www.codecollege.NET

When are Latest Version Type branching used ?


It is used on situations like hotfix where you need the stable lastest version.


www.codecollege.NET

When are Workspace Type branching used ?


Workspaces are mapped from developer's machine to server , so this type will reflect local
files.


www.codecollege.NET

When are Label Type branching used ?


It is not time-based, instead used on such situations where branching needs to be done based on
a collection of files grouped by a user.This type of branching is for the needs of an individual
user.



www.codecollege.NET

What are the options available on creating a branch?


There are 5 options available on creating a branch, they are :
1. Changeset
2. Date
3. Label
4. Latest Version
5. Workspace version


www.codecollege.NET