You are required to add the application’s base directory as part of your search and need to configure an
You work as the application developer at Domain.com.
Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 application that will be used for
geographical mapping. Whenever you load a plug-in you create a separate application domain.
You want to specify a list of directories that are searched for private assemblies.
You are required to add the application’s base directory as part of your search and need to configure an application domain to meet the requirements.
What should you do?
You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 graphical analysis application.
You are about to save a graphical object from the application which is a collection of x and y points, each represented by using a single precision floating point number.
You are required to keep the disk space usage to a minimum by the saved object.
What should you do?
Choose the code segment which you should use to accomplish this task.
You work as the application developer at Domain.com.
You are working on a new application named Certkiller App05. Certkiller App05 is configured to dynamically load assemblies from the application directory.
You must define the code segment that will dynamically load an assembly named Certkiller Ass25.dll into the current application domain.
Choose the code segment which you should use to accomplish this task.
What should you do?
You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 data analysis application.
You have no information about the inherent structure of a file when it is supplied to the program for reading data.
You are required to read the contents of the file byte-by-byte and make use of a custom algorithm to find its format whilst selecting a class
that allows you to read the files contents byte-by-byte.
What should you do?
What should you do?
You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 financial application and are busy developing a module that backs up the critical data on a separate hard drive.
You are required to decide which properties of the DriveInfo class to use and find the type of file system like FAT or NTFS and the drive free space and
the user disk quota should be ignored by the application.
What should you do?
Choose the XML block that shows which content will be written to the C:Meeting.xml file?
You work as the application developer at Domain.com.
You are working on a component which serializes the Meeting class instances.
The definition of the Meeting class is as follows:
public class Meeting {
private string title;
public int roomNumber;
public string[] invitees;
public Interview(){
}
public Interview (string t){
title = t;
} }
You configure the following procedure for your component:
Meeting myMeeting = new Meeting(“Objectives”);
myMeeting.roomNumber=20;
string[] attendees = new string[2]{“Amy”, “Ally”};
myMeeting.invitees = attendees;
XmlSerializer xs = new XmlSerializer(typeof(Meeting));
StreamWriter writer = new StreamWriter(@”C:Meeting.xml”);
xs.Serialize(writer, myMeeting);
writer.Close();
You want to find out which XML block will be written to the C:Meeting.xml file when the procedure is executed.
Choose the XML block that shows which content will be written to the
C:Meeting.xml file?
What should you do?
You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 geographical information system for the company and create a class named Certkiller Code.
You are required to serialize all public and non-public data of the Certkiller Code class whilst you ensure that you produce the smallest byte stream
so that the smallest load is placed upon network resources.
What should you do?
What should you do?
Domain.com uses an application named Application1 that was compiled by using the .NET Framework version 1.0.
The application currently runs on a shared computer on which the .NET Framework versions 1.0 and 1.1 are installed.
You need to move the application to a new computer on which the .NET Framework versions 1.1 and 2.0 are installed.
The application is compatible with the .NET Framework 1.1, but it is incompatible with the .NET Framework 2.0.
You need to ensure that the application will use the .NET Framework version 1.1 on the new computer.
What should you do?
What should you do?
You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 remoting application. Your computer system relies on run-time type validation.
You are required to deserialize a remote stream by using the BinaryFormatter class in your application whilst you configure the BinaryFormatter object
to protect against any deserialization attacks by deserializing only certain types associated with only the most basic remoting functionality.
What should you do?
What event should you use?
You work as an application developer at Domain.com. You have just completed
the creation of an application that receives order data from Domain.com’s partner company in XML format.
The XML has to be utilized to create an Order object that is consumed by the new application.
The following exhibit displays an example of Domain.com’s partner company’s XML data:
Come to front door and ring door bell.
No other options.
536 Certkiller Lane
Miami
FL
70536
2006-07-12T00:00:00-04:00
Lounge Suite
1
200.00
Plasma Television
2
26.999.00
You plan to use the XmlSerializer class to deserialize the XML data into an Order object.
When you learn that Domain.com’s partner company’s XML also contains Shipping object data, you decide to deserialize the shipping object after the Shipping element is detected during deserialization.
To achieve this, you need to use a certain event of the XmlSerializer class.
What event should you use?