[MonoDevelop] Simple ASP.NET MVC?

Oskar Berggren oskar.berggren at gmail.com
Thu Aug 4 09:59:17 EDT 2011


2011/8/4 Dale E. Moore <daleemoore at gmail.com>:
> Thanks Oskar;
> I was wondering about that. mod_mono is installed and this works:
>
> LakeNap2:/srv/www/htdocs # cat hiworld.aspx
> Hi ASPX World.
> http://localhost/hiworld.aspx
> Hi ASPX World.
>

Hmm, I don't think that proves much. I don't see any actual ASP.Net
code in that aspx. To me it looks simply like the web server is
reading the file and delivering it to the browser, with no use of
ASP.Net.

Hve you seen these instructions for setting up mod_mono with apache?
http://www.mono-project.com/Mod_mono

Some distributions may have done some part of this work, so you should
check for that also.

/Oskar



> So it would seem to me that ASP.NET is installed and running fine on this
> machine.
> Do you know if http://localhost/mvc2 the correct URL to use to access the
> Web Deployed MVC app?
> Dale
>
> On Thu, Aug 4, 2011 at 8:22 AM, Oskar Berggren <oskar.berggren at gmail.com>
> wrote:
>>
>> The problem doesn't really seem to be about monodevelop. It appears to
>> be a question of configuring your Apache properly to know about
>> asp.net applications. The guide you link to does not seem to mention
>> that.
>>
>> I don't have a ready link to give you, but google for some combo of
>> apache mono and asp.net and you should find some pointers.
>>
>> /Oskar
>>
>>
>> 2011/8/4 Dale E. Moore <daleemoore at gmail.com>:
>> > Hi All;
>> > http://monodevelop.com/Documentation/Creating_ASP.NET_Projects is a
>> > lovely
>> > tutorial and I used it to:
>> >
>> > create an "ASP.NET MVC Project;"
>> > run the project and browse http://127.0.0.1:8080/ without problem.
>> > setup the Web Deploy Target as root at localhost to /srv/www/htdocs/mvc2;
>> > mkdir /srv/www/htdocs/mvc2; Web Deploy
>> >
>> > browsing http://localhost/mvc2 gives me:
>> >>
>> >> Access forbidden!
>> >> You don't have permission to access the requested directory. There is
>> >> either no index document or the directory is read-protected.
>> >> If you think this is a server error, please contact the webmaster.
>> >> Error 403
>> >> localhost
>> >> Thu Aug 4 07:00:07 2011
>> >> Apache/2.2.17 (Linux/SUSE)
>> >
>> > As do http://localhost/mvc2/Views/,
>> >
>> > and http://localhost/mvc2/Views/Home/. But http://localhost/mvc2/Views/Home/Index.aspx is
>> > interesting in that Chrome hangs forever and never displays or does
>> > anything.
>> > Any suggestions you have for moving this simple ASP.NET MVC project out
>> > of
>> > DEV and into TEST or LIVE are very much appreciated!
>> > Dale E. Moore
>> > FYI:
>> > LakeNap2:/srv/www/htdocs # cat /etc/issue
>> > Welcome to openSUSE 11.4 "Celadon" - Kernel \r (\l).
>> > LakeNap2:/srv/www/htdocs # uname -a
>> > Linux LakeNap2 2.6.37.6-0.5-default #1 SMP 2011-04-25 21:48:33 +0200
>> > i686
>> > i686 i386 GNU/Linux
>> > LakeNap2:/srv/www/htdocs # mono --version
>> > Mono JIT compiler version 2.10.2 (tarball Mon Apr 18 15:16:33 UTC 2011)
>> > Copyright (C) 2002-2011 Novell, Inc and Contributors.
>> > www.mono-project.com
>> >         TLS:           __thread
>> >         SIGSEGV:       altstack
>> >         Notifications: epoll
>> >         Architecture:  x86
>> >         Disabled:      none
>> >         Misc:          debugger softdebug
>> >         LLVM:          yes(2.9svn-mono)
>> >         GC:            Included Boehm (with typed GC and Parallel Mark)
>> > LakeNap2:/srv/www/htdocs # zypper pa | grep mono | grep ^i
>> > i | mono-stable                      | apache2-mod_mono
>> >                    | 2.10-20.1                      | i586
>> > i | mono-stable                      | art-sharp2
>> >                    | 2.24.2-1.11                    | i586
>> > i | openSUSE-11.4-Oss                | evolution-mono-plugins
>> >                    | 2.32.1-9.12.1                  | i586
>> > i | openSUSE-11.4-11.4-0             | evolution-mono-plugins
>> >                    | 2.32.1-9.12.1                  | i586
>> > i | mono-stable                      | gconf-sharp2
>> >                    | 2.24.2-1.11                    | i586
>> > i | mono-stable                      | glade-sharp2
>> >                    | 2.12.10-27.11                  | i586
>> > i | mono-stable                      | glib-sharp2
>> >                   | 2.12.10-27.11                  | i586
>> > i | mono-stable                      | gnome-desktop-sharp2
>> >                    | 2.26.0-34.2                    | i586
>> > i | mono-stable                      | gnome-panel-sharp
>> >                   | 2.26.0-34.2                    | i586
>> > i | mono-stable                      | gnome-sharp2
>> >                    | 2.24.2-1.11                    | i586
>> > i | mono-stable                      | gnome-vfs-sharp2
>> >                    | 2.24.2-1.11                    | i586
>> > i | mono-stable                      | gtk-sharp2
>> >                    | 2.12.10-27.11                  | i586
>> > i | mono-stable                      | ibm-data-db2
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | ikvm
>> >                    | 0.42.0.6-4.1                   | noarch
>> > i | mono-stable                      | libgdiplus0
>> >                   | 2.10-30.2                      | i586
>> > i | mono-stable                      | libmono-2_0-1
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | libmono-2_0-devel
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | libmono-llvm0
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | libmonosgen-2_0-0
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | libmonosgen-2_0-devel
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | libmoon0
>> >                    | 2.4.1-1.5                      | i586
>> > i | mono-stable                      | mono-addins
>> >                   | 0.6.1-1.1                      | noarch
>> > i | mono-stable                      | mono-basic
>> >                    | 2.10-31.10                     | noarch
>> > i | mono-stable                      | mono-complete
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-core
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-data
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-data-oracle
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-data-postgresql
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-data-sqlite
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-debugger
>> >                   | 2.10-32.9                      | i586
>> > i | mono-stable                      | mono-devel
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-extras
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-locale-extras
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-mvc
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-nunit
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-tools
>> >                    | 2.10-35.9                      | noarch
>> > i | mono-stable                      | mono-wcf
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-web
>> >                    | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-winforms
>> >                   | 2.10.2-36.1                    | i586
>> > i | mono-stable                      | mono-winfxcore
>> >                    | 2.10.2-36.1                    | i586
>> > i | openSUSE-11.4-11.4-0             | mono-zeroconf
>> >                   | 0.9.0-8.2                      | noarch
>> > i | openSUSE-11.4-11.4-0             | mono-zeroconf-provider-avahi
>> >                    | 0.9.0-8.2                      | noarch
>> > i | monodevelop                      | monodevelop
>> >                   | 2.5.92-3.1                     | noarch
>> > i | monodevelop                      | monodevelop-database
>> >                    | 2.5.92-1.4                     | noarch
>> > i | monodevelop                      | monodevelop-java
>> >                    | 2.5.92-1.4                     | noarch
>> > i | monodevelop                      | monodevelop-python
>> >                    | 2.5.92-1.4                     | noarch
>> > i | monodevelop                      | monodevelop-vala
>> >                    | 2.5.92-1.4                     | noarch
>> > i | mono-stable                      | monodoc-core
>> >                    | 2.10.2-36.1                    | i586
>> > i | openSUSE-11.4-Oss                | monotorrent
>> >                   | 0.72-9.2                       | noarch
>> > i | mono-stable                      | moonlight-desktop
>> >                   | 2.4.1-1.5                      | i586
>> > i | mono-stable                      | ndesk-dbus
>> >                    | 0.6.0-8.3                      | noarch
>> > i | mono-stable                      | wnck-sharp
>> >                    | 2.26.0-34.2                    | i586
>> > i | mono-stable                      | xsp
>> >                   | 2.10.2-21.2                    | noarch
>> >
>> >
>> > _______________________________________________
>> > Monodevelop-list mailing list
>> > Monodevelop-list at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
>> >
>> >
>
>


More information about the Monodevelop-list mailing list