.NET2.0环境下的Ajax选型和应用(提供Demo源码下载)

2019-09-14 07:21:43于海丽
获取 Product Info :
请求 数据流量 说明
Prototype
PrototypeServerResponse.aspx ?action=getProduct&productId=8 Request Count:      1 Bytes Sent:     443 Bytes Received: 403 传送 ProductId ,获取 JSON 格式的 Product 信息, Client 端完成解析并呈现。
Ajax.NET Pro ( Second )
ajaxpro/AjaxProDemoSecond, App_Web_qgwv3twq.ashx Request Count:      1 Bytes Sent:     506 Bytes Received: 284 调用 RPC 接口,获取 Text 格式的 Product 信息, Client 端完成解析并呈现。
Altas
AtlasDemo.aspx Request Count:      1 Bytes Sent:     2,185 Bytes Received: 6,275 触发 Server 端的 Action 事件,获取 Product 信息,需要 Postback 整个页面。
编辑 Product :
请求 数据流量 说明
Prototype
PrototypeServerResponse.aspx ?action=updateProduct&productId=8 &productName=Sony&manufacturer=China Request Count:      1 Bytes Sent:     482 Bytes Received: 1,877 传送 ProductId 等参数,完成保存操作,并获取 Product 列表。
Ajax.NET Pro ( Second )
ajaxpro/AjaxProDemoSecond, App_Web_qgwv3twq.ashx Request Count:      1 Bytes Sent:     549 Bytes Received: 1,284 调用远程 PPC 接口,完成保存操作,并获取 HTML 格式的 Product 列表。
Atlas
AtlasDemo.aspx Request Count:      1 Bytes Sent:     2,218 Bytes Received: 5,913 触发 Server 端的 Action 事件,完成保存操作,需要 Postback 整个页面。
增加 Product :
请求 数据流量 说明