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 client applications forms part of your responsibilities at Domain.com. You are busy developing a Microsoft Windows Form application that will access a Microsoft.NET Remoting component. In the event of a user clicking the Print button on a form, the application must call a remote method asynchronously to print a batch of invoices. The application you are developing must allow users the ability to perform other tasks while the invoices are being printed. Once all of the invoices have been printed, the application must interrupt the user by displaying a message box, notifying the user of the status of the invoice printing.
You thus need to implement the functionality to meet all these requirements.
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 the development of a Microsoft.NET Remoting component. You now need to call a remote method asynchronously and obtain an IAsyncResult instance as a result. You thus need to perform additional processing while the asynchronous operation is taking place.
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 implementation of asynchronous calls and remoting events form part of your responsibilities at Domain.com. You have created a Microsoft.NET Remoting component that will import data into a database. The Microsot.NET Remoting component seems to work but you had complaints regarding sluggish client-side performance. To this end you need to apply the OneWay attribute to methods in the component so as to improve the client-side performance.
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 of client applications forms part of your responsibilities at Domain.com. You are currently developing a client application that will use Microsoft.NET Remoting to access functionality implemented by a remote component. This remote component is exposed through the HyperText Transfer Protocol (HTTP) channel. Furthermore the remote component will make use of the default formatter to serialize and deserialize data. You now need to configure the client application in such a way so as to enable it to serialize data in a form that is expected by the remote component. You may not use custom channels and formatters.
What should you do? (Choose the correct configuration.)
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 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 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 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 allow all Domain.com employees to send messages and receive messages to each other. To this end you implement the message functionality in an assembly named Messenger.dll. Messenger.dll contains the remotable types. You further implement a host application to host the remotable types and a client application that will provide the user interface. The Messenger.dll assembly must be private to the application and thus you use both client and server configuration files to configure .NET Remoting. Keep in mind that you are not using any custom .NET Remoting extensions, i.e. custom formatters or custom channels. You thus need to configure the application so that you can use strongly-typed instances of the remotable types in the client 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 are currently developing a Microsoft.NET Remoting component that will be accessed over the Domain.com local area network (LAN). To this end you create a console application named RemoteHost.exe to serve remote calls to the component. You added Remoting configuration settings in the app.config file of the console application’s project. Now you need to configure the host application to use those configuration settings that has been added in the app.config file.
What should you do? (Choose the appropriate code segment.)
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 of applications forms part of your responsibilities at Domain.com. You are currently developing an application that monitors a network for changes. The application itself consists of a Microsoft ASP.NET Web application and a Microsoft .NET Remoting server component. Both of these exist on the same server but run in different processes. Policies and rules for monitoring the network are stored in a Microsoft SQL Server 2005 database. The server component contains a class named Monitor. This class contains a method named GetChanges that returns a DataSet instance. Changes to the network are represented by DataSet. When initiated the Monitor class will retrieve all policies and rules from the database. You need to code the host application for the remote component to register the Monitor class for .NET Remoting. However, you do not want the remote component to query the database each time the GetChanges method is called. This means that you should configure a certain code segment.
What should you do?