Re: [Mono-aspnet-list] Handling php in the same asp.net web site/application

2011-05-20 Thread cfi
Hi, here is my mod_mono.conf which works on my CentOS 5.5 with PHP 5.3 and ASP.NET 4 simultanously: IfModule !mod_mono.c LoadModule mono_module /usr/lib64/httpd/modules/mod_mono.so /IfModule IfModule mod_headers.c Header set X-Powered-By Mono /IfModule AddType application/x-asp-net

Re: [Mono-aspnet-list] .NET 3.5 webservice not working in Mono but works fine on ASP.NET server.

2011-05-20 Thread cfi
What OS are you using and how did you install mono? If you are on RHEL/CentOS it is may be the same problem I had: http://mono.1490590.n4.nabble.com/Mono-2-10-under-RHEL-5-2-Could-not-load-file-or-assembly-System-IdentityModel-tp3345805p3345805.html;cid=1305881511803-910 See my old threat If

Re: [Mono-aspnet-list] .NET 3.5 webservice not working in Mono but works fine on ASP.NET server.

2011-05-20 Thread Travis959
I am running CentOS. As for how it was installed, I'm not sure, I had the host do it as I could not get it to run. However, I did manually copy all the files from the /opt/mono/lib/mono/gac to /opt/novell/mono/lib/mono/gac and I back to the same two errors I originally posted about. -- View this

Re: [Mono-aspnet-list] .NET 3.5 webservice not working in Mono but works fine on ASP.NET server.

2011-05-20 Thread cfi
As I described in my other thread, the files are missing in the RHEL/CentOS package and to fix that do the following: 1) Download and start the 2.10.2 VM from http://www.go-mono.com/mono-downloads/download.html 3) copy the /usr/lib/mono folder to a TMP-Folder some where (on my local Workstation

Re: [Mono-aspnet-list] .NET 3.5 webservice not working in Mono but works fine on ASP.NET server.

2011-05-20 Thread Travis959
I did the above, even copying the entire folder, still same error: Object reference not set to an instance of an object. However, I notice if I don't use it for a while is when I get the earlier error I talked about which I have here: System.Runtime.Serialization.ExtensionDataObject cannot be

Re: [Mono-dev] Platform independence of mono assemblies

2011-05-20 Thread Miguel de Icaza
Hello, In Fedora, the assemblies are treated as architecture-dependent and so they (including the GAC) are put into %{_libdir} which is /usr/lib64 on x86_64 systems. However, it seems to be the standard for mono to place the assemblies under %{_prefix}/lib/, regardless of the architecture.

Re: [Mono-dev] JIT register binding

2011-05-20 Thread Miguel de Icaza
Hello Konrad, Problem is very common for all programs that do a lot of computations. Agree, this may be minority of software runned on Mono, but still. Could you try the same code, but using LLVM as the code generation engine? But I do agree that it would be nice to fix it in the regular

[Mono-list] C to Mono interop passing a byte array

2011-05-20 Thread Mike D
I am trying to pass a byte array (image data) from C/Obj-C to managed using mono_runtime_invoke. I can get a hold of the MonoMethod which has a byte[] as a parameter and I can call the method but when I try to use the byte[] in any way on the C# end I get an instant crash. Are there any examples

[Mono-list] Cross-platform ctrl-c handling in console app

2011-05-20 Thread Weeble
What's a good way to write a cross-platform (for at least Windows and Linux, anyway) console app that terminates cleanly when the user presses ctrl+c? On Windows under .NET I can register an event-handler for Console.CancelKeyPressed. I assume this would work with Mono on Windows as well, but Mono

Re: [Mono-list] C to Mono interop passing a byte array

2011-05-20 Thread Jonathan Pryor
On May 20, 2011, at 5:00 AM, Mike D wrote: I am trying to pass a byte array (image data) from C/Obj-C to managed using mono_runtime_invoke. I can get a hold of the MonoMethod which has a byte[] as a parameter and I can call the method but when I try to use the byte[] in any way on the C# end

Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Stifu
Hi, How about trying your .NET app with Mono? That'd be quite a good test. Anyway, wouldn't trying to fix the performance issues of your app be a priority over adding more features? By the way, Mono is an open source project, and Attachmate can't do anything about that. They only own the

Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Alan
Hi, For performance issues you should use a profiler and optimise as appropriate. This is the same procedure no matter what programming language you use. The odds are high that the issue is an algorithmic one and so the issue would be the same regardless of programming language. Secondly,

Re: [Mono-list] Cross-platform ctrl-c handling in console app

2011-05-20 Thread Miguel de Icaza
Hello, That is how the cancelled event works on Linux. I used this in the REPL to interrupt an ongoing computation, see: mono/mcs/tools/csharp/getline.cs On Fri, May 20, 2011 at 6:41 AM, Weeble clockworksa...@gmail.com wrote: What's a good way to write a cross-platform (for at least

