Pre-executing .net

Thats no problem, I had a reply from the reddot bods which was really quite helpful which I have added below for future referance1111

Running aspx in RedDot is the same as asp:

- Firstly all pages need to have the correct file extension assigned, either on the project variant, content class or on the page itself. - You also need an aspx rdeexecute statement in each published page for it to run both in CMS as well as publication.:

In version 7.x not only can you run .aspx pages but also .ascx custom controls. You can even configure these to run in SmartEdit/Preview mode as follows:

- To get .ascx custom control pages to run in SmartEdit/Page preview place the custom control in a separate content class so that it makes a separate RedDot Page. It is up to you how you code the asp.net to get the ascx page included, but it will need to point to the custom control page in a container element. E.g.

<%@ Register TagPrefix="My" TagName="NewTag" Src="<%container%> " %>

-Additionally you need to apply the 'Insert placeholder for page in container' option on the template variant properties for both the custom control page and any page calling it.

Lastly from CMS 7.5 SP1 onwards .NET folder types were provided to help manage your deployment of .NET binaries such as the assembly files.

-Create a folder (Smarttree > administer project settings > project > folders > action menu > create folder) and select the type as .net

-.NET folders are file system only folders and always contain a sub folder called bin to contain the binaries such as the assembly files etc.

-Whenever a publication or preview is made the folder is checked to see if any of the contents have changed. If they have they are displayed in the preview if it was previewed or published if a publication was run. Therefore you do not need a link in any reddot page to any of the files in the .net folder for them to published.

-This is only suitable for a single web config file per .net folder

-To assign a .net folder to a project variant edit the project variant settings (Smarttree > administer project settings > project > project variants > select the relevant project variant > action menu > edit project variant) and check the 'Use .NET folder' check box

-You can only have 1 .net folder per project

[http://groups.google.com/group/RedDot-CMS-Users/browse_thread/thread/ad3a4ffc515b790d/fd797b84cd805771?lnk=gst&q=.net+folder#fd797b84cd805771}