What should you do?
You have a Visual Studio Team Foundation Server 2010 environment. You use Visual Studio Team Explorer 2010 to work with a team project that is based on the MSF for CMMI Process Improvement v5.0 process template. You need to require that users associate every changeset with at least one work item during the check-in process.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList.
You need to ensure that changes to ProductList are automatically reflected in the ListBox control.
What should you do?
What should you do?
You have a Visual Studio Team Foundation Server 2010 environment. You have a team project that was created by using the MSF for CMMI Process Improvement v5.0 process template. You need to ensure that developers are required to enter the name of the project manager when checking in changesets.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList.
The number of items of the data-bound collection is fixed. However, users can modify the properties of each of the Product objects in the collection.
You need to ensure that changes made on the Product objects are automatically reflected in the ListBox control.
What should you do?
What should you do next?
You have a Visual Studio Team Foundation Server 2010 environment. Your company develops a custom code analysis rule set for use in a team project. You need to ensure that the team project is utilizing the custom code analysis rule set. You add the Code Analysis check-in policy to the team project.
What should you do next?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment.
<Window x:Class=”MyProject.MainWindow” xmlns:local=”clr-namespace:MyProject”>
<Window.Resources>
<local:AverageConverter x:Key=”avgConverter” />
</Window.Resources>
<StackPanel Orientation=”Vertical”>
<Slider x:Name=”sld01″ Minimum=”0″ Maximum=”100″ />
<Slider x:Name=”sld02″ Minimum=”0″ Maximum=”50″ />
<Slider x:Name=”sld03″ Minimum=”0″ Maximum=”50″ />
<TextBlock> <TextBlock.Text>
<MultiBinding Converter=”{StaticResource avgConverter}”>
<Binding ElementName=”sld01″ Path=”Value” />
<Binding ElementName=”sld02″ Path=”Value” />
<Binding ElementName=”sld03″ Path=”Value” />
</MultiBinding> </TextBlock.Text>
</TextBlock>
</StackPanel>
</Window>
You need to implement the MyProject.AverageConverter class.
What should you do?
What should you do?
Your company has a main office and a branch office. A Visual Studio Team Foundation Server 2010 environment is deployed in the main office. A Team Foundation Server 2010 Proxy server is deployed in the branch office and configured to connect to Team Foundation Server. The proxy server has a 100 GB hard drive partition that can be resized. You need to configure the proxy server to use no more than 90% of the available hard drive partition space.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment.
<Window x:Class=”MyProject.MainWindow” xmlns:local=”clr-namespace:MyProject”>
<Window.Resources>
<local:MyConverter x:Key=”myConverter” />
</Window.Resources>
<ListBox Name=”box”>
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text=”{Binding Converter={StaticResource myConverter}, ConverterParameter=formatText}”
Background=”{Binding Converter={StaticResource myConverter},
ConverterParameter=formatColor}” IsEnabled=”{Binding Converter={StaticResource myConverter}}” />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox> </Window>
You need to implement the MyProject.MyConverter class.
What should you do?
What should you do?
Your company has a main office and a branch office. Multiple Visual Studio Team Foundation Server 2010 environments are deployed in the main office. A Team Foundation Server 2010 Proxy server is deployed in the branch office.
You need to configure the proxy server to cache version control files for all current and future team project collections from each environment.
What should you do?
Which binding expression should you use?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment.
<TextBox Text=”{Binding Path=StringMember}” />
You need to ensure that the StringMember property of the data-bound object is updated immediately when the user types the TextBox control.
Which binding expression should you use?