[Mono-list] Debuggin crosscompiled Binary

2011-05-20 Thread crosscompile
Hi, my Application crashes when I start some calls to winmm.dll, and I don't have a clue where. So I like to step through the program. The Binary that crashes is a build of Linux continues build server, which is compiling for Windows. The Program runs fine when I compile on Windows via Mono. So

Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Mike Christensen
Sorry to hi-jack the thread, just a quick question.. Are the iOS and Android Mono Frameworks that Xamarin is creating a totally different code-base from MonoTouch and MonoDroid? What has become of the formerly Novell owned MonoTouch/Droid products? Are those just being scrapped completely? If

[Mono-list] Reflector alternative

2011-05-20 Thread dedi
Hi guys, Just want to know, is there any alternative to RedGate's Reflector or maybe similiar with that? I'm not sure if there is a gui based running on Linux. Thanks, Dedi ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-list] Reflector alternative

2011-05-20 Thread Alex
Hi, There are these: http://wiki.sharpdevelop.net/ilspy.ashx http://www.jetbrains.com/decompiler/ Regards, Alex 2011/5/21 dedi mdedirudia...@gmail.com: Hi guys, Just want to know, is there any alternative to RedGate's Reflector or maybe similiar with that? I'm not sure if there is a gui

Re: [Mono-list] Reflector alternative

2011-05-20 Thread Federico Delgado
Telerik is also offering one. http://www.telerik.com/products/decompiling.aspx http://www.telerik.com/products/decompiling.aspxbut I haven't tried it yet. In fact I don't know how or if any of those work with mono assemblies or under Linux. On Fri, May 20, 2011 at 8:25 PM, Alex

Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Mike Christensen
On Fri, May 20, 2011 at 4:38 PM, Bojan Rajkovic brajko...@coderinserepeat.com wrote: On May 20, 2011, at 7:08 PM, Mike Christensen wrote: Sorry to hi-jack the thread, just a quick question.. Are the iOS and Android Mono Frameworks that Xamarin is creating a totally different code-base from

Re: [Mono-list] Reflector alternative

2011-05-20 Thread Federico Delgado
very (very) quick test. - Jetbrains product seem to use wpf (from the zip content) - Telerik's provides an MSI. Trying to install it with Wine fails while checking for the presence of framework 4.0 - ILSpy didn't run but that might be my runtime version (fresh installed ubuntu 11.04) On Fri,

Re: [Mono-list] Suitability of Mono

2011-05-20 Thread jmalcolm
Yogi Yang wrote: I am told by my boss to evaluate Mono whether it will be suitable for such a complex system or not? But then while searching on net I read somewhere that Mono's future is not very clean now that Attachment has acquired it. I would like input from community on this.

Re: [Mono-list] Suitability of Mono

2011-05-20 Thread jmalcolm
Mike Christensen-2 wrote: Are the iOS and Android Mono Frameworks that Xamarin is creating a totally different code-base from MonoTouch and MonoDroid? What has become of the formerly Novell owned MonoTouch/Droid products? Are those just being scrapped completely? If these are going to

Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Lee Fisher
Open source GPL edition aside, open source community health aside, technical suitability aside, and Xamian busiess model aside, what about legal suitability for commercial Mono-based ISVs, and the customers of their products? Previously, Novell was an OIN member, and had some agreements with

Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Mike Christensen
On Fri, May 20, 2011 at 5:25 PM, jmalcolm malcolm.jus...@gmail.com wrote: Mike Christensen-2 wrote: Are the iOS and Android Mono Frameworks that Xamarin is creating a totally different code-base from MonoTouch and MonoDroid?  What has become of the formerly Novell owned MonoTouch/Droid

Re: [Mono-list] Reflector alternative

2011-05-20 Thread Alex
Hi, For what it's worth. ICSharpCode.Decompiler does run under Mono (and uses Mono.Cecil) - we use it in SL#. I don't know about the UI though. Could you give some more information on the failed run? Regards, Alex 2011/5/21 Federico Delgado flaker.kap...@gmail.com: very (very) quick test. -

Re: [Mono-list] Reflector alternative

2011-05-20 Thread Federico Delgado
sure. No problem: fd@host:~/decomp/dotPeek$ mono dotPeek.exe WARNING: The runtime version supported by this application is unavailable. Using default runtime: v1.1.4322 The assembly mscorlib.dll was not found or could not be loaded. I haven't tried but I am almost sure it is because Ubuntu's

Re: [Mono-list] Reflector alternative

2011-05-20 Thread Abe Gillespie
Man am I irked by Redgate! Reflector checks for updates every time it runs and there's no way to turn it off. I was annoyed after ignoring it a dozen times and updated. Lo and behold I no longer have decompilation. Shady. On Fri, May 20, 2011 at 9:50 PM, Federico Delgado