Embedding ASP.NET on page

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
3/23/2009 9:15:40 PM
Gravatar
Total Posts 64
Gerry Roston gerry (at) pairofdocs (dot) net

Embedding ASP.NET on page

All,

I am one of the organizers for the Annual Collaboration for Entrepreneurship. Our current site is stick-built - plan-jane HTML. Moving it to a CMS would be benefiicial. In addition, I have been planning to build a couple of simple web-pages for managing some of our data. These data should also be used to create some of the tables, for example, the list of exhibitors. For me, writing the ASP.NET/VB.NET code to create the page is not a problem. However, is it possible to somehow embed this code inside a mojoPortal page element?

In case this is not clear, what I have in mind creating a new page, then creating a new content for it (would it be of the type HTML Content?) Then, I would 'embed' some code in this content which would access a database. Obviously, I would want to use a database other than the one with the mojoPortal data to avoid upgrade problems.

If this can be accomplished, would you please provide some pointers.

Thanks.

p.s. If you plan to be in southeast Michigan on 21 Jan 2010, plan on attending ACE '10!

3/24/2009 12:23:02 PM
Gravatar
Total Posts 18439

Re: Embedding ASP.NET on page

Hi Gerry,

You can't embed ASP.NET directly in html, but you can create a UserControl and plug it into a page. See our Hello World developer examples. They are in C# but it should be possible to do the same thing in VB.NET.

I would just use the same database unless you need to access an existing database. Just create tables of your own with your own prefix so they don't clash with any mojoportal tables.

Hope it helps,

Joe

3/25/2009 4:45:21 PM
Gravatar
Total Posts 64
Gerry Roston gerry (at) pairofdocs (dot) net

Re: Embedding ASP.NET on page

Joe,

I read the page you referenced and am left with one question. The instructions indicate "copy the folder "MyCustomModules" into your /Web folder". I looked at my mojoPortal installation and could find no such folder. Does /Web refer to the root web directory, ie., on an XP machine with the default IIS installation, /inetpub/wwwroot?

3/30/2009 3:36:12 PM
Gravatar
Total Posts 64
Gerry Roston gerry (at) pairofdocs (dot) net

Re: Embedding ASP.NET on page

Still one question: what is the /Web folder?

3/30/2009 3:41:50 PM
Gravatar
Total Posts 18439

Re: Embedding ASP.NET on page

It just means the root of your web site. If you were using the mojoportal source code the folder name is actually "Web", but if not it may be whatever you named it or in the pre-compiled release packages it corresponds to the wwwroot folder but not necessarily the c:\inetpub\wwwroot folder unless that happensto be where youput the mojoportal files. 

Hope it helps,

Joe

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