This project is read-only.

HelloWorld sample problem

Topics: Writing modules
Oct 31, 2011 at 9:46 AM

I followed the steps in

I used the codegen to create the module, used notepad to create the files needed or to edit the csproj and enabled the feature via the command line. That all worked nicely and I can see in a running Orchard that the module is enabled in the dashboard.

But when I navigate to http://localhost:22775/HelloWorld then I get a 404 Resource not found. What is going wrong here?

This is my first head start with Orchard custom modules but I would like to know what's going on before moving on to something more complex.

Oct 31, 2011 at 10:05 AM
Edited Oct 31, 2011 at 10:07 AM

I went over all the steps again and it seemed I forgot to put the following part in:

  <Compile Include="Routes.cs"/>
  <Compile Include="Controllers\HomeController.cs"/>

And now it worked out.