[MonoDevelop] ASP.Net Template

Martin Thwaites monoforum at my2cents.co.uk
Sun Nov 16 19:33:33 UTC 2014


If you just learning, I would recommend going straight to MVC, it's much
easier to learn.

The downside at the moment is that unless you are compiling mono from
source, it doesn't work.  It will soon though.

On 16 Nov 2014 17:39, "Petit Eric" <surfzoid at gmail.com> wrote:

> Hi,
> I'm trying to learn ASP.Net, so in first, i have setup an ASP.Net server
> at OVH and choose an Debian server + lighttpd.
> I used MD and choice an ASP.NET template, the basic one, with the click
> button.
> i deploy the Asp and files on the serveur , in /var/www/ASP/ directory,
> setup in the mono.conf file of lighttpd the mono.root directory to
> /var/www/ASP/ and the sample work very fine.
> now, for the future, i need to have multiple ASP.Net web site, so if i
> move the sample in /var/www/ASP/site1/ and like that i will can do
> /var/www/ASP/site2, /var/www/ASP/site3 etc.
> The sample don't work anymore, first it claim about few thing in the
> web.config file, if i resolve this part, it claim about "
> *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 testASP.Global
> *Source Error: *
> Line 1: <%@ Application Inherits="testASP.Global" %>
> *Source File: */var/www/ASP/testASP/Global.asax  *Lines: *1, 1"
> i understand Global is an class of the testASP project, which is compiled
> in the dll, but why the path are not relative from the project rather the
> mono.root document variable?
> Thanks
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20141116/f7be7e89/attachment.html>

More information about the Monodevelop-list mailing list