What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003.
The development and deployment of Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You are currently developing a Microsoft.NET Remoting component that will be used to accept connections over a binary inter-process communication (IPC) channel. You make use of a configuration file to configure the remote host application for .NET Remoting. The component works as expected when you test the component from a client application after you have done the configuration. You then implement an event to notify client implications about any changes to the state of the component. The delegate that declares the event specifies an EventArgs-derived class named StateChangeEventArgs as its second parameter. This now results in a SecurityException instance being invoked when a client application attempts to attach a delegate to the event. This SecurityException instance is thrown with the following message:
Type System.DelegateSerializationHolder and the types derived from it (such as SystemDelegateSerializationHolder) are not permitted to be serialized at this security level.
You need to prevent this exception from being thrown.
What should you do?
What should you do?
You are creating a Windows application by using the .NET Framework 3.5.
The application will be used for telephone directory management.
The application has the following specifications:
It stores data in a Microsoft SQL Server 2008 database instance.
It uses the LINQ to SQL model.
It stores the photograph of each directory member in the Picture column of the DirectoryEntry table.
It displays the directory information in a DataGridView control.
It supports expansion of rows of the DataGridView control to display the complete photograph of the
directory member.
The application is frequently used across remote or slow database connections.
You need to implement the lazy load technique to load the photographs from the database. You also need
to ensure that the implementation has minimum effect on the database connection.
What should you do?
Which method should you use?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You are deploying the application on your company network. The deployment must meet the following requirements:
– Supports post-installation rollback.
– Supports deployment through Active Directory Group Policy.
– Ensures that the application is added to the Start menu.
You need to identify a deployment method that meets the requirements by using the minimum amount of administrative effort.
Which method should you use?
Which data storage mechanism should you use?
You are creating a Windows application by using the .NET Framework 3.5. The application will retrieve and save data that is located on the network. The application will be deployed to client computers that retrieve and save data from a shared location. You need to ensure reliable storage of data. Which data storage mechanism should you use?
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003.
The development and deployment of Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You have just completed developing a Microsoft.NET Remoting component that will be used by applications within Domain.com. Microsoft Internet Information Services (IIS) 6.0 will be hosting the component. You need to specify a channel and formatter to use so that successful communication can take place between the applications and the remote component.
What should you do?
What should you do?
You are creating a Windows application by using the .NET Framework 3.5.
The application is used to manage employee information.
The application meets the following specifications:
A main form named EmployeeList contains a list control that displays a list of all employees.
The menu items help simultaneously display various detail forms for each employee selected from the list
control.
Each detail form for a selected employee contains a different set of information about the employee.
You need to ensure that when a user switches from one employee to another, the open detail forms are
updated to the corresponding employee information.
What should you do?
What should you do?
You are designing a component for a Windows Forms application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The component will process a long-running business transaction. You plan to provide the status of completion of the transaction to the users.
You need to ensure that the application displays a progress bar that reports the percentage of completion of the transaction.
You need to achieve this goal without using the polling method.
What should you do?
What should you do?
You are creating a Windows application by using the .NET Framework 3.5. The application creates lookup fields by using data from a database within the corporate network. You use the DataAdapter object to retrieve data as a DataSet from the database. You need to reduce the network bandwidth that is used by the application. What should you do?
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003.
The development and deployment of Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You have just completed developing and deploying a Microsoft.NET Remoting component to a server computer. Microsoft Internet Information Services (IIS) 6.0 is hosting the component. The component runs in an application pool that is configured with the default identity. You received instruction to debug the remote component. You want to do so from your development computer.
What should you do?
What should you do?
You are creating a Windows application to manage customer relationships by using the .NET Framework 3.5.
Users of the application access a form named FrmMain to view a list of contacts. When the user
double-clicks the contact, the item details for the contact can be viewed on another form named FrmDetails.
You need to ensure that the application meets the following requirements:
A user can compare the details of multiple customers simultaneously.
A user can rearrange all the open instances of the FrmDetails forms as a cascade or a tile in the FrmMain form.
What should you do?