阅读背景:

在Web和非Web应用程序之间共享HttpContext代码

来源:互联网 

I've got a VB.NET module that reads from a resource file to display text in the correct language. Here's my problem - this code is shared between a web application and a non-web application, In the web application, I'm using System.Web.HttpContext to determine the user's preferred language, but now my Windows app won't even compile, because it says HttpContext isn't defined (I've already tried adding an imports for the full namespace - no dice).I've got a VB.NET module that reads from a reso




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: