Question about Ivan Porto carrero MVC Sample

which OS and web server are you using?

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)

yes, I have created ASP.NET MVC application before on my machine and it
did work.

I have restarted the server but no use!

Your sample does work but it throws some assembly errors. I can avoid
those errors by going to controller actions.

But, I don’t know why it does not work for a new project.

I only see this page:

he resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure
that it is spelled correctly.

Requested URL: /home

it fails much earlier than at the controller. you should never get to
that
page because that is just plain vanilla asp.net mvc stuff has nothing to
do
with ironruby mvc. Have you created an asp.net mvc application
before on your machine? Did that work?

I copied your code to a new project and still it is giving me issues. It

is not picking up the Routes.rb file

Does that mean the sample does work on your machine?

Also when you make a change to routing etc you have to restart the web
server

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)

Is there any web.config setting that needs to be done?

Where can I get your email?

ivan at flanders dot co dot nz


Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)

did you compile the new project?Can you email me your project so I can
take
a look… instead of asking all these questions?

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)

To make it work I only made 1 change.
I have a debug build of System.Web.Mvc.dll in the sample. I referenced
that
one and rebuilt then hit F5 to start cassini and it worked

The ironrubymvc dll is built against that debug version so it expects
that.
I have to fix that at some point

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)