如何使 wss 3 站点在 .net >= 3 上运行?
我的任务是向旧的 SharePoint 网站添加一些新功能。我需要利用一些 .net 3 功能。我想我只需要更新 webconfig,但是这里有大量具有非常具体属性的指令,我无法理解咒语。
有人知道如何让这个网站在 .net >= 3 上运行吗?
谢谢
I've been tasked with adding some new functionality to an old SharePoint site. I need to take advantage of some .net 3 features. I figure I just have to update the webconfig, but with the plethora of directives in here with very specific attributes the incantation escapes me.
Anyone know how to make this site run on .net >= 3?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
仅 .NET Framework(当前)有 3 个运行时版本:1.0、2.0 和 4.0。 2.0 和 4.0 运行时之间的变化差异太大,SharePoint 无法应对。但您可以使用 .NET 3.5 功能,因为它们只需要 2.0 运行时。
除了为 System.Web.Extensions 和 System.Web.Extensions.Design 添加绑定重定向之外,我能想到的 web.config 确实没有具体的更改,如下所示:
另外,如果您想添加 Microsoft AJAX 内容,请注意,有很多很多网站详细介绍了 web.config 的更改。
The .NET Framework only (currently) has 3 runtime versions: 1.0, 2.0 and 4.0. The changes between the 2.0 and 4.0 runtimes are too different for SharePoint to cope. But you can use .NET 3.5 features as they only require the 2.0 runtime.
There really are no specific changes to the web.config I can think of other than adding binding redirects for System.Web.Extensions and System.Web.Extensions.Design like below:
Also be aware if you want to add the Microsoft AJAX stuff, there are many, many sites out there that detail the web.config changes.