일부 개체를 페이지와 세션간에 공유하도록 저장하려면 어느 것을 사용해야합니까?HttpContext.Current.ApplicationInstance.Application vs HttpContext.Current.Application
HttpContext.Current.ApplicationInstance.Application
또는 HttpContext.Current.Application
.
나는 HttpContext.Current.Application
을 사용하고 있었지만 그 둘 사이에는 혼란스러워했습니다. 그들은 모두 같은 일을 참조
글쎄 그건 내가 생각한 것이지만, msdn 포럼에서 MS가 'Application'은 고전적인 ASP에 대한 하위 호환성을위한 페이지라고 지시 한 답을 확인하기를 원했다. 그것을 지워 줘서 고마워. – TheVillageIdiot