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 Windows application that provides a user interface similar to Microsoft Excel and allows users to manage their expenses.
You recently wrote a wrapper around the expense management application which performs security checks.
If the users have the sufficient rights the wrapper application launches the expense management application, if no sufficient rights the application should be forced to close.
You must decide which method of the Process class to use.
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 application that will be used for publishing its own custom performance counter.
You additionally require the value of a performance counter to increase by 5 and must minimize the amount of code needed to write.
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 Windows application named TestAnalyzer.exe that will be used to monitor the Application event log of the local computer to find if any new events are generated by another application named BillNotify.exe which runs on the local computer named Certkiller -WS11.
Whenever a new event log entry is recorded the application must invoke the applicationLog_EntryWritten method in response.
You write the code below for the notification of new event log entries:
Dim applicationLog As EventLog = New EventLog(“Application”, “.”)
AddHandler applicationLog.EntryWritten,
AddressOf
applicationLog_EntryWritten
When you test the application you discover that there are no notifications generated. You are required to ensure that you are notified of a new event log entries.
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 application for Domain.com.
You complete the application but as soon as Domain.com users attempt to log on to the application the application fails.
You need to have an entry written to the Windows event log. When you look at the event log viewer you want the source of the events to be listed as TestApp.
You are required to create an event source that can be used to write entries to the event log.
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 with the name of your class BillType and the name of the assembly TestAssembly which will be accessed using the Transmission Control Protocol (TCP) at port 1234.
You are required to expose BillType as a server-activated object for remote access whilst you must use a configuration file to register the remote object.
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 Windows service application that has three distinct Windows services. You create a custom installation class named
BillAppInstaller which derives from the Installer class.
Within the class you decide to customize installation for each Windows service by using the ServiceInstaller objects and add them to the installer collection below:
Installers.Add(serviceInstaller1)
Installers.Add(serviceInstaller2)
Installers.Add(serviceInstaller3)
You later compile the class and store in a file named BillAppInstaller.dll. You are required to programmatically access and install the Windows services in the BillAppInstaller.dll file.
What should you do?
What should you do to load the assembly from its current location by .Net Framework?
C: The path here is incorrect since you only need point to the Test20 path in the scenario. 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 and are busy developing the shared assembly called BillSharedObjects which resides in a file
named BillSharedObjects.dll, upon compiling you store the assembly in the C:BillSharedObjectsDebug directory.
You do not want the assembly to be repeatedly installed in the global assembly cache while you develop and debug.
You want the application to load the assembly from its current location by .Net Framework when testing whilst any changes made to the system not affect
any other applications that are deployed or will be deployed.
What should you do? (Choose two)
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 use a Windwos XP Professional client computer named Certkiller -WS554 as your development computer.
You are developing a .NET Framework 2.0 application on Certkiller -WS554. The application will allow Domain.com users to send e-mails.
The Domain.com users must be able to send e-mail containing information like budget documents and images.
You decide to use the .NET Framework 2.0 Attachment class to create the e-mail attachments within your application.
You are required to specify the content in an attachment by using the attachment class constructors.
What should you do? (Choose two)
What should you do to modify the application configuration file to target the .NET Framework 1.1 runtime?
You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are in the process of maintaining a .NET Framework 1.0 Windows application and need to configure the application to run using the .NET Framework 1.1.
The network computers of Domain.com all have three versions of .NET Framework (version 1.0, 1.1, and 2.0 installed side-by-side.
You are required to modify the application configuration file to target the .NET Framework 1.1 runtime.
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 Web application and are busy creating a Configuration object in your application that inherits
settings from the applications’ web.config file and machine.config file.
You modify several of the Configuration objects settings and want to save the Configuration object to a file named testconf.config.
You require only the values that differ from the inherited values to be written to the configuration file.
What should you do? (Choose two)