自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

ASP.NET WebForm也可以這樣用Ajax

開發(fā) 后端
對(duì)于.net提供的ajax控件,暫且不說,只說另外兩種方式,都需要引入額外的代碼文件對(duì)Ajax進(jìn)行操作(asmx和ashx,且web服務(wù)還要引入一個(gè)cs文件與之對(duì)應(yīng)),假如要對(duì)Example.aspx這個(gè)頁面添加一些自定義的Ajax操作...

對(duì)于asp.net WebForm項(xiàng)目,進(jìn)行Ajax操作大概有三種方式:web服務(wù)(.asmx文件)  ,  一般處理程序(.ashx)和  一些Ajax控件。

對(duì)于.net提供的ajax控件,暫且不說,只說另外兩種方式,都需要引入額外的代碼文件對(duì)Ajax進(jìn)行操作(asmx和ashx,且web服務(wù)還要引入一個(gè)cs文件與之對(duì)應(yīng)),假如要對(duì)Example.aspx這個(gè)頁面添加一些自定義的Ajax操作,并且這些Ajax操作并不會(huì)在別的頁面上用到,如此不得不引入額外的代碼文件完成這個(gè)操作,假如這個(gè)Ajax操作很簡(jiǎn)單,只需要一個(gè)簡(jiǎn)單的函數(shù)就可以執(zhí)行,那豈不是很麻煩的過程嗎?如此一來,隨著項(xiàng)目中 Ajax操作的增多,ashx和asmx文件都會(huì)隨著時(shí)間的增長(zhǎng)而增長(zhǎng),項(xiàng)目的維護(hù)也會(huì)隨之加倍。為什么我們不能把Ajax操作的后臺(tái)代碼直接放在 Example.aspx對(duì)應(yīng)的Example.aspx.cs文件里 ? 如果能這樣做,以上兩種煩惱都會(huì)迎刃而解,不是嗎?

于是,按照以上思路,實(shí)現(xiàn)了如下Ajax框架。先來看這個(gè)框架的實(shí)現(xiàn)機(jī)制:

上圖是自己畫的一個(gè)縮減版IIS接收到一個(gè)aspx請(qǐng)求的HttpApplication管線和asp.net Page在執(zhí)行ProcessRequest()方法中的頁面生命周期的部分事件。Page本身是繼承自IHttpHandler接口,IHttpHandler提供了一個(gè)重要的約束方法ProcessRequest,該方法是對(duì)接收到的信息(HttpContext)進(jìn)行具體的處理同樣,一般處理程序和web服務(wù)也實(shí)現(xiàn)了自己的IHttpHandler,并以此提供一些Ajax服務(wù)。具體的操作過程請(qǐng)自行查找MSDN。

原理是在頁面生命周期開始的第一個(gè)事件PreInit進(jìn)行一些處理,一旦發(fā)現(xiàn)劫持到的請(qǐng)求是一個(gè)ajax請(qǐng)求,那么利用C#的反射來調(diào)用aspx.cs中定義的方法,執(zhí)行完方法之后,調(diào)用Response.End()方法,調(diào)用這個(gè)方法會(huì)直接跳到管線的EndRequest事件,從而結(jié)束請(qǐng)求,這樣就無需走一些沒有必要的頁面生命周期的步驟,從而完成一個(gè)Ajax操作。如果發(fā)現(xiàn)是一個(gè)正常的操作,那么就走正常流程。

下面以一個(gè)簡(jiǎn)單例子說明該Ajax框架的使用:

1. 添加一個(gè)解決方案

2. 新建一個(gè) Default.aspx 頁面

3. 在Default.aspx.cs頁面中創(chuàng)建一個(gè)被調(diào)用的測(cè)試方法:

  1. public List<string>  TestAjaxMethod(int a, string b, float c)  
  2.         {  
  3.                return new List<string> { a.ToString(), b, c.ToString() };  
  4.         } 

4.      在Default.aspx中寫一個(gè)Ajax請(qǐng)求

  1. PowerAjax.AsyncAjax(‘TestAjaxMethod’, [1, 2, "333","sss"], function (SucceessResponse) {  
  2.         // 成功后的代碼  
  3. }); 

