PrepAway - Latest Free Exam Questions & Answers

Which two actions should you recommend?

You are designing a Windows Azure application.
The application includes processes that communicate by using Windows Communications Foundation (WCF)
services.
The WCF services must support streaming.
You need to recommend a host for the processes and a WCF binding.
Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Host the processes in web roles.

B.
Host the processes in worker roles.

C.
Use NetTcpBinding for the WCF services.

D.
Use WSHttpBinding for the WCF services.

3 Comments on “Which two actions should you recommend?

  1. jagudero says:

    The easiest way to use net.tcp:// port sharing in your Windows Communication Foundation (WCF) application is to expose a service using the NetTcpBinding.
    This binding provides a PortSharingEnabled property that controls whether net.tcp:// port sharing is enabled for the service being configured with this binding.

    The following procedure shows how to use the NetTcpBinding class to open an endpoint at the Uniform Resource Identifier (URI) net.tcp://localhost/MyService, first in code and then by using configuration elements

    Web role A web role is a web application programming custom role that is supported by Internet Information Services and ASP.NET. An advantage of using this role type is that you do not have to do the IIS configuration. This role is best used to provide a web-based front end to the hosted service. It is not suitable for long-running processes. For more information about Web roles, see Overview of the Web Role.

    Worker role A worker role is a role that is useful for general development and can perform background processes on a web role. If you need to perform background processes with long or periodic tasks, you should use this role. For more information about worker roles, see Developing a Background Service.




    4



    0

Leave a Reply