[英]IIS Application Pool bin vs. *.vb
I am in the process of inheriting the support of a website that has me very confused. 我正在继承一个让我非常困惑的网站的支持。 The site has a mixture of classic ASP and .Net, with some of the ".Net" really being part of a conversion process of some kind so there isn't a code-behind and it's all inline code like with PHP or classic ASP. 该网站混合了经典的ASP和.Net,其中一些“.Net”真的是某种转换过程的一部分,所以没有代码隐藏,它是所有内联代码,如PHP或经典ASP 。 The current developer (been involved for 4+ years) has told me anything that is .Net is against 1.0. 目前的开发人员(参与了4年多)告诉我任何.Net都是1.0。 Based on my understanding, his publishing routine involves copying the contents of his development directory up directly (vs. an actual publish) so all of the *.vb files (including the *.designer.vb ones for the pages that have them) are all up there in production. 根据我的理解,他的发布例程涉及直接复制其开发目录的内容(与实际发布相比),因此所有* .vb文件(包括具有它们的页面的* .designer.vb文件)都是一切都在生产中。
The area that has me so confused is I know .Net 1.0 is highly incompatible with .Net 2.0 because of all the breaking changes they did between the two versions. 让我感到困惑的领域是我知道.Net 1.0与.Net 2.0高度不兼容,因为它们在两个版本之间做了所有重大改变。 What I'm trying to figure out is, if the vbproj file says it points to a version number for VS 2002, the DLLs in the bin directory all reference 1.0.5000.0 for mscorlib references (System, etc.), but the application pool is configured for .Net 2.0 does IIS actually ignore what it would've read out of the bin directory and instead pull code from the .vb file on the fly? 我想弄清楚的是,如果vbproj文件说它指向VS 2002的版本号,bin目录中的DLL都引用1.0.5000.0用于mscorlib引用(系统等),但是应用程序池配置为.Net 2.0 IIS实际上是否忽略了它从bin目录读取的内容,而是动态地从.vb文件中提取代码? I know the "new" (at the time) Web Site option (vs. Web Application) from VS introduced on the fly compilation, but I have no idea if that's happening here or not behind the scenes. 我知道来自VS的“新”(当时)Web站点选项(与Web应用程序)在飞行编译中引入,但我不知道这是否发生在这里或不在幕后。 Where things get even murkier is as part of this process I am trying to migrate the site to a new set of servers that I own and when I created the sites in IIS I wasn't even paying attention to the app pool so the default was assigned which was .Net 4. Our customer service employee was testing the site on the new boxes and everything works. 事情变得更加模糊的是这个过程的一部分我试图将网站迁移到我拥有的一组新服务器,当我在IIS中创建网站时,我甚至没有关注应用程序池,所以默认是已分配的是.Net 4.我们的客户服务员工正在新机箱上测试网站, 一切正常。
I had no idea if this needed to go in StackOverflow or ServerFault, but chose SO because it's pretty heavily programming related. 我不知道这是否需要进入StackOverflow或ServerFault,但选择了SO,因为它与编程相关。 Does anyone have any suggestions for how all of this might be running? 有没有人对所有这些可能如何运行有任何建议?
There are a number of project clean up issues your have to deal with here. 您需要处理许多项目清理问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.