Re: Mojo for use in a webbase application
Jan,
I'm not sure I undestand the question.
What if i want to put it under source control, but the rest of the app not. It would be nice to have an example
Does it mean?, your code or mojoportal code?
It would be nice I agree, if you come up with an example I'll be glad to share it. I have a theory of how to do it but honestly it will be a while if you wait for me to make an example because I am focused on development more than making tutorials for now.
The idea is that you can add your own pages (.aspx) and user controls (.ascx) and inherit from your own assemblies in the bin folder while still taking advantage of mojoportal features. You create a class library project for your code and make it reference mojoPortal.Web.dll for using built in features. You can maybe specify the output folder for compilation to be the bin folder under mojoportal web.
Your page would have something like this at the top of the markup:
Page language=c# Inherits=myCustomWeb.SomePage AutoEventWireup=false
and your assembly would be like myCustomWeb.dll
Or its ok to add your stuff in the same projects with mojoportal as long as you don't have to change the mojoportal code. When you get the latest mojoportal code from svn ,it won't touch your code but you may have to add the pages and code files back into the project because the project file from svn won't know about your files.
Hope it helps, wish I had time to do more.
Joe