Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# wchrisjohnson 5/8/2006 2:04 PM
Hi,

I am using Cuyahoga on a shared host in an ASP.NET 2.0 account. I have Cuyahoga running; all is well. The binary version is installed.

I need to develop a couple of forms for the site and am not sure how to proceed with VS2005. Should I recompile and redeploy the core Cuyahoga source first from VS2005 and then work on the forms?

Or should I use the VS2005 Web Project Preview I heard about and found over here: http://webproject.scottgu.com/Default.aspx?????

Thanks in advance for any direction you can provide!

Chris
# martijnb 5/8/2006 3:01 PM (edited 5/8/2006 3:15 PM)
You should use the web application project. I managed to create a simple module with it, see http://www.cuyahoga-project.org/10/section.aspx/41.

The module can be developed just like on the .NET 1.1 framework. You can find more about it in the Module development guide.

And just ask if you need more info. We'll be glad to help you out.
# wchrisjohnson 5/9/2006 3:43 AM
Thanks Martin. I got it working soon after I posted the question; I stumbled onto the page you mentioned on the site and downloaded and installed the web app project.

All in all, very easy to get going, especially with your guide. Thanks again!
# wchrisjohnson 5/9/2006 9:50 AM
On second thought, I DO need one more bit of advice...

Given that I am developing several forms for this site, I'm thinking I will keep them all in one project, one assembly, one .dll --> hence, one module for all of these forms.

Does that somehow conflict with the advice in the module development guide for one assembly/.dll per Module? Or do you think that would work OK?

I'm doing several things similarly between forms, so it seems I should keep them all together for consistency (developmentally speaking) ...

Thanks!

Chris
# chrisortman 5/11/2006 12:15 PM
I think I'm doing something similar to you, I have "series" of plugin modules that I'm building to host in cuyahoga. I rebuild the cuyahoga source using vs.net 2005, I don't this would be required, but if you build yours in 2005 you would need to make sure your website was configured to host asp.net 2.0.

I converted the cuyahoga.web project to a vs 2005 web application project as martin has said to do. My module projects are also vs2005 web application projects. I also added an after build task to my project files that will copy my outputs to the appropriate folder under cuyahoga.web/modules which basically looks like

I would post the msbuild code but the forum does not like xml it seems and I don't really have a good way to encode it all atm.

hth
# martijnb 5/12/2006 6:55 AM
wchrisjohnsonDoes that somehow conflict with the advice in the module development guide for one assembly/.dll per Module? Or do you think that would work OK?

It's no problem to keep those in one assembly. The main reason for putting one module in one assembly is that they can be installed/uninstalled separately, but when the modules share a lot of common things you probably want to deploy those all together at once.
# martijnb 5/12/2006 6:58 AM (edited 5/12/2006 6:59 AM)
chrisortmanI would post the msbuild code but the forum does not like xml it seems and I don't really have a good way to encode it all atm.

hth

Yes, that's problematic because ASP.NET protection prohibiting posting html or xml content.
When I post some html or xml, I ususally write it first in a text editor and then replace all '<' and '>' with their encoded values.