use dll code behind only

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/2/2008 4:31:56 AM
Gravatar
Total Posts 33

use dll code behind only

Hi Joe,

I was adding a web page to mojoportal and I realise that the web page only gets the code behind from compiled dll file, the page will complain about the code behind is missing even when the cs file exists when the dll file is not updated... could you please show me how to enable that?

Cheers

James

9/2/2008 4:56:28 AM
Gravatar
Total Posts 18439

Re: use dll code behind only

mojoPortal uses the Web Application Project type which compiles the code behind into dll files. It is not possible to just deploy code behind files with source code and have it work with this project type, that only works with Web Site Project type. I don't recommend deploying source code, but it is possible to create pages with inline code and no code behind file (by using a text editor to create them not VS) and then drop the page into the folder and it works. You can add it to the project after creating it but if you try to use VS to create it in the Web App project its going to make a code behind file.

Some notes about it here:

Using Inline Code

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.