Hey Mark, I agree with Jian. I would only add a user control to the template, register the user control using the web.config and deploy the .NET files manually/ or even better using a deployment server like Hudson.
Mixing up .NET code with your templates isn't a best practice. Each time you change the .NET you'd have to fire up the CMS. Unless you need to store the .NET in CMS because: - you need to execute it there - you want to have all components in one place - your boss says so - ... other mostly invalid reasons.. I wouldn't do it :) Cheers, Markus http://reddotcmsblog.com <-- another good resource :) On 12 Okt., 04:47, Jian Huang <[email protected]> wrote: > Hi Mark, > > Management Server is simply a content management server that sits on > top of the ASP.NET stack. As you already know, it can be configured > to execute code, either asp, or ASP.NET. > > There are 2 modes of execution. Preexecution and RDExecution. > > Preexecution - run the code and output the result in SmartEdit, Page > Preview and Publish > > RDExecution - run the code and output result only in SmartEdit and > Page Preview. In publish mode, it simply publishes the code as it is > to the web server. > > Before I go onto more details. Is it necessary to have the form > handler to work in Management Server? If not, I would wrap all that > ASP.NET code in a Publish mode only rendertag, so it is only shown > when it is published. > > Any other way to think about it is, Management Server is to manage > content. The form handler code is content, not the content returned > by form handler. > > -Jian > > On Oct 11, 3:56 pm, MarkTheNovice <[email protected]> wrote: > > > Hi, great group, enjoying reading all the old postings and comments. > > > I am working on an OpenText RedDot server that was set up last year at > > the company I work for but we now have no contact with that > > development company. We only have the standard documentation. > > > I have read the documentation carefully and can't see how you get > > ASP.Net programs to store in RedDot and be published unchanged to the > > web server. Lots of stuff on different groups about the finer points > > of .Net, but nothing on how you get started. So on a basic level, what > > are the first steps please? > > > I want to call a .Net form handler program that will be invoked on the > > live website. Does it make sense to store this in RedDot and if so, > > how do I do it? Also, how do I make a call to it from the submit > > action of a form page in RedDot to the .Net form handler. > > > Any help much appreciated. > > > thanks > > Mark -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
