简体   繁体   English

Sharepoint Services中的“ ASP.NET MVC” CMS

[英]“ASP.NET MVC” CMS in Sharepoint Services

I'm evaluating the options for a CMS in ASP.NET MVC. 我正在评估ASP.NET MVC中CMS的选项。 I'm currently working on a multi-tenant app that requires CMS functionality. 我目前正在开发需要CMS功能的多租户应用程序。 I've been looking at N2, Mojoportal etc, but I'm also interested in what SharePoint Services could bring to the table. 我一直在研究N2,Mojoportal等,但是我也对SharePoint Services可以带来什么感兴趣。 Specifically I don't want a SharePoint site but rather I'd like to potentially use the sharepoint object model, db tables, etc. to form the core of the CMS. 具体来说,我不想使用SharePoint网站,但我想潜在地使用sharepoint对象模型,数据库表等来构成CMS的核心。

Is this possible with SharePoint or am I going down the wrong path? SharePoint可以做到这一点吗?还是我走错了路? I've not had much experience with it. 我没有太多经验。

SharePoint is not an ASP.NET MVC application, it's all web forms. SharePoint不是ASP.NET MVC应用程序,而是所有Web表单。 There is the SharePointMVC CodePlex project that attempts to bring MVC to SharePoint. 有一个SharePointMVC CodePlex项目试图将MVC引入SharePoint。

At the end of the day you are very likely to need to follow the 'web forms' way of doing things sooner or later with SharePoint. 最终,您很可能需要或早或晚采用SharePoint的“ Web表单”方法。 So if MVC is a requirement I would not use SharePoint. 因此,如果需要MVC,则不会使用SharePoint。 However your requirements should probably be around what the customers want, not what technology to use? 但是,您的需求可能应该围绕客户的需求,而不是使用哪种技术?

I also wouldn't take the approach of using SharePoint's back end only. 我也不会采用仅使用SharePoint后端的方法。 See this question for some good reasons why. 看到这个问题有一些很好的理由。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM