将CMS与现有的ASP.NET网站集成 [英] integrate CMS with an existing ASP.NET web site

查看:134
本文介绍了将CMS与现有的ASP.NET网站集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将CMS集成到用 .aspx 文件和 .aspx.cs

我的研究表明我最好的候选人是N2 CMS。



我的理想方法是使用各种可编辑的内容类型配置编辑器,并使我的现有页面和用户控件使用API​​检索内容并将其以语法方式放置到容器中。



我找不到如何做,任何人都知道如何以及如果可以这样做?



有没有其他CMS更好

我们已经有了这个确切的安装现有的Web应用程序(WebForms + MVC)与 N2 ,与你在之前的项目中描述的方式相同,并且实现起来相当简单,但现在我们已经切换到使用 umbraco 由于以下原因,同样的目的:




  • 更好地支持(更大的社区)


  • 更多的可用模块(即使是商业支持的模块)

  • 更丰富的后端(正确的多语言支持)

  • 可配置而不是面向代码(根据您的需要,这是一个pro / con)



一个重要注意事项:

不要浪费时间主机CMS +实际应用程序在同一个ASP.NET应用程序内。我们有所有的安装独立,我们不会做不同的回顾,特别是当你有现有的Web应用程序与路由等已经到位。 CMS只是要在某个时候混乱。此外,这不是CMS特定。


I am trying to integrate a CMS into an existing ASP.NET Web site built with .aspx files and .aspx.cs code behind files (not compiled).

My research indicated that my best candidate is N2 CMS.

My ideal approach is to configure the editor with various editable content types and have my existing pages and user controls use the API to retrieve the content and place it pro grammatically into containers.

I couldn't find how this can be done, anyone have any idea how and if can this be done ?

Is there any other CMS that is better suited for the task?

解决方案

We have had this exact setup existing web applications (WebForms + MVC) integrated with N2 in the same manner as you have described in previous projects and it was fairly simple to implement, but by now we have switched to using umbraco for the same purpose for the following reason:

  • better support (larger community)
  • better backend editors
  • more ready avilable modules (even commercial supported ones)
  • richer backend ( proper multi language support)
  • configurable rather than code oriented (this is a pro/con depending what you need)

One important note:
Don't waste time host the CMS + the actual application in the within the same ASP.NET application. We have all of the installations separate and we would have not done it differently looking back, especially when you have existing web applications with routing etc. in place already. The CMS is just going to mess this up at some point. Also this is not CMS specific.

这篇关于将CMS与现有的ASP.NET网站集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