使用ASP.NET MVC3 code里面的一个静态的HTML CMS [英] Using ASP.NET MVC3 code inside a static-html CMS

查看:81
本文介绍了使用ASP.NET MVC3 code里面的一个静态的HTML CMS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们这里有一个内容管理系统,基本上推了静态的HTML页面。它不依赖于任何特定的编程语言让每个区域为所欲为取决于他们正在推动自己的网页到Web服务器上使用的能力。我区的Web服务器同时运行ColdFusion和Asp.NET,我一直在开发我的第一个MVC3的应用程序。它几乎完成,现在我需要一个公共的网络形式连接起来,我的应用程序的创建动作。这个基本的HTML网页表格将MVC3和Visual Studio之外,我猜将驻留我们的CMS内,它将数据传递到我MVC3应用程序的控制器。我不知道如何去这个,我能看我创建视图code的HTML烃源,然后复制/粘贴相同的HTML到我的单独的CMS页面?有没有一种方法,以包括创建视图进入我的CMS,它甚至不知道ASP.NET的存在?

We have a content management system here which basically pushes out static html pages. It's not tied to any particular programming language leaving each area the ability to use whatever they want depending on the web server they are pushing their pages out to. My area's web server runs both ColdFusion and Asp.NET, and I've been developing my first MVC3 application. It is just about finished and now I need to link up a public web form to my application's "Create" action. This basic HTML web form will be outside of MVC3 and Visual Studio and I'm guessing will reside inside of our CMS and it will pass the data onto my MVC3 application's controller. I am not sure how to go about this, can I just look at the html souce of my Create View code and then copy/paste the same HTML to my separate CMS page? Is there a way to "include" the Create View into my CMS, which doesn't even know ASP.NET exists?

如果您需要具体情况,我们使用汉农山的级联服务器。我已经做了充足的使用ColdFusion code ++做的HTML Web窗体页,但不知道从哪里开始使用此CMS内ASP.NET,而不是ColdFusion的。

If you need specifics, we're using Hannon Hill's Cascade Server. I've done plenty of pages using ColdFusion code to do html web forms but don't know where to begin using ASP.NET instead of ColdFusion inside of this CMS.

推荐答案

至于ColdFusion的而言,它只是写入文件。你能不能有它创建一个包含有关ASP.NET code一个.aspx文件?

As far as ColdFusion is concerned, it is just writing files. Could you just have it create a .aspx file that includes the relevant ASP.NET code?

这篇关于使用ASP.NET MVC3 code里面的一个静态的HTML CMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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