Explain how the asynchronous web method works

Assignment Help Computer Engineering
Reference no: EM131922594

Assignment: E-Portals Development

Question One

"A popular practice among Ajax developers is to batch/group multiple consecutive single calls into one large call for efficiency and effectiveness". Discuss this claim.

This practice is important to reduce the number of calls made to the server by combining multiple Ajax calls into one call to reduce costly network roundtrip. Browsers make at maximum two concurrent Ajax calls to a domain, because the browser will make first two calls and queue the remaining if there are more than two calls.The browser will wait other calls to complete, after then it will make another call until all queued calls are complete.

Question Two

In ASP.NET AJAX, list two reasons why we have to use HTTP GET calls instead of HTTP POST?

ASP.NET AJAX uses HTTP POST method for all web service calls that is expensive. Therefore, it uses HTTP GET to reduce costs.

In addition, the possibility of bookmarking considered as an advantage in HTTP GET that is not possible in HTTP POST method.

Question Three

On referring to figure 3.1 below, use your own words to explain how the asynchronous web method works.

957_How the asynchronous web method works.jpg
Figure 3.1. How the asynchronous web method works

1. There is a start "BeginXXX' and finish "EndXXX" web method where XXX represents the string with the name of the method we want to expose.

2. The function "BeginXXX" returns an IAsyncResult interface and takes an AsyncCallback and an object as its last two input parameters, in respective manner.

3. The function "EndXXX" takes an IAsyncResult interface as its lone parameter.

4. Both functions "BeginXXX" and "EndXXX" must be identified with the attribute "WebMethod".

Question Four

Running a large consumer web application for a mass audience is challenging task. The more users you have using your application, the more likely problems in application will arise. List two ways to Identify performance problems in web application.

We can identify performance problems by analyzing the patterns and determining how performance goes up and down during peak and nonpeaktimes. In addition, the log code has a role to narrow down difficulties and find the issue.

Reference no: EM131922594

Questions Cloud

Describe operating system support for mobile devices : Describe Operating System Support for Mobile Devices and Applications. Entertainment: ESPN, Netflix, and Youtube. Music: Pandora, Spotify, and Soundcloud,
Write a summary about the obesity in young adult : Search in Opposing Viewpoints and find three (3) articles that oppose your stance (point of view) on the topic you chose for your PER 201 Critical Thinking.
Explain how you would teach the vocabulary words : Select one function that would be appropriate for the teaching of your vocabulary words in this lesson.
Discuss the result of these transfers : William transfers a building and land worth $525,000 (basis of $200,000) for 50% of Orange's stock and $25,000 cash. Discuss the result of these transfers
Explain how the asynchronous web method works : Use your own words to explain how the asynchronous web method works. The function EndXXX takes an IAsyncResult interface as its lone parameter.
How many orders will it place in a year : ACT 5733 - Advanced Managerial Accounting Assignment - A firm expects to sell 10,000 units of its product annually. How many orders will it place in a year
Why would the case you selected present a dilemma : Why would the case you selected present a dilemma? What specific ethical codes apply to the case you selected? How would you go about handling the situation?
Why is fluoride added to water supplies of communities : Why is fluoride added to water supplies of communities? Why is fluoride important?What minerals support growth?
What would it be like to work with the client : You will write a conceptualization paper of a chosen movie character/case, this will be your "client." (To be explained further in class).

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd