如何在基于N2的ASP.NET MVC站点中集成YAF?
我正在构建一个基于 N2 的 ASP.NET MVC 站点,它是更大的 Windows Azure 解决方案的一部分。我遇到的问题是集成在我的项目 N2 自己的 forum add-on< /a>,基本上就是 YAF(又一个论坛)。
在过去的几天里,我一直在与论坛进行斗争,并在重新编译附加组件以删除对
据我所知,问题似乎在于该论坛基于 WebForms,而包含的应用程序是基于 MVC 的。该站点是 Windows Azure 解决方案的一部分,我读到的一些内容表明本地 IIS 可能未正确配置。但是,右键单击 Forum.aspx 页面并选择“在浏览器中查看”可以正常显示该页面,包括从 YAF 安装向导导航到后续页面。在本地 IIS 上运行纯 WebForms 应用程序也没有问题,因此我认为 IIS 不是 YAF 未显示的原因。
如果有人有任何解决此问题的想法,或者在 MVC 站点中完成了类似的 YAF 集成,请告诉我。
谢谢!
I'm building an N2-based ASP.NET MVC site, which is part of a larger Windows Azure solution. The problem I am stuck with is integrating in my project N2's own forum add-on, which is basically YAF (Yet Another Forum).
I've been wrestling with the forum for the last couple of days and after re-compiling the add-on to remove the dependency on N2.Templates.dll and following all of the steps in the Installation.txt file (part of the documentation of the add-on) I'm stuck with the forum not showing up. When I navigate to the forum I get a "403.14 - Forbidden" error.
From what I could find out it seems the problem is in the fact that the forum is based on WebForms and the containing application is MVC-based. The site is part of a Windows Azure solution and some of the things I read suggest the local IIS may not be correctly configured. However, right-clicking on the Forum.aspx page and selecting "View in browser" shows the page just fine, including navigating to subsequent pages from the YAF installation wizard. Running pure WebForms apps on the local IIS also goes without problems, so I think IIS is not the cause for YAF not showing up.
Please, if someone has any idea for solving this problem, or has done similar integration of YAF in an MVC site, let me know.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论