應用方式 |
文件名稱 |
描述 |
|
Default.aspx |
首頁導航,列出四個 Demo 頁面的鏈接 |
Atlas |
AtlasDemo.aspx |
使用 Atlas 實現 Product 的 CRUD 功能,通過 UpdatePanel 完成無刷新操作。 |
|
|
|
AjaxPro |
AjaxProDemo.aspx |
使用 Ajax.NET Pro 實現 Product 的 CRUD 功能,編輯、刪除操作返回 true/false 的結果,通過 .NET DataGrid 控件實現頁面數據列表的呈現( HTML )。 |
|
| |
|
AjaxProDemoSecond.aspx |
使用 Ajax.NET Pro 實現 Product 的 CRUD 功能,編輯、刪除操作返回所有的 Product 列表,通過 .NET DataGrid 控件實現頁面數據列表的呈現( HTML )。 |
|
| |
Prototype |
PrototypeDemo.aspx |
使用 Prototype 實現 Product 的 CRUD 功能,編輯、刪除操作返回所有的 Product 列表, Client 和 Server 的數據以 JSON 格式傳輸。 |
|
| |
|
| |
|
Product.cs |
Product 實體類 |
請求 URL |
數據流量 |
說明 |
Prototype | ||
PrototypeServerResponse.aspx
?action=listProduct |
Request Count: 1
Bytes Sent: 380
Bytes Received: 2,150 |
獲取 Product 列表,以 JSON 的格式返回,客戶端使用 Javascript 腳本處理呈現。 |
Ajax.NET Pro ( Second ) | ||
ajaxpro/AjaxProDemoSecond,
App_Web_qgwv3twq.ashx |
Request Count: 1
Bytes Sent: 493
Bytes Received: 1,392 |
獲取 Product 列表,以 HTML 的格式返回,客戶端直接呈現。 |
Atlas | ||
AtlasDemo.aspx |
Request Count: 1
Bytes Sent: 827
Bytes Received: 6,391 |
獲取 Product 列表, Server 完成 DataGrid 數據源綁定呈現。 |
請求 |
數據流量 |
說明 |
Prototype | ||
PrototypeServerResponse.aspx
?action=deleteProductproductId=1 |
Request Count: 1
Bytes Sent: 446
Bytes Received: 1,891 |
傳送 ProductId ,完成刪除操作,并獲取 Product 列表到 Client 端呈現。 |
Ajax.NET Pro ( Second ) | ||
ajaxpro/AjaxProDemoSecond,
App_Web_qgwv3twq.ashx |
Request Count: 1
Bytes Sent: 504
Bytes Received: 1,300 |
調用遠程 RPC 接口,完成刪除操作,并獲取 Product 列表的 HTML 在 Client 端呈現。 |
Atlas | ||
AtlasDemo.aspx |
Request Count: 1
Bytes Sent: 2,287
Bytes Received: 5,913 |
觸發 Server 端的 Action 事件,完成刪除操作,需要 Postback 整個頁面。 |
請求 |
數據流量 |
說明 |
Prototype | ||
PrototypeServerResponse.aspx
?action=getProductproductId=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 整個頁面。 |
請求 |
數據流量 |
說明 |
Prototype | ||
PrototypeServerResponse.aspx
?action=updateProductproductId=8
productName=Sonymanufacturer=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 整個頁面。 |
請求 |
數據流量 |
說明 |
Prototype | ||
PrototypeServerResponse.aspx
?action=addProductproductName=Sony
manufacturer=China |
Request Count: 1
Bytes Sent: 467
Bytes Received: 2,050 |
傳送 ProductName 等參數,完成增加操作,并獲取 JSON 格式的 Product 列表。 |
Ajax.NET Pro | ||
ajaxpro/AjaxProDemoSecond,
App_Web_qgwv3twq.ashx |
Request Count: 1
Bytes Sent: 529
Bytes Received: 1,364 |
調用遠程 RPC 接口,完成增加操作,并獲取 HTML 格式的 Product 列表。 |
Atlas | ||
AtlasDemo.aspx |
Request Count: 1
Bytes Sent: 2,249
Bytes Received: 6,533 |
觸發 Server 端的 Action 事件,完成增加操作,需要 Postback 整個頁面。 |