MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Getting Started??  (Mono Support )

Viewed 48537 time(s), 9 post(s) 5/23/2011 3:02:05 PMby gonzalom
gonzalom

gonzalom

5/23/2011 3:02:05 PM
Hello!

I have just got MonoX running.
I'm trying to dive into using it but I need some more guidance.
The downloadable package it seems, contains a sample web site that I can modify using MonoX's core. But the boundaries between MonoX funtionality and this web site itself are not very clear for me.
I've also seen there are some solution / project files available. I copied them onto the root folder of and successfully opened it from VS 2010.
But when I run the application it tryed to get installed, that was a bit confusing for me since I have already installed Monox (The files I opened with VS 2010 where a copy of the ISS web application folder, I mean, the one I originally decompressed).
I'd like to ask you if there is a "hello world" like example or may be a tutorial on how to get my own web site running from scratch. If that guidance could be related to social networking features, great!
Thanks in advance.

Gonzalo
This content has not been rated yet. 
345 Reputation 38 Total posts
denis

denis

5/23/2011 8:19:57 PM
Hi Gonzalo,
There are a few tutorials describing how to develop MonoX Web parts:
http://www.mono-software.com/blog/post/Mono/93/Building-a-custom-Web-part/
http://www.mono-software.com/blog/post/Mono/108/Integrating-Twitter-with-an-ASP-NET-site/
This topic is also covered in the user manual.
Hoever, it seems that you got stuck with opening a sample solution that is intended to serve as a skeleton for your custom projects, as it included basic references and minimal folder hierarchy. You can find the sample project in the "/MonoX/Samples/Solution". To start using the sample project you need to copy the "ProjectName.sln" and "Portal.csproj" to the root of your MonoX installation. It should not try to install anything - these are plain and simple VS project and solution files.
Again, we might solve this quickly via TeamViewer, let me know if that would work. Additionally, one of my colleagues is finishing a tutorial on this topic, it will be published in a day or so.
This content has not been rated yet. 
7207 Reputation 956 Total posts
gonzalom

gonzalom

5/24/2011 1:17:13 PM
Hi Denis,

No problems with opening the solution. I had found a post you did before about copying the files so I already new that.
However, (I checked again) when I run the website from inside Visual Studio it does try to install. It shows me the privileges configuration report, the license agreement, the database configuragion page and so on. Maybe it has to do with the fact that I'm opening the solution from inside a different folder that the one we configured for IIS last week. Could it be? I'll open from the IIS folder just to check.

Thanks for the links I'll check them later. I have found the "Portal Development" section in the user manual so I'm checking it. I'm more interested in learning about the develoment process with MonoX and It seems I can find that information there.
I appreciate your interest in helping via TeamViewer but I don't want to waste your time without trying to do things by myself first.
Thanks,

Gonzalo
This content has not been rated yet. 
345 Reputation 38 Total posts
denis

denis

5/24/2011 5:11:15 PM
Hi Gonzalo,
The initiation of the installation process depends on the "InstalationDone" property in the web.config file. If this is set to false, the installation will be started. In your case the installation finished properly, as you were able to browse through the sample portal pages. Please try to run it through IIS - you can alway attach VS to the w3wp.exe process for debugging purposes by choosing Debug - attach to process (CTRL + ALT + P).
This content has not been rated yet. 
7207 Reputation 956 Total posts
gonzalom

gonzalom

5/24/2011 7:00:47 PM
Ok, that explains everithing. As I told you I was running from a different folder and so the web config was different too (I suppose it had InstallationDone = false).
Thanks.
This content has not been rated yet. 
345 Reputation 38 Total posts
khorvat

khorvat

5/25/2011 1:31:14 PM
Hi Gonzalo,

we have published the Building a custom ASP.NET project based on MonoX tutorial so you can take a look and get more information on this topic.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
gonzalom

gonzalom

5/25/2011 1:22:45 PM
Hi, I'm sorry, the link doesn't work! :D
Thanks,

Gonzalo
This content has not been rated yet. 
345 Reputation 38 Total posts
khorvat

khorvat

5/25/2011 1:31:41 PM
Hi, sorry for that it should be working now.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
gonzalom

gonzalom

5/25/2011 1:34:10 PM
It does work now.
I'll take a look right now.
Thanks!!
This content has not been rated yet. 
345 Reputation 38 Total posts