[Mono-list] Mono and ASP.NET MVC

Austerus andrei at dragonflame.org
Thu Dec 10 14:12:38 EST 2009


Hello,

With the help of some good-willed people around here I managed to get my
mono xsp server up and running my asp.net apps. However I've recently
decided to try out the MVC capabilities of Mono for ASP.NET.

Using Mono Develop I've started up a new project for ASP.NET MVC in a new
folder somewhere on my drive (but outside the test folder of xsp) and then
stated xsp there.

As I noticed there were a default model, default controller, default routes,
etc, I decided to check out the outcome and I got this error: 

Parser Error

Description: Error parsing a resource required to service this request.
Review your source file and modify it to fix this error.

Parser Error Message: Cannot find type asp_test.MvcApplication

Source Error:

Line 1: <%@ Application Language="C#" Inherits="asp_test.MvcApplication" %>


Now that Line 1 is the only line in my Global.asax file where "asp_test" is
the name of my app (and inherently the name of the main namespace there,
while MvcApplication is the name of the generated class in that namespace)
... Global.asax.cs looks something like this:

namespace asp_test
{
	public class MvcApplication : System.Web.HttpApplication
	{
		public static void RegisterRoutes (RouteCollection routes)
...

Are there some resources that I'm missing? The file looks ok to me, I have
built basic MVC apps on Windows before so I can't really tell what's wrong.

I would appreciate any help or suggestions

PS: I'm running the latest Mono, Mono Develop on Mac OS X 10.6.2

Thanks!
-- 
View this message in context: http://old.nabble.com/Mono-and-ASP.NET-MVC-tp26732858p26732858.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list