Hello World Module: Documentation Problem?

Topics: General, Writing modules
Sep 5, 2013 at 12:43 AM
Hello:

I have followed this tutorial: http://docs.orchardproject.net/Documentation/Building-a-hello-world-module

But when I try in my server: http://localhost:port/HelloWorld it doesn't work. It says the page doesn't exist.

Am I missing something that isn't documented there?

Is this example up to date? http://docs.orchardproject.net/Documentation/Creating-a-module-with-a-simple-text-editor

I was going to try this blueprint but it hasn't been updated since 2011 so I came here first: https://orchardjumpstart.codeplex.com/SourceControl/latest#Routes.cs

Where can I look for an updated tutorial on how to create a module?

Thanks!
Developer
Sep 5, 2013 at 1:28 AM
The examples looks up to date to me in the sense that it doesn't show anything that doesn't apply to the current version.
Questions to ask yourself:
  1. Does the module compile in Visual Studio?
  2. Is there anything in App_Data/Logs that looks suspicious?
  3. When you download the simple commerce module, does it work?
Coordinator
Sep 5, 2013 at 6:21 AM
Also, did you enable the feature?
Developer
Sep 5, 2013 at 6:28 AM
Edited Sep 5, 2013 at 6:28 AM
Very good point:

4: What Bertrand said.
Sep 6, 2013 at 5:41 PM
Edited Sep 6, 2013 at 5:43 PM
sfmskywalker wrote:
The examples looks up to date to me in the sense that it doesn't show anything that doesn't apply to the current version.
Questions to ask yourself:
  1. Does the module compile in Visual Studio?
  2. Is there anything in App_Data/Logs that looks suspicious?
  3. When you download the simple commerce module, does it work?
  1. I was making it in webmatrix, not visual studio. Didn't check if it compiled
  2. Two empty logs there, nothing extrange
  3. Yeah, I've installed several modules to test them
BertrandLeRoy wrote:
Also, did you enable the feature?
Yes I did!

Don't know what changed from wednesday to today (yesterday I was bussy with another tasks). I tried everything that day: Restarted the server, closed and opened webmatrix; but nothing worked. Today I just ran the project from webmatrix and my module is working and shows "Hello World" as stated in the tutorial. Seriously I don't know what did I miss because I didn't change anything.

I'm going to try to make another simple module to see if I get the problem.

Many thanks for your help!
Coordinator
Sep 7, 2013 at 5:02 AM
I strongly recommend, if you want to do module development, to switch to the full source code and Visual Studio.