如何在控制台应用程序中使用引擎对象 [英] How can i use engine object in my console application
问题描述
如何在我的控制台应用程序中使用引擎"
"How can i use engine in my console application"
我不应该使用 ITemplate-interface 和 Transform-Method.
I shouldn't use the ITemplate-interface and Transform-Method.
我使用的是 Tridion 2011
I am using Tridion 2011
谁能推荐我.
推荐答案
你不能.Engine
类是 TOM.NET 的一部分,该 API 明确保留用于:
You can't. The Engine
class is part of the TOM.NET and that API is explicitly reserved for use in:
- 模板构建块
- 事件处理程序
对于所有其他情况(例如控制台应用程序),您应该使用核心服务.
For all other cases (such as console applications) you should use the Core Service.
已经有很多很好的问题(以及其他网站上的文章):
There are many good questions (and articles on other web sites) already:
- https://stackoverflow.com/search?q=%5Btridion%5D+core+service
- http://www.google.com/#q=tridion+core+服务
如果您在此过程中遇到困难,请向我们展示您拥有的相关代码 + 配置以及您收到的错误消息(或您在哪一步遇到问题),我们将尽力提供帮助.
If you get stuck along the way, show us the relevant code+configuration you have and what error message your get (or at what step you are stuck) and we'll try to help from there.
这篇关于如何在控制台应用程序中使用引擎对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!