PrepAway - Latest Free Exam Questions & Answers

You need to design the application to meet the requirements

You are developing an ASP.NET MVC application that provides instant messaging capabilities to
customers.
You have the following requirements:
Messages must be able to be sent and received simultaneously.
Latency and unnecessary header data must be eliminated.
The application must comply with HTML5 standards.
You need to design the application to meet the requirements.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Configure polling from the browser.

B.
Implement long‐running HTTP requests.

C.
Implement WebSockets protocol on the client and the server.

D.
Instantiate a MessageChannel object on the client.

11 Comments on “You need to design the application to meet the requirements

  1. Jason Wilson says:

    I’m not sure, but I think a MessageChannel could be used for peer to peer communication while web sockets would be used in client server. The question doesn’t explicitly mention the architecture




    0



    0
  2. Test says:

    C.

    MessageChannel for:
    Channel messaging is particularly useful for communication across multiple origins. Consider the following scenario. We have a document at http://socialsite.example containing content from http://games.example embedded in one iframe, and content from http://addressbook.example in another.

    Now let’s say that we want to send a message from our address book site to our games site. We could use the social site as a proxy. That, however, means the address book gains the same level of trust as the social site. Our social site either has to trust every request, or filter them for us.

    With channel messaging, however, http://addressbook.example and http://games.example can communicate directly.




    0



    0

Leave a Reply