.net webapi 中使用session是出錯 HttpContext.Current.Session==null
最近在寫.net webapi時發現 HttpContext.Current.Session==null ,導致報錯,后來查資料發現webapi中使用session時首先需要開啟session功能, ...
最近在寫.net webapi時發現 HttpContext.Current.Session==null ,導致報錯,后來查資料發現webapi中使用session時首先需要開啟session功能, ...