[Mono-bugs] [Bug 648850] New: Default route not being picked up with VS.NET 2010 skeleton MVC 2 project

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 23 13:47:38 EDT 2010



           Summary: Default route not being picked up with VS.NET 2010
                    skeleton MVC 2 project
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: michael at michael.ie
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7

It *appears* the skeleton MVC 2 project created by Visual Studio .NET 2010
doesn't have its default route detected by fastcgi-mono-server4 so when
http://localhost/ is accessed it throws a 404.

http://localhost/Home/ needs to be supplied instead.

Reproducible: Always

Steps to Reproduce:
1. Create a new project -> ASP.NET MVC 2 Project and "publish to filesystem"
and place it on a linux box
Extract the .tar attached of the default project
2. fastcgi-mono-server4 /applications=localhost:/:/var/www/asp/SimpleMVC2
/socket=tcp: or use xsp4
3. Visit http://localhost/ in the browser
4. Visit http://localhost/Home in the browser
Actual Results:  
Server Error in '/' Application

The 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

Expected Results:  
Welcome to ASP.NET MVC 2

$ mono --version
Mono JIT compiler version 2.8 (tarball Thu Oct 21 00:52:20 IST 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
        Misc:          debugger softdebug
        LLVM:          supported, not enabled.
        GC:            Included Boehm (with typed GC and Parallel Mark)
$ fastcgi-mono-server4 --version
(c) 2007 Brian Nickel
FastCGI Backend for XSP

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list