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 Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com. You are currently generating a proxy making use of Microsoft Visual Studio 2005 for a Web Services Enhancements (WSE) 3.0-enabled Extensible Markup Language (XML) Web Service in a client application. Unfortunately you did not have the WSE framework installed on your computer at that stage. You thus need to add the custom code to the proxy. At present your application references the following assemblies:
1. System
2. System Configuration
3. System Data System Deployment
4. System Drawing
5. System Web Services
6. System Windows Forms
7. SystemXml
At this stage you install the WSE 3.0 framework on your computer, and in addition you also added the reference to the required WSE 3.0 assemblies to your application. Now you need to make changes to your project to enable you to dynamically apply WSE 3.0 policies to all outgoing SOAP requests. You must ensure that you do not remove any of the custom code that has already been written.
What should you do?
Which two actions should you perform?
You create a Web Form. The Web Form calls a method as part of its processing. The method takes a long time to process. In addition, the other Web Forms in the ASP.NET Web site are now taking longer to process. You need to decrease the page response times by executing the long running method in parallel to other requests. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which code segment should you use?
You are an enterprise application developer. You are working on a component in an application that provides a business workflow solution. The component will be used as a workflow to manage purchase requisitions. You discover that a WebException is raised when you use the GetApprover private method to invoke a method of a Web Service. You need identify a code that allows the component to invoke the following methods: The GetDefaultApprover method if a WebException is raisedThe ReportError method if any other exception is raisedThe GoToNextStep method if no exception is raised Which code segment 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 client applications forms part of your responsibilities at Domain.com. You are busy developing a client application that will access a Microsoft.NET Remoting messenger application. The messenger application will allow messages to be sent between client applications. A remote class named RemoteMessenger exposes a remote event named MessageReceived. This event will be raised in the event of a client application calling the SendMessage method of the RemoteMessenger class.
A client event sink class named MessengerEventSink handles the remote MessageReceived event in an event handler named OnMessageReceived. In the OnMessage Received handler, the MessengerEventSink class raises its own MessageReceived event.
You are required to allow the client application to be notified as well as log messages when messages are sent through the messenger application. You should take care to not modify the RemoteMessenger class or the MessengerEventSink class.
What should you do?
What should you do?
Your Web site uses custom Themes. Your Web site must support additional Themes based on the user’s company name. The company name is set when a user logs on to the Web site. The company’s Theme name is stored in a variable named ThemeName. You need to use this variable to dynamically set the Web site’s Theme. What should you do?
What should you do?
You are an enterprise application developer. You are reviewing the design of a component. The component is used to communicate with a legacy system. The component must meet the following requirements: It must handle high-latency network communications.It must accept synchronous calls from Windows and Web-based applications developed by using .NET Framework 2.0 in the local network.It must use asynchronous communications. You need to implement the design of the 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 are busy developing a Microsoft.NET Remoting component that will allow messages to be sent between client applications. To this end you are creating an event named MessageReceived. Message Received is configured to accept two parameters:
1. An Object instance that represents the object that raised the event.
2. A MessageReceivedEventArgs instance that will contain the data about the message that was sent.
You need to enable the client applications to receive details about a message that was sent. You thus need to code the MessageReceivedEventArgs class accordingly.
What should you do?
Which two code segments should you use?
You create a Web application for your company’s intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time. Which two code segments should you use? (Each correct answer presents part of the solution. Choose two.)
Which two actions should you perform?
You are an enterprise application developer. You create a Web site that delivers multimedia content to subscribers. The Web site uses Message Transmission Optimization Mechanism (MTOM) to send and receive large files as attachments by using a Web service. You discover that you are unable to send and receive files that are greater than 10 MB in size. You need to ensure that the Web service can send or receive files of a large size with minimum overhead. Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)
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?