PowerAjax.js是用Jquery專門為這個(gè)框架封裝的一個(gè)及其簡(jiǎn)單的JS類庫,這個(gè)類庫中有兩個(gè)主要的方法:PowerAjax.AsyncAjax和PowerAjax.SyncAjax,一個(gè)提供同步操作,一個(gè)提供異步操作,參數(shù)有三個(gè):

第一個(gè)參數(shù)是即將操作在aspx.cs的Ajax方法的名字(用名字反射方法)。

第二個(gè)參數(shù)是一個(gè)以數(shù)組形式組成參數(shù)列表數(shù)據(jù)。

第三個(gè)參數(shù)是操作成功之后執(zhí)行執(zhí)行的回調(diào)方法,與c#中的委托一個(gè)道理。

以下為這個(gè)簡(jiǎn)單JS庫的代碼:

  1. var PowerAjax = function () { }  
  2. PowerAjax.__Private = function () { }  
  3.    
  4. // 進(jìn)行異步操作  
  5. PowerAjax.AsyncAjax = function (methodName, paramArray, success) {  
  6.     PowerAjax.__Private.Ajax(methodName, paramArray, success, true);  
  7. }  
  8.    
  9. // 進(jìn)行的是同步操作  
  10. PowerAjax.SyncAjax = function (methodName, paramArray, success) {  
  11.     PowerAjax.__Private.Ajax(methodName, paramArray, success, false);  
  12. }  
  13.    
  14. PowerAjax.__Private.Ajax = function (methodName, paramArray, success, isAsync) {  
  15.     var data = {};  
  16.     switch (paramArray.length) {  
  17.         case 0:  
  18.             data = { 'isAjaxRequest'true'MethodName': methodName };  
  19.             break;  
  20.         case 1:  
  21.             data = { 'isAjaxRequest'true'MethodName': methodName, "param0": paramArray[0] };  
  22.             break;  
  23.         case 2:  
  24.             data = { 'isAjaxRequest'true'MethodName': methodName, "param0": paramArray[0], "param1": paramArray[1] };  
  25.             break;  
  26.         case 3:  
  27.             data = { 'isAjaxRequest'true'MethodName': methodName, "param0": paramArray[0], "param1": paramArray[1], "param2": paramArray[2] };  
  28.             break;  
  29.         case 4:  
  30.             data = { 'isAjaxRequest'true'MethodName': methodName, "param0": paramArray[0], "param1": paramArray[1], "param2": paramArray[2], "param3": paramArray[3] };  
  31.             break;  
  32.         case 5:  
  33.             data = { 'isAjaxRequest'true'MethodName': methodName, "param0": paramArray[0], "param1": paramArray[1], "param2": paramArray[2], "param3": paramArray[3], "param4": paramArray[4] };  
  34.             break;  
  35.     }  
  36.    
  37.     var url = document.location.href;  
  38.     $.ajax({  
  39.         type: "post",  
  40.         url: url,  
  41.         data: data,  
  42.         async: isAsync,  
  43.         datatype: "json",  
  44.         contentType: "application/x-www-form-urlencoded; charset=UTF-8",  
  45.         success: function (response) {  
  46.             success(response);  
  47.         },  
  48.         error: function (response) {  
  49.             if (response.status == 500) {  
  50.                 var errorMessage = response.responseText;  
  51.                 var errorTitle = errorMessage.substring(errorMessage.indexOf("<title>") + 7, errorMessage.indexOf("</title>"))  
  52.                 throw new Error("服務(wù)器內(nèi)部錯(cuò)誤:" + errorTitle);  
  53.             }  
  54.         }  
  55.     });  

5. 更改Default.aspx.cs的繼承頁面為AjaxBasePage              

  1. public partial class _Default : AjaxBasePage 

#p#

6. 主要基類:AjaxBasePage類

如下代碼:

  1. public class AjaxBasePage : System.Web.UI.Page  
  2. {  
  3.     /// <summary>  
  4.     /// 是否是一個(gè)ajax請(qǐng)求。  
  5.     /// </summary>  
  6.     public bool IsAjaxRequest { get; private set; }  
  7.  
  8.     /// <summary>  
  9.     ///  如果是Ajax請(qǐng)求,劫持頁面生命周期的PreInit的事件,直接返回Response  
  10.     /// </summary>  
  11.     protected override void OnPreInit(EventArgs e)  
  12.     {  
  13.         AjaxRequest ajaxRequest = AjaxRequest.GetInstance(Request.Form);  
  14.         this.IsAjaxRequest = ajaxRequest.IsAjaxRequest;  
  15.  
  16.         if (this.IsAjaxRequest)  
  17.         {  
  18.             AjaxApplication ajaxApplication = new AjaxApplication(this, ajaxRequest);  
  19.             ajaxApplication.EndRequest();  
  20.         }  
  21.         else 
  22.         {  
  23.             // 如果不是Ajax請(qǐng)求,繼續(xù)執(zhí)行頁面生命周期的剩余事件  
  24.             base.OnPreInit(e);  
  25.         }  
  26.     }  

該類重寫了PreInit方法,判斷請(qǐng)求是否是一個(gè)Ajax請(qǐng)求。通過AjaxRequest類接收并處理接收到的請(qǐng)求,提取出一些有效的數(shù)據(jù),比如說是否是一個(gè)Ajax請(qǐng)求,方法的名字,參數(shù)列表(AjaxParameter類)。

至于AjaxParameter類,內(nèi)部用的數(shù)據(jù)結(jié)構(gòu)其實(shí)是一個(gè)字典,并使用索引來提供對(duì)數(shù)據(jù)的方便訪問,提供一個(gè)Count屬性,方便獲取參數(shù)的個(gè)數(shù)。     如下代碼

  1. public class AjaxParameter  
  2.     {  
  3.         private IDictionary<int, string> m_DictionaryParamsData = new Dictionary<int, string>();  
  4.    
  5.         /// <summary>  
  6.         /// 返回參數(shù)的個(gè)數(shù)。  
  7.         /// </summary>  
  8.         public int Count  
  9.         {  
  10.             get  
  11.             {  
  12.                 return this.m_DictionaryParamsData.Count;  
  13.             }  
  14.         }  
  15.    
  16.         /// <summary>  
  17.         /// 索引具體參數(shù)的值。  
  18.         /// </summary>  
  19.         /// <param name="index"></param>  
  20.         /// <returns></returns>  
  21.         public string this[int index]  
  22.         {  
  23.             get  
  24.             {  
  25.                 if (index >= 5 || index < 0)  
  26.                 {  
  27.                     throw new NotSupportedException("請(qǐng)求方法的參數(shù)的個(gè)數(shù)限制為:0-5");  
  28.                 }  
  29.                 return this.m_DictionaryParamsData[index];  
  30.             }  
  31.         }  
  32.    
  33.         public AjaxParameter(IDictionary<int, string> paramsData)  
  34.         {  
  35.             this.m_DictionaryParamsData = paramsData;  
  36.         }  
  37.     } 

 AjaxRequest類的設(shè)計(jì)思路其實(shí)是模仿HttpContext設(shè)計(jì),HttpContext能夠從基礎(chǔ)的http請(qǐng)求報(bào)文分析出以后處理將要用到的數(shù)據(jù)(response,request,session,cookie等等)數(shù)據(jù),而AjaxRequest通過分析Ajax的Post請(qǐng)求的數(shù)據(jù)域 Data分析出各種以后會(huì)用到的數(shù)據(jù)。如下是該類的代碼:

  1. public class AjaxRequest  
  2.     {  
  3.         private Dictionary<int, string> m_DictionaryParamsData = new Dictionary<int, string>();  
  4.         private AjaxParameter m_AjaxParameter;  
  5.         private int m_Count = 0;  
  6.    
  7.         #region 屬性  
  8.         /// <summary>  
  9.         /// 是否是一個(gè)Ajax請(qǐng)求。  
  10.         /// </summary>  
  11.         public bool IsAjaxRequest { get; private set; }  
  12.    
  13.         /// <summary>  
  14.         /// 請(qǐng)求的方法名字。  
  15.         /// </summary>  
  16.         public string MethodName { get; private set; }  
  17.    
  18.         /// <summary>  
  19.         /// 參數(shù)數(shù)據(jù)。  
  20.         /// </summary>  
  21.         public AjaxParameter Parameters  
  22.         {  
  23.             get { return this.m_AjaxParameter; }  
  24.         }  
  25.         #endregion  
  26.    
  27.         #region 構(gòu)造函數(shù)  
  28.         private AjaxRequest(NameValueCollection nameValueCollection)  
  29.         {  
  30.             this.IsAjaxRequest = nameValueCollection["isAjaxRequest"] == "true";  
  31.             if (this.IsAjaxRequest)  
  32.             {  
  33.                 this.MethodName = nameValueCollection["MethodName"];  
  34.    
  35.                 foreach (string value in nameValueCollection)  
  36.                 {  
  37.                     string formKey = string.Format("param{0}"this.m_Count);  
  38.                     if (nameValueCollection[formKey] != null)  
  39.                     {  
  40.                         this.m_DictionaryParamsData.Add(this.m_Count, nameValueCollection[formKey]);  
  41.                         this.m_Count++;  
  42.                     }  
  43.                 }  
  44.                 m_AjaxParameter = new AjaxParameter(this.m_DictionaryParamsData);  
  45.             }  
  46.         }  
  47.    
  48.         #endregion  
  49.    
  50.         #region 實(shí)例方法  
  51.         public static AjaxRequest GetInstance(NameValueCollection nameValueCollection)  
  52.         {  
  53.             return new AjaxRequest(nameValueCollection);  
  54.         }  
  55.         #endregion  
  56.    
  57.         #region ToString  
  58.         public override string ToString()  
  59.         {  
  60.             return this.MethodName;  
  61.         }  
  62.         #endregion  
  63.     } 

通過分析AjaxRequest的屬性IsAjaxRequest可判斷是否為Ajax請(qǐng)求,若該請(qǐng)求為一個(gè)Ajax請(qǐng)求,那么創(chuàng)建一個(gè)AjaxApplication實(shí)例,在創(chuàng)建AjaxApplication實(shí)例的過程中會(huì)利用當(dāng)前頁面和AjaxRequest提供的數(shù)據(jù)進(jìn)行實(shí)際方法的調(diào)用(反射),該類是執(zhí)行Ajax方法的核心類,其中會(huì)判斷是否讀取的到的方法是一個(gè)有效的方法,并判斷從JS中AjaxApplication傳入的參數(shù)類型的有效性,目前只提供對(duì)以下13中參數(shù)提供支持,如下:

  1. (String、Boolean、Int32、Int64、UInt32、UInt64、Single、Double、Decimal、DateTime、DateTimeOffset、TimeSpan、Guid) 

如果方法中出現(xiàn)非以上類型,將會(huì)拋出異常。為了方便Ajax的調(diào)試,在JS前段類庫中我會(huì)對(duì)異常進(jìn)行處理,并拋出Error,Error信息有效的截取了繼承自Exception的拋出信息,至于如何獲    得更加詳細(xì)的JS調(diào)試信息,以后JS庫中可能會(huì)做提供更加詳細(xì)的調(diào)用信息,畢竟框架是在改進(jìn)中進(jìn)行的。如下是AjaxApplication類的具體代碼:

  1. public class AjaxApplication  
  2.     {  
  3.         private AjaxBasePage m_AjaxBasePage;  
  4.         private object m_ResponseData;  
  5.    
  6.         public AjaxApplication(AjaxBasePage ajaxBasePage, AjaxRequest ajaxRequest)  
  7.         {  
  8.             this.m_AjaxBasePage = ajaxBasePage;  
  9.             Type ajaxBasePageType = ajaxBasePage.GetType();  
  10.             MethodInfo methodInfo = ajaxBasePageType.GetMethods(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance)  
  11.                                         .FirstOrDefault(item => item.Name == ajaxRequest.MethodName);  
  12.             object[] parameterData = this.GetParameterData(ajaxRequest, methodInfo);  
  13.    
  14.             if (methodInfo.IsStatic)  
  15.             {  
  16.                 this.m_ResponseData = methodInfo.Invoke(null, parameterData);  
  17.             }  
  18.             else 
  19.             {  
  20.                 this.m_ResponseData = methodInfo.Invoke(ajaxBasePage, parameterData);  
  21.             }  
  22.         }  
  23.    
  24.         /// <summary>  
  25.         /// 獲取參數(shù)數(shù)據(jù)。  
  26.         /// </summary>  
  27.         private object[] GetParameterData(AjaxRequest ajaxRequest, MethodInfo methodInfo)  
  28.         {  
  29.             if (methodInfo != null)  
  30.             {  
  31.                 ParameterInfo[] parameterInfos = methodInfo.GetParameters();  
  32.    
  33.                 if (parameterInfos.Length > 5)  
  34.                 {  
  35.                     throw new NotSupportedException("最多支持5個(gè)參數(shù)");  
  36.                 }  
  37.    
  38.                 if (parameterInfos.Length > ajaxRequest.Parameters.Count)  
  39.                 {  
  40.                     throw new ArgumentException("缺少參數(shù)!");  
  41.                 }  
  42.    
  43.                 List<object> parameterData = new List<object>(parameterInfos.Length);  
  44.                 for (int i = 0; i < parameterInfos.Length; i++)  
  45.                 {  
  46.                     ParameterInfo parameterInfo = parameterInfos[i];  
  47.                     string paramValue = ajaxRequest.Parameters[i];  
  48.    
  49.                     try 
  50.                     {  
  51.                         parameterData.Add(ParseAjaxParameter(paramValue, parameterInfo));  
  52.                     }  
  53.                     catch (FormatException)  
  54.                     {  
  55.                         string format = string.Format("傳入靜態(tài)方法 {0} 的第 {1} 個(gè)(從0開始計(jì)數(shù))參數(shù)類型不匹配,應(yīng)該為 {2} 類型 請(qǐng)檢查!", methodInfo.Name, i, parameterInfo.ParameterType.Name);  
  56.                         throw new FormatException(format);  
  57.                     }  
  58.                 }  
  59.                 return parameterData.ToArray();  
  60.             }  
  61.             else 
  62.             {  
  63.                 throw new InvalidOperationException("沒有發(fā)現(xiàn)此方法,請(qǐng)檢查該方法簽名(方法必須為public)");  
  64.             }  
  65.         }  
  66.    
  67.         /// <summary>  
  68.         /// 類型轉(zhuǎn)換。支持 String、Boolean、Int32、Int64、UInt32、UInt64、Single、Double、Decimal、DateTime、DateTimeOffset、TimeSpan、Guid  
  69.         /// </summary>  
  70.         private object ParseAjaxParameter(string ajaxParameterValue, ParameterInfo parameterInfo)  
  71.         {  
  72.             object obj;  
  73.             if (parameterInfo.ParameterType == typeof(String))  
  74.             {  
  75.                 obj = ajaxParameterValue;  
  76.             }  
  77.             else if (parameterInfo.ParameterType == typeof(Boolean))  
  78.             {  
  79.                 obj = bool.Parse(ajaxParameterValue);  
  80.             }  
  81.             else if (parameterInfo.ParameterType == typeof(Int32))  
  82.             {  
  83.                 obj = Int32.Parse(ajaxParameterValue);  
  84.             }  
  85.             else if (parameterInfo.ParameterType == typeof(UInt32))  
  86.             {  
  87.                 obj = UInt32.Parse(ajaxParameterValue);  
  88.             }  
  89.             else if (parameterInfo.ParameterType == typeof(UInt64))  
  90.             {  
  91.                 obj = UInt64.Parse(ajaxParameterValue);  
  92.             }  
  93.             else if (parameterInfo.ParameterType == typeof(Single))  
  94.             {  
  95.                 obj = Single.Parse(ajaxParameterValue);  
  96.             }  
  97.             else if (parameterInfo.ParameterType == typeof(Double))  
  98.             {  
  99.                 obj = Double.Parse(ajaxParameterValue);  
  100.             }  
  101.             else if (parameterInfo.ParameterType == typeof(Decimal))  
  102.             {  
  103.                 obj = Decimal.Parse(ajaxParameterValue);  
  104.             }  
  105.             else if (parameterInfo.ParameterType == typeof(DateTime))  
  106.             {  
  107.                 obj = DateTime.Parse(ajaxParameterValue);  
  108.             }  
  109.             else if (parameterInfo.ParameterType == typeof(DateTimeOffset))  
  110.             {  
  111.                 obj = DateTimeOffset.Parse(ajaxParameterValue);  
  112.             }  
  113.             else if (parameterInfo.ParameterType == typeof(TimeSpan))  
  114.             {  
  115.                 obj = TimeSpan.Parse(ajaxParameterValue);  
  116.             }  
  117.             else if (parameterInfo.ParameterType == typeof(Guid))  
  118.             {  
  119.                 obj = Guid.Parse(ajaxParameterValue);  
  120.             }  
  121.             else 
  122.             {  
  123.                 throw new NotSupportedException("方法參數(shù)類型不支持!");  
  124.             }  
  125.             return obj;  
  126.         }  
  127.    
  128.         /// <summary>  
  129.         /// 結(jié)束頁面生命周期,同時(shí)直接執(zhí)行應(yīng)用程序生命周期的EndRequest事件。  
  130.         /// </summary>  
  131.         public void EndRequest()  
  132.         {  
  133.             HttpResponse response = this.m_AjaxBasePage.Page.Response;  
  134.             response.ContentType = "application/json";  
  135.             response.Clear();  
  136.             JavaScriptSerializer jsonSerializer2 = new JavaScriptSerializer();  
  137.             response.Write(jsonSerializer2.Serialize(new JsonResponse { IsSuccess = true, Message = "處理成功", ResponseData = this.m_ResponseData }));  
  138.             response.End();  
  139.         }  
  140.     } 

 當(dāng)初始化了一個(gè)AjaxApplication實(shí)例后, 可以調(diào)用該實(shí)例的EndRequest()方法,來結(jié)束Ajax請(qǐng)求。該方法內(nèi)部最后調(diào)用Response.End()方法來結(jié)束頁面生命周期和大部分管線事件。

并用JsonResponse類來封裝返回?cái)?shù)據(jù)。

  1. public class JsonResponse  
  2. {  
  3.     public bool IsSuccess { get; set; }  
  4.     public string Message { get; set; }  
  5.     public object ResponseData { get; set; }  

該類最后一個(gè)參數(shù)即承載了調(diào)用方法的返回值,為一個(gè)Object類型,也就是說,框架可以支持任何類型的返回值,當(dāng)然該類型可以被序列化。

7. 回過頭來再看Ajax請(qǐng)求,針對(duì)返回值可以這樣用:

  1. PowerAjax.AsyncAjax('TestAjaxMethod', [1, 2, "333""sss"], function (SucceessResponse) {  
  2.     if (SucceessResponse.IsSuceess) {  
  3.         alert("恭喜,該ajax方法調(diào)用成功!");  
  4.         Process(SucceessResponse.ResponseData); // 處理返回的數(shù)據(jù),這里可能需要你自己實(shí)現(xiàn)了,因?yàn)槲覠o法判斷你要返回的是什么東西,這是個(gè)Object  
  5.     } else {  
  6.         alert("這是操作錯(cuò)誤奧,不是內(nèi)部異常,內(nèi)部異常的拋出會(huì)我內(nèi)部會(huì)處理的!");  
  7.         alert("錯(cuò)誤信息:" + SucceessResponse.Message);  
  8.     }  
  9. });  

以上是試水的東西,希望各位大牛指正。

原文鏈接:http://www.cnblogs.com/A_ming/archive/2013/03/28/2986949.html

責(zé)任編輯:張偉 來源: 博客園
相關(guān)推薦

2009-07-22 16:05:34

ASP.NET AJA

2009-07-24 13:41:15

ASP.NET AJA

2009-07-22 16:17:39

ASP.NET AJA

2009-07-22 16:11:43

ASP.NET AJA

2009-07-22 16:25:41

ASP.NET AJA

2009-08-24 09:18:34

ASP.NET MVC

2009-12-30 14:28:09

ASP.NET Web

2009-07-29 13:50:26

UpdatePanelASP.NET

2009-07-20 10:16:13

配置ASP.NET A

2009-07-28 09:02:32

asp.net aja

2009-12-08 08:57:21

ASP.NET MVC

2009-07-22 15:58:52

ASP.NET AJA

2009-07-31 13:24:43

ASP.NET AJA

2009-08-07 16:09:25

ASP.NET AJA

2009-07-20 17:39:36

WCF服務(wù)ASP.NET AJA

2009-07-20 13:54:31

ScriptManagASP.NET AJA

2009-07-29 15:53:22

ASP.NET AJA

2009-07-21 17:18:26

UpdateProgrASP.NET AJA

2009-07-20 13:14:25

安裝ASP.NET A

2009-07-24 13:08:40

AJAX技術(shù)ASP.NET
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)