[Mono-aspnet-list] ASP.NET MVC 3 on Mono 2.8.1

Marek Habersack grendel at twistedcode.net
Sat Jan 15 18:38:05 EST 2011


On Sat, 15 Jan 2011 09:03:53 -0800 (PST)
adrin <adrin84 at gmail.com> wrote:

> 
> After a long Console.WriteLine() debugging session I've found a possible
> reason for these problems.
> It seems that ASP.NET MVC 3 uses BuildManager.GetObjectFactory(virtualPath,
> false) != null condition to check if given view file exists.
> Mono 2.8 implementation of BuildManager.GetObjectFactory() (System.Web 4.0)
> method looks like this:
> 
> [MonoTODO("A no-op until we use IWebObjectFactory internally. Always returns
> null.")]
> public static IWebObjectFactory GetObjectFactory(string virtualPath, bool
> throwIfNotFound)
> {
>     return null;
> }
> 
> Are there any plans to add ASP.NET MVC 3 support to mono anytime soon?
I'm working on it. The issue is a bit more complicated with this MVC release as it relies upon
several assemblies which aren't open source (don't even come with source) so I need to first
implement at least parts of them. Please file a bug for the Sys.Web component and attach your
sample application as the test case - it will help in solving the issues, thanks.

marek


More information about the Mono-aspnet-list mailing list