From kiran.polavarapu at gmail.com Fri Jun 1 05:03:16 2007 From: kiran.polavarapu at gmail.com (Kiran Polavarapu) Date: Fri, 1 Jun 2007 02:03:16 -0700 Subject: [Mono-list] Basic Question Message-ID: <82e882510706010203j63e75ae7v7528a87870bd0f5f@mail.gmail.com> Hi All, I am very new to Mono and have a very quick question. I just ran the Mono Migration Analyzer and found that some of the methods in my .dll's are not supported. Does this stop me from using Mono to host my web application? Does this apply if Mono runs the already deployed web application (without having to recompile?). I presume that the unsupported methods come into picture if the code is compiled my Mono. Please let me know. Thanks, Kiran. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070601/fcfb3404/attachment.html From robertj at gmx.net Fri Jun 1 05:26:08 2007 From: robertj at gmx.net (Robert Jordan) Date: Fri, 01 Jun 2007 11:26:08 +0200 Subject: [Mono-list] Basic Question In-Reply-To: <82e882510706010203j63e75ae7v7528a87870bd0f5f@mail.gmail.com> References: <82e882510706010203j63e75ae7v7528a87870bd0f5f@mail.gmail.com> Message-ID: Kiran Polavarapu wrote: > Hi All, > > I am very new to Mono and have a very quick question. I just ran the Mono > Migration Analyzer and found that some of the methods in my .dll's are not > supported. Does this stop me from using Mono to host my web application? It will most likely prevent you from using the app, but it depends on the status of the unsupported method. If it's marked with TODO, it might work. If it's missing or when it's marked as throwing NIE (NotImplementedException), the app will definitely not run. > Does this apply if Mono runs the already deployed web application (without > having to recompile?). I presume that the unsupported methods come into > picture if the code is compiled my Mono. Please let me know. It's irrelevant how the application was compiled. If some methods are missing from Mono, you won't be even able to compile the app using Mono. Robert From P.Bradley at dsl.pipex.com Fri Jun 1 14:51:57 2007 From: P.Bradley at dsl.pipex.com (Peter Bradley) Date: Fri, 01 Jun 2007 19:51:57 +0100 Subject: [Mono-list] Mono downloads via YaST Message-ID: <46606ACD.1060507@dsl.pipex.com> Hi, I have SuSE 10.0 running on an HP AMD64 x 2 box and I would really like to get hold of the latest versions of Mono and Monodevelop. On the downloads page for the 64 bit version, there are instructions as follows: This distro supports installing packages via YaST. Add the following installation source to YaST: * http://go-mono.com/download-stable/suse-100-x86_64 For assistance with using repositories and installing packages with YaST, visit this link: [1] The url appears to be a reference to the page on which it appears - i.e. it is self-referential. Neither does it appear to work in YaST: for me, at any rate. Here's what I tried: In YaST --> Software --> Installation Source, I clicked on add --> http and, in the dialog that appears added the following details: Server Name: go-mono.com Directory on server: download-stable/suse-100-x86_64 After clicking OK in the dialog, it went away and thought about it for a while and then added 27 identical URLs to the list in the Software source media dialog. The URLs added are all listed (immediately after the line specifying my installation DVD source) as: http://go-mono.com/download-stable/suse-100-x86_64 (which, I guess, is what you'd expect except that I was only expecting it to add a single line) I then turned refresh on for each of these entries and clicked Finish. Back in the YaST Control Centre I chose Software Management. YaST then tried to refresh each of these sources. On every attempt, the error message: ERROR(InstSrc:E_no_instsrc_on_media) was displayed. Very user friendly, I thought :-) When I eventually got back to YaST, nothing from this installation source appeared to be displayed (i.e. there was nothing I could see that indicated that I had any version of Mono available to me except 1.1.8x that I had from the installation DVD, and which I had uninstalled prior to adding the new source). The source column in YaST was empty in all cases. Finally, just for the heck of it, I turned refresh off and tried again. The result was the same. Does anyone know what the undoubtedly obvious thing is that I've missed? I've also posted to the opensuse list, in case it's a YaST problem. Hopefully these two lists don't overlap sufficiently for this to be a problem. Please let me know if it is, and I'll kill one of the threads. Thanks. Peter From miguel at ximian.com Fri Jun 1 18:06:21 2007 From: miguel at ximian.com (Miguel de Icaza) Date: Fri, 01 Jun 2007 18:06:21 -0400 Subject: [Mono-list] Ximian services (SVN, mailing lists) down for the weekend. Message-ID: <1180735581.4099.114.camel@erandi.dom> Hello folks, I have just been told that the network at the Ximian/Novell office in Cambridge (where the Mono mailing lists, web site and Subversion repositories). It is unfortunate that I only learned about this minutes before the network was supposed to go down, so I could not make alternative plans for the Mono web site. Miguel. From steven.martin at 4productions.co.uk Mon Jun 4 06:24:40 2007 From: steven.martin at 4productions.co.uk (Steve Martin) Date: Mon, 04 Jun 2007 11:24:40 +0100 Subject: [Mono-list] Failing to get mod_mono on apache2 on ubuntu 7.04 working In-Reply-To: <32019.31482.qm@web57303.mail.re1.yahoo.com> References: <32019.31482.qm@web57303.mail.re1.yahoo.com> Message-ID: <4663E868.5010004@4productions.co.uk> I'm having a similar problem with Ubuntu - when i try access my enabled site I get this error:- Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. ------------------------------------------------------------------------ Apache/2.2.3 (Ubuntu) mod_mono/1.2.1 Server at 192.168.1.2 Port 80 This error message is contained in the /etc/mono-server2/mono-server2-hosts.conf file, but I'm not sure what's causing it. > I'm new to Linux and Mono, so apologies if this is a stupid > question. I've read various posts on mod_mono on Ubuntu/apache2 and I > still can't get it to work correctly. XSP2 works beautifully but I > want to use apache2. I've installed the mono packages using Synaptic. > > I set up a site called gallery and when I go to > http://localhost/gallery/default.aspx, I get the firefox dialog box to > open or save default.aspx. So default.aspx or any asp.net page is not > getting processed. > > I see this error in /var/log/apache2/error.log: > *[Wed May 23 23:36:19 2007] [error] Failed running > '/usr/lib/pkgconfig/../../bin/mod-mono-server --filename > /tmp/mod_mono_server_gallery --applications > /gallery:/storage/Data/www/Gallery --nonstop (null) (null) (null) > (null) (null) (null) (null)'. Reason: No such file or directory* > > I see this process running: > > *www-data 13037 0.2 1.4 22520 10988 ? Ssl 23:36 0:00 /usr/bin/cli > /usr/lib/mono/2.0/mod-mono-server2.exe --filename > /tmp/.mod_mono_server2 --nonstop --appconfigdir /etc/mono-server2 > --master* > > My /etc/apache2/sites-available/default file has the following entry > for my app: > *Alias /gallery "/storage/Data/www/Gallery" > AddMonoApplications gallery "/gallery:/storage/Data/www/Gallery" > > #Options Indexes MultiViews FollowSymLinks > SetHandler mono > * > > So as far as I can tell, everything is set up correctly. But ASP.NET > pages are not being process by apache/mod_mono. I'm new to > Linux/Apache so I may have screwed something up. > > > Can anyone tell me how to get this working? > > > ---- > version info: > mono --version: Mono JIT compiler version 1.2.3.1 > mono-apache-server2: 1.2.1 > libapache2-mod-mon: 1.2.1-1.1 > > > Finding fabulous fares is fun. > Let Yahoo! FareChase search your favorite travel sites > > to find flight and hotel bargains. > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From jacobopolavieja at gmail.com Sat Jun 2 07:41:37 2007 From: jacobopolavieja at gmail.com (Jacobo Polavieja) Date: Sat, 02 Jun 2007 13:41:37 +0200 Subject: [Mono-list] del.icio.us library? In-Reply-To: <1177655892.15009.4.camel@tibuntu> References: <461955A2.3010304@gmail.com> <461E7DAC.10902@gmail.com> <462E69F8.5060800@gmail.com> <1177655892.15009.4.camel@tibuntu> Message-ID: <46615771.5000509@gmail.com> Hi Timothy, I've been experimenting the same problem as yours... Did you find a solution? I've been trying specificating some proxies but that didn't work neither. I'm a completely newbie in C# (this is my first "program") and don't know how to address the problem. Any tip would be a lot a of help. Thanks. Cheers! Timothy Parez escribi?: > Hi, > > I checked out the current SVN and tried the following > // project created on 4/27/2007 at 8:25 AM > > using System; > using Deveel.Delicious; > namespace DelTest > { > class MainClass > { > public static void Main(string[] args) > { > DeliciousClient client = new > DeliciousClient("myusernamehere","myverysecretpass"); > Console.ReadLine(); > DeliciousPostCollection posts = client.GetAllPosts(); > > foreach(DeliciousPost post in posts) > { > Console.WriteLine("{0}\n > \t{1}",post.Description,post.Url.ToString()); > } > Console.ReadLine(); > Console.WriteLine("done"); > } > } > } > > I get the following: > Unhandled Exception: Deveel.Delicious.DeliciousClientException: Error > getting response stream (Trust failure): TrustFailure > at Deveel.Delicious.DeliciousClient.GetAllPosts (System.String tag) > [0x00000] > at Deveel.Delicious.DeliciousClient.GetAllPosts () [0x00000] > at DelTest.MainClass.Main (System.String[] args) [0x00016] > in /home/timothy/sources/delicious/DelTest/DelTest/Main.cs:12 > > but my username/password configuration is correct, unless I need to > specify it in a different way ? > > Looking forward to using this library !! :) > > Timothy. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From timothy at saneprojects.be Sat Jun 2 20:15:01 2007 From: timothy at saneprojects.be (Timothy Parez) Date: Sun, 03 Jun 2007 02:15:01 +0200 Subject: [Mono-list] del.icio.us library? In-Reply-To: <46615771.5000509@gmail.com> References: <461955A2.3010304@gmail.com> <461E7DAC.10902@gmail.com> <462E69F8.5060800@gmail.com> <1177655892.15009.4.camel@tibuntu> <46615771.5000509@gmail.com> Message-ID: <1180829701.16328.1.camel@tibuntu> Hi, I got the code working on Windows without any problems (using .NET) I will test the code using mono to see wether this is Linux specific or not. If so, it might be due to a bug in mono... but I don't know at this time. I'll check it out. Currently using the library for my ASP.NET 2.0 blog system. On Sat, 2007-06-02 at 13:41 +0200, Jacobo Polavieja wrote: > Hi Timothy, > > I've been experimenting the same problem as yours... Did you find a > solution? I've been trying specificating some proxies but that didn't > work neither. I'm a completely newbie in C# (this is my first "program") > and don't know how to address the problem. > > Any tip would be a lot a of help. > > Thanks. Cheers! > > > Timothy Parez escribi?: > > Hi, > > > > I checked out the current SVN and tried the following > > // project created on 4/27/2007 at 8:25 AM > > > > using System; > > using Deveel.Delicious; > > namespace DelTest > > { > > class MainClass > > { > > public static void Main(string[] args) > > { > > DeliciousClient client = new > > DeliciousClient("myusernamehere","myverysecretpass"); > > Console.ReadLine(); > > DeliciousPostCollection posts = client.GetAllPosts(); > > > > foreach(DeliciousPost post in posts) > > { > > Console.WriteLine("{0}\n > > \t{1}",post.Description,post.Url.ToString()); > > } > > Console.ReadLine(); > > Console.WriteLine("done"); > > } > > } > > } > > > > I get the following: > > Unhandled Exception: Deveel.Delicious.DeliciousClientException: Error > > getting response stream (Trust failure): TrustFailure > > at Deveel.Delicious.DeliciousClient.GetAllPosts (System.String tag) > > [0x00000] > > at Deveel.Delicious.DeliciousClient.GetAllPosts () [0x00000] > > at DelTest.MainClass.Main (System.String[] args) [0x00016] > > in /home/timothy/sources/delicious/DelTest/DelTest/Main.cs:12 > > > > but my username/password configuration is correct, unless I need to > > specify it in a different way ? > > > > Looking forward to using this library !! :) > > > > Timothy. > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > --------------------------------- > > WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. > > Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments > From xcap2000 at gmail.com Sun Jun 3 12:36:49 2007 From: xcap2000 at gmail.com (Carlos Adriano Portes) Date: Sun, 3 Jun 2007 13:36:49 -0300 Subject: [Mono-list] Difference? Message-ID: <9a034090706030936j734f7f6cj1df0861309f8670c@mail.gmail.com> What is the difference of Maintenance and Stable version? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070603/fee26da6/attachment.html From abe.gillespie at gmail.com Sat Jun 2 16:11:30 2007 From: abe.gillespie at gmail.com (Abe Gillespie) Date: Sat, 2 Jun 2007 16:11:30 -0400 Subject: [Mono-list] apt-get equivalent on Red Hat Message-ID: I'm use to using Debian-based distros (mostly Ubuntu). I just recently setup a hosted account at eApps and would like to get Mono running. I have root access to my virtual server so installing whatever I want is no problem. I'd like to avoid installing all the various dependency libraries by hand (enter apt-get-like app) and typically install Mono via source. Thanks for the help. -Abe From chilli.coder at gmail.com Mon Jun 4 13:14:40 2007 From: chilli.coder at gmail.com (Martin Trejo) Date: Mon, 4 Jun 2007 12:14:40 -0500 Subject: [Mono-list] apt-get equivalent on Red Hat In-Reply-To: References: Message-ID: <5ee1f7ad0706041014r48e0fc79gab98f5ffebfec9aa@mail.gmail.com> Hi Abe, >From the subject, the option in RH is rpm system and the rpm command. Not a brainer. 2007/6/2, Abe Gillespie : > > I'm use to using Debian-based distros (mostly Ubuntu). I just > recently setup a hosted account at eApps and would like to get Mono > running. I have root access to my virtual server so installing > whatever I want is no problem. > > I'd like to avoid installing all the various dependency libraries by > hand (enter apt-get-like app) and typically install Mono via source. Then you should setup a compiling environment (subversion client, bintools, autotools, etc) and follow the instructions at http://www.mono-project.com/Compiling_Mono and optionally these http://www.mono-project.com/Parallel_Mono_Environments Thanks for the help. > -Abe Hope it really helps! Any doubt please ask. _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -- Saludos, Mart?n Trejo Ch?vez http://chilli-coder.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070604/68c08f3d/attachment.html From miguel at ximian.com Sat Jun 2 11:37:47 2007 From: miguel at ximian.com (Miguel de Icaza) Date: Sat, 02 Jun 2007 11:37:47 -0400 Subject: [Mono-list] Ximian services Update (SVN, mailing lists) In-Reply-To: <1180735581.4099.114.camel@erandi.dom> References: <1180735581.4099.114.camel@erandi.dom> Message-ID: <1180798667.9389.0.camel@erandi.dom> Hello, The Subversion repository is back up in the new location. They might need to recable it, so the service might go down for a few minutes today, but should not take more than that. Miguel From jacobopolavieja at gmail.com Sun Jun 3 06:21:01 2007 From: jacobopolavieja at gmail.com (Jacobo Polavieja) Date: Sun, 03 Jun 2007 12:21:01 +0200 Subject: [Mono-list] del.icio.us library? In-Reply-To: <1180829701.16328.1.camel@tibuntu> References: <461955A2.3010304@gmail.com> <461E7DAC.10902@gmail.com> <462E69F8.5060800@gmail.com> <1177655892.15009.4.camel@tibuntu> <46615771.5000509@gmail.com> <1180829701.16328.1.camel@tibuntu> Message-ID: <4662960D.1010008@gmail.com> Thank you a lot! I'll try to run it on Windows and see if it works. If it does I'll try to see where is the problem using it with Mono. If you know something, please let know. Thanks! Timothy Parez escribi?: > Hi, > I got the code working on Windows without any problems (using .NET) > I will test the code using mono to see wether this is Linux specific or > not. If so, it might be due to a bug in mono... but I don't know at this > time. I'll check it out. > > Currently using the library for my ASP.NET 2.0 blog system. > > On Sat, 2007-06-02 at 13:41 +0200, Jacobo Polavieja wrote: >> Hi Timothy, >> >> I've been experimenting the same problem as yours... Did you find a >> solution? I've been trying specificating some proxies but that didn't >> work neither. I'm a completely newbie in C# (this is my first "program") >> and don't know how to address the problem. >> >> Any tip would be a lot a of help. >> >> Thanks. Cheers! >> >> >> Timothy Parez escribi?: >>> Hi, >>> >>> I checked out the current SVN and tried the following >>> // project created on 4/27/2007 at 8:25 AM >>> >>> using System; >>> using Deveel.Delicious; >>> namespace DelTest >>> { >>> class MainClass >>> { >>> public static void Main(string[] args) >>> { >>> DeliciousClient client = new >>> DeliciousClient("myusernamehere","myverysecretpass"); >>> Console.ReadLine(); >>> DeliciousPostCollection posts = client.GetAllPosts(); >>> >>> foreach(DeliciousPost post in posts) >>> { >>> Console.WriteLine("{0}\n >>> \t{1}",post.Description,post.Url.ToString()); >>> } >>> Console.ReadLine(); >>> Console.WriteLine("done"); >>> } >>> } >>> } >>> >>> I get the following: >>> Unhandled Exception: Deveel.Delicious.DeliciousClientException: Error >>> getting response stream (Trust failure): TrustFailure >>> at Deveel.Delicious.DeliciousClient.GetAllPosts (System.String tag) >>> [0x00000] >>> at Deveel.Delicious.DeliciousClient.GetAllPosts () [0x00000] >>> at DelTest.MainClass.Main (System.String[] args) [0x00016] >>> in /home/timothy/sources/delicious/DelTest/DelTest/Main.cs:12 >>> >>> but my username/password configuration is correct, unless I need to >>> specify it in a different way ? >>> >>> Looking forward to using this library !! :) >>> >>> Timothy. >>> >>> _______________________________________________ >>> Mono-list maillist - Mono-list at lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >> >> >> >> >> >> >> --------------------------------- >> >> WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. >> >> Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments >> > > From abe.gillespie at gmail.com Mon Jun 4 14:41:18 2007 From: abe.gillespie at gmail.com (Abe Gillespie) Date: Mon, 4 Jun 2007 14:41:18 -0400 Subject: [Mono-list] apt-get equivalent on Red Hat In-Reply-To: <5ee1f7ad0706041014r48e0fc79gab98f5ffebfec9aa@mail.gmail.com> References: <5ee1f7ad0706041014r48e0fc79gab98f5ffebfec9aa@mail.gmail.com> Message-ID: I thought RPM only had the capability of installing already-downloaded RPM packages. I was hoping more of something were I just mark the various packages I need and it goes out to the central repository, downloads them all, and installs. I don't really want to download and maintain a bunch of different RPMs myself. -Abe On 6/4/07, Martin Trejo wrote: > Hi Abe, > > From the subject, the option in RH is rpm system and the rpm command. Not a > brainer. > > > > 2007/6/2, Abe Gillespie : > > I'm use to using Debian-based distros (mostly Ubuntu). I just > > recently setup a hosted account at eApps and would like to get Mono > > running. I have root access to my virtual server so installing > > whatever I want is no problem. > > > > I'd like to avoid installing all the various dependency libraries by > > hand (enter apt-get-like app) and typically install Mono via source. > > Then you should setup a compiling environment (subversion client, bintools, > autotools, etc) and follow the instructions at > http://www.mono-project.com/Compiling_Mono and optionally > these > http://www.mono-project.com/Parallel_Mono_Environments > > > Thanks for the help. > > -Abe > > > Hope it really helps! Any doubt please ask. > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > -- > Saludos, > > Mart?n Trejo Ch?vez > http://chilli-coder.blogspot.com From ruebenramirez at gmail.com Mon Jun 4 14:47:20 2007 From: ruebenramirez at gmail.com (Rueben Ramirez) Date: Mon, 4 Jun 2007 13:47:20 -0500 Subject: [Mono-list] apt-get equivalent on Red Hat In-Reply-To: References: <5ee1f7ad0706041014r48e0fc79gab98f5ffebfec9aa@mail.gmail.com> Message-ID: Abe Unless you use a gui like YaST, it sounds like you would be better off working with a Debian-based linux distro. Rueben On 6/4/07, Abe Gillespie wrote: > > I thought RPM only had the capability of installing already-downloaded > RPM packages. I was hoping more of something were I just mark the > various packages I need and it goes out to the central repository, > downloads them all, and installs. I don't really want to download and > maintain a bunch of different RPMs myself. > > -Abe > > On 6/4/07, Martin Trejo wrote: > > Hi Abe, > > > > From the subject, the option in RH is rpm system and the rpm command. > Not a > > brainer. > > > > > > > > 2007/6/2, Abe Gillespie : > > > I'm use to using Debian-based distros (mostly Ubuntu). I just > > > recently setup a hosted account at eApps and would like to get Mono > > > running. I have root access to my virtual server so installing > > > whatever I want is no problem. > > > > > > I'd like to avoid installing all the various dependency libraries by > > > hand (enter apt-get-like app) and typically install Mono via source. > > > > Then you should setup a compiling environment (subversion client, > bintools, > > autotools, etc) and follow the instructions at > > http://www.mono-project.com/Compiling_Mono and optionally > > these > > http://www.mono-project.com/Parallel_Mono_Environments > > > > > Thanks for the help. > > > -Abe > > > > > > Hope it really helps! Any doubt please ask. > > > > > _______________________________________________ > > > Mono-list maillist - Mono-list at lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > > -- > > Saludos, > > > > Mart?n Trejo Ch?vez > > http://chilli-coder.blogspot.com > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070604/a354b1fd/attachment-0001.html From abe.gillespie at gmail.com Mon Jun 4 14:57:52 2007 From: abe.gillespie at gmail.com (Abe Gillespie) Date: Mon, 4 Jun 2007 14:57:52 -0400 Subject: [Mono-list] apt-get equivalent on Red Hat In-Reply-To: References: <5ee1f7ad0706041014r48e0fc79gab98f5ffebfec9aa@mail.gmail.com> Message-ID: Is there no command line version of YaST (like apt-get has dselect)? What about tools like Red Carpet? Thanks! On 6/4/07, Rueben Ramirez wrote: > Abe > Unless you use a gui like YaST, it sounds like you would be better off > working with a Debian-based linux distro. > > Rueben > > > On 6/4/07, Abe Gillespie wrote: > > I thought RPM only had the capability of installing already-downloaded > > RPM packages. I was hoping more of something were I just mark the > > various packages I need and it goes out to the central repository, > > downloads them all, and installs. I don't really want to download and > > maintain a bunch of different RPMs myself. > > > > -Abe > > > > On 6/4/07, Martin Trejo wrote: > > > Hi Abe, > > > > > > From the subject, the option in RH is rpm system and the rpm command. > Not a > > > brainer. > > > > > > > > > > > > 2007/6/2, Abe Gillespie : > > > > I'm use to using Debian-based distros (mostly Ubuntu). I just > > > > recently setup a hosted account at eApps and would like to get Mono > > > > running. I have root access to my virtual server so installing > > > > whatever I want is no problem. > > > > > > > > I'd like to avoid installing all the various dependency libraries by > > > > hand (enter apt-get-like app) and typically install Mono via source. > > > > > > Then you should setup a compiling environment (subversion client, > bintools, > > > autotools, etc) and follow the instructions at > > > http://www.mono-project.com/Compiling_Mono and > optionally > > > these > > > http://www.mono-project.com/Parallel_Mono_Environments > > > > > > > Thanks for the help. > > > > -Abe > > > > > > > > > Hope it really helps! Any doubt please ask. > > > > > > > _______________________________________________ > > > > Mono-list maillist - Mono-list at lists.ximian.com > > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > > > > > > > -- > > > Saludos, > > > > > > Mart?n Trejo Ch?vez > > > http://chilli-coder.blogspot.com > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > From etil15 at gmail.com Mon Jun 4 14:45:11 2007 From: etil15 at gmail.com (Manuel de la Pena) Date: Mon, 4 Jun 2007 19:45:11 +0100 Subject: [Mono-list] apt-get equivalent on Red Hat In-Reply-To: References: <5ee1f7ad0706041014r48e0fc79gab98f5ffebfec9aa@mail.gmail.com> Message-ID: I believe you should be usegin yum, it works preaty much like apt. On 4 Jun 2007, at 19:41, Abe Gillespie wrote: > I thought RPM only had the capability of installing already-downloaded > RPM packages. I was hoping more of something were I just mark the > various packages I need and it goes out to the central repository, > downloads them all, and installs. I don't really want to download and > maintain a bunch of different RPMs myself. > > -Abe > > On 6/4/07, Martin Trejo wrote: >> Hi Abe, >> >> From the subject, the option in RH is rpm system and the rpm >> command. Not a >> brainer. >> >> >> >> 2007/6/2, Abe Gillespie : >>> I'm use to using Debian-based distros (mostly Ubuntu). I just >>> recently setup a hosted account at eApps and would like to get Mono >>> running. I have root access to my virtual server so installing >>> whatever I want is no problem. >>> >>> I'd like to avoid installing all the various dependency libraries by >>> hand (enter apt-get-like app) and typically install Mono via source. >> >> Then you should setup a compiling environment (subversion client, >> bintools, >> autotools, etc) and follow the instructions at >> http://www.mono-project.com/Compiling_Mono and optionally >> these >> http://www.mono-project.com/Parallel_Mono_Environments >> >>> Thanks for the help. >>> -Abe >> >> >> Hope it really helps! Any doubt please ask. >> >>> _______________________________________________ >>> Mono-list maillist - Mono-list at lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >> >> >> >> -- >> Saludos, >> >> Mart?n Trejo Ch?vez >> http://chilli-coder.blogspot.com > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From adrien.dessemond at softhome.net Mon Jun 4 15:17:08 2007 From: adrien.dessemond at softhome.net (Adrien Dessemond) Date: Mon, 4 Jun 2007 15:17:08 -0400 (EDT) Subject: [Mono-list] apt-get equivalent on Red Hat In-Reply-To: References: <5ee1f7ad0706041014r48e0fc79gab98f5ffebfec9aa@mail.gmail.com> Message-ID: <48743.198.168.250.7.1180984628.squirrel@pro.SoftHome.net> On Mon, June 4, 2007 2:47 pm, Rueben Ramirez wrote: Hello, > Abe > Unless you use a gui like YaST, it sounds like you would be better off > working with a Debian-based linux distro. Could "Yum" be a solution ? Kind regards, Adrien From etil15 at gmail.com Mon Jun 4 15:28:20 2007 From: etil15 at gmail.com (Manuel de la Pena) Date: Mon, 4 Jun 2007 20:28:20 +0100 Subject: [Mono-list] apt-get equivalent on Red Hat In-Reply-To: References: <5ee1f7ad0706041014r48e0fc79gab98f5ffebfec9aa@mail.gmail.com> Message-ID: <9BD39624-FB8B-4B75-9522-6955A8F3976D@gmail.com> Check out his webpage it should be useful http:// liquidat.wordpress.com/2005/10/16/setting-up-yum-on-suse-linux-100-3/ On 4 Jun 2007, at 20:04, Abe Gillespie wrote: > Excellent! I'll give it a look. > > Thanks all for the help! > -Abe > > On 6/4/07, Manuel de la Pena wrote: >> I believe you should be usegin yum, it works preaty much like apt. >> >> On 4 Jun 2007, at 19:41, Abe Gillespie wrote: >> >> > I thought RPM only had the capability of installing already- >> downloaded >> > RPM packages. I was hoping more of something were I just mark the >> > various packages I need and it goes out to the central repository, >> > downloads them all, and installs. I don't really want to >> download and >> > maintain a bunch of different RPMs myself. >> > >> > -Abe >> > >> > On 6/4/07, Martin Trejo wrote: >> >> Hi Abe, >> >> >> >> From the subject, the option in RH is rpm system and the rpm >> >> command. Not a >> >> brainer. >> >> >> >> >> >> >> >> 2007/6/2, Abe Gillespie : >> >>> I'm use to using Debian-based distros (mostly Ubuntu). I just >> >>> recently setup a hosted account at eApps and would like to get >> Mono >> >>> running. I have root access to my virtual server so installing >> >>> whatever I want is no problem. >> >>> >> >>> I'd like to avoid installing all the various dependency >> libraries by >> >>> hand (enter apt-get-like app) and typically install Mono via >> source. >> >> >> >> Then you should setup a compiling environment (subversion client, >> >> bintools, >> >> autotools, etc) and follow the instructions at >> >> http://www.mono-project.com/Compiling_Mono and optionally >> >> these >> >> http://www.mono-project.com/Parallel_Mono_Environments >> >> >> >>> Thanks for the help. >> >>> -Abe >> >> >> >> >> >> Hope it really helps! Any doubt please ask. >> >> >> >>> _______________________________________________ >> >>> Mono-list maillist - Mono-list at lists.ximian.com >> >>> http://lists.ximian.com/mailman/listinfo/mono-list >> >>> >> >> >> >> >> >> >> >> -- >> >> Saludos, >> >> >> >> Mart?n Trejo Ch?vez >> >> http://chilli-coder.blogspot.com >> > _______________________________________________ >> > Mono-list maillist - Mono-list at lists.ximian.com >> > http://lists.ximian.com/mailman/listinfo/mono-list >> >> From miguel at novell.com Mon Jun 4 17:27:06 2007 From: miguel at novell.com (Miguel de Icaza) Date: Mon, 04 Jun 2007 17:27:06 -0400 Subject: [Mono-list] Difference? In-Reply-To: <9a034090706030936j734f7f6cj1df0861309f8670c@mail.gmail.com> References: <9a034090706030936j734f7f6cj1df0861309f8670c@mail.gmail.com> Message-ID: <1180992426.23003.31.camel@erandi.dom> Hello, > What is the difference of Maintenance and Stable version? Maintenance is an old release that we maintain for some SUSE Enterprise Customers, it gets no updates except security fixes or critical fixes. Stable is our current stable release, the one that you should use. From miguel at novell.com Mon Jun 4 17:27:29 2007 From: miguel at novell.com (Miguel de Icaza) Date: Mon, 04 Jun 2007 17:27:29 -0400 Subject: [Mono-list] Ximian services Update (SVN, mailing lists) In-Reply-To: <1180980985.9389.177.camel@erandi.dom> References: <1180735581.4099.114.camel@erandi.dom> <1180980985.9389.177.camel@erandi.dom> Message-ID: <1180992449.23003.33.camel@erandi.dom> Hello, All services should be back up, please let me know if anything is not working, so we can look into it. Miguel. > Hello, > > The Subversion repository is back up in the new location. > > They might need to recable it, so the service might go down for a > few minutes today, but should not take more than that. > > Miguel > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From jacobopolavieja at gmail.com Mon Jun 4 19:55:57 2007 From: jacobopolavieja at gmail.com (Jacobo Polavieja) Date: Tue, 05 Jun 2007 01:55:57 +0200 Subject: [Mono-list] del.icio.us library? In-Reply-To: <4662960D.1010008@gmail.com> References: <461955A2.3010304@gmail.com> <461E7DAC.10902@gmail.com> <462E69F8.5060800@gmail.com> <1177655892.15009.4.camel@tibuntu> <46615771.5000509@gmail.com> <1180829701.16328.1.camel@tibuntu> <4662960D.1010008@gmail.com> Message-ID: <4664A68D.1050701@gmail.com> Hi again! I've tried it on Windows, the same exact program with the same generated dll fomr delicious-net and, it worked! Without any modification... what's happening with it when running on mono? I'll have to try to find out why this behaviour... Any tip? Should we send a bug? Thanks! Jacobo Polavieja escribi?: > Thank you a lot! > > I'll try to run it on Windows and see if it works. If it does I'll try > to see where is the problem using it with Mono. > If you know something, please let know. > > Thanks! > > > Timothy Parez escribi?: >> Hi, >> I got the code working on Windows without any problems (using .NET) >> I will test the code using mono to see wether this is Linux specific or >> not. If so, it might be due to a bug in mono... but I don't know at this >> time. I'll check it out. >> >> Currently using the library for my ASP.NET 2.0 blog system. >> >> On Sat, 2007-06-02 at 13:41 +0200, Jacobo Polavieja wrote: >>> Hi Timothy, >>> >>> I've been experimenting the same problem as yours... Did you find a >>> solution? I've been trying specificating some proxies but that didn't >>> work neither. I'm a completely newbie in C# (this is my first "program") >>> and don't know how to address the problem. >>> >>> Any tip would be a lot a of help. >>> >>> Thanks. Cheers! >>> >>> >>> Timothy Parez escribi?: >>>> Hi, >>>> >>>> I checked out the current SVN and tried the following >>>> // project created on 4/27/2007 at 8:25 AM >>>> >>>> using System; >>>> using Deveel.Delicious; >>>> namespace DelTest >>>> { >>>> class MainClass >>>> { >>>> public static void Main(string[] args) >>>> { >>>> DeliciousClient client = new >>>> DeliciousClient("myusernamehere","myverysecretpass"); >>>> Console.ReadLine(); >>>> DeliciousPostCollection posts = client.GetAllPosts(); >>>> >>>> foreach(DeliciousPost post in posts) >>>> { >>>> Console.WriteLine("{0}\n >>>> \t{1}",post.Description,post.Url.ToString()); >>>> } >>>> Console.ReadLine(); >>>> Console.WriteLine("done"); >>>> } >>>> } >>>> } >>>> >>>> I get the following: >>>> Unhandled Exception: Deveel.Delicious.DeliciousClientException: Error >>>> getting response stream (Trust failure): TrustFailure >>>> at Deveel.Delicious.DeliciousClient.GetAllPosts (System.String tag) >>>> [0x00000] >>>> at Deveel.Delicious.DeliciousClient.GetAllPosts () [0x00000] >>>> at DelTest.MainClass.Main (System.String[] args) [0x00016] >>>> in /home/timothy/sources/delicious/DelTest/DelTest/Main.cs:12 >>>> >>>> but my username/password configuration is correct, unless I need to >>>> specify it in a different way ? >>>> >>>> Looking forward to using this library !! :) >>>> >>>> Timothy. >>>> >>>> _______________________________________________ >>>> Mono-list maillist - Mono-list at lists.ximian.com >>>> http://lists.ximian.com/mailman/listinfo/mono-list >>>> >>> >>> >>> >>> >>> >>> --------------------------------- >>> >>> WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. >>> >>> Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments >>> >> > > From ruebenramirez at gmail.com Mon Jun 4 19:59:29 2007 From: ruebenramirez at gmail.com (Rueben Ramirez) Date: Mon, 4 Jun 2007 18:59:29 -0500 Subject: [Mono-list] Custom Objects stored in Session Variables Message-ID: I have a web application that is running as expected through ASP.Net/IIS, but erroring out in Mono, both in xsp2 and mod_mono2. An exception appears to be thrown when trying to either write to or read from a session variable that is housing a custom object from a class I've written. Firstly, I've seen that strings work just fine in my session variables. Secondly, my custom object consists only of two arraylists of type int. I haven't been able to find any documentation supporting whether this should or should not work in the mono server environment. I have tested both on an Ubuntu linux server, and my Windows Vista laptop running xsp2 and am getting the same error. Again, its working just fine in IIS. Here's a link to my Ubuntu linux box. In order to get the error, log in with the username of 'bidding' and the password of 'password'. http://slyguy.hopto.org:81/tdc/UserLogin.aspx I'll try and drudge up some example code to recreate the problem on a smaller scale. Can anyone offer any suggestions? Thank you in advance, Rueben Ramirez -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070604/608cafd4/attachment-0001.html From timothy at saneprojects.be Mon Jun 4 20:09:46 2007 From: timothy at saneprojects.be (Timothy Parez) Date: Tue, 5 Jun 2007 02:09:46 +0200 Subject: [Mono-list] del.icio.us library? In-Reply-To: <4664A68D.1050701@gmail.com> References: <461955A2.3010304@gmail.com> <461E7DAC.10902@gmail.com> <462E69F8.5060800@gmail.com> <1177655892.15009.4.camel@tibuntu> <46615771.5000509@gmail.com> <1180829701.16328.1.camel@tibuntu> <4662960D.1010008@gmail.com> <4664A68D.1050701@gmail.com> Message-ID: The first thing to do would probably be to try it with the latest version of Mono. If it doesn't work, join #mono on irc.gnome.org to see if anybody knows about it, then file a bug. Since earlier this night, I've been unable to use the library, probably a problem at del.icio.us's end. Timothy Op 5-jun-07, om 01:55 heeft Jacobo Polavieja het volgende geschreven: > Hi again! > > I've tried it on Windows, the same exact program with the same > generated > dll fomr delicious-net and, it worked! > Without any modification... what's happening with it when running on > mono? I'll have to try to find out why this behaviour... Any tip? > Should we send a bug? > > > Thanks! > > > Jacobo Polavieja escribi?: >> Thank you a lot! >> >> I'll try to run it on Windows and see if it works. If it does I'll >> try >> to see where is the problem using it with Mono. >> If you know something, please let know. >> >> Thanks! >> >> >> Timothy Parez escribi?: >>> Hi, >>> I got the code working on Windows without any problems (using .NET) >>> I will test the code using mono to see wether this is Linux >>> specific or >>> not. If so, it might be due to a bug in mono... but I don't know >>> at this >>> time. I'll check it out. >>> >>> Currently using the library for my ASP.NET 2.0 blog system. >>> >>> On Sat, 2007-06-02 at 13:41 +0200, Jacobo Polavieja wrote: >>>> Hi Timothy, >>>> >>>> I've been experimenting the same problem as yours... Did you find a >>>> solution? I've been trying specificating some proxies but that >>>> didn't >>>> work neither. I'm a completely newbie in C# (this is my first >>>> "program") >>>> and don't know how to address the problem. >>>> >>>> Any tip would be a lot a of help. >>>> >>>> Thanks. Cheers! >>>> >>>> >>>> Timothy Parez escribi?: >>>>> Hi, >>>>> >>>>> I checked out the current SVN and tried the following >>>>> // project created on 4/27/2007 at 8:25 AM >>>>> >>>>> using System; >>>>> using Deveel.Delicious; >>>>> namespace DelTest >>>>> { >>>>> class MainClass >>>>> { >>>>> public static void Main(string[] args) >>>>> { >>>>> DeliciousClient client = new >>>>> DeliciousClient("myusernamehere","myverysecretpass"); >>>>> Console.ReadLine(); >>>>> DeliciousPostCollection posts = client.GetAllPosts(); >>>>> >>>>> foreach(DeliciousPost post in posts) >>>>> { >>>>> Console.WriteLine("{0}\n >>>>> \t{1}",post.Description,post.Url.ToString()); >>>>> } >>>>> Console.ReadLine(); >>>>> Console.WriteLine("done"); >>>>> } >>>>> } >>>>> } >>>>> >>>>> I get the following: >>>>> Unhandled Exception: Deveel.Delicious.DeliciousClientException: >>>>> Error >>>>> getting response stream (Trust failure): TrustFailure >>>>> at Deveel.Delicious.DeliciousClient.GetAllPosts >>>>> (System.String tag) >>>>> [0x00000] >>>>> at Deveel.Delicious.DeliciousClient.GetAllPosts () [0x00000] >>>>> at DelTest.MainClass.Main (System.String[] args) [0x00016] >>>>> in /home/timothy/sources/delicious/DelTest/DelTest/Main.cs:12 >>>>> >>>>> but my username/password configuration is correct, unless I >>>>> need to >>>>> specify it in a different way ? >>>>> >>>>> Looking forward to using this library !! :) >>>>> >>>>> Timothy. >>>>> >>>>> _______________________________________________ >>>>> Mono-list maillist - Mono-list at lists.ximian.com >>>>> http://lists.ximian.com/mailman/listinfo/mono-list >>>>> >>>> >>>> >>>> >>>> >>>> >>>> --------------------------------- >>>> >>>> WARNING: Computer viruses can be transmitted via email. The >>>> recipient should check this email and any attachments for the >>>> presence of viruses. The company accepts no liability for any >>>> damage caused by any virus transmitted by this email. E-mail >>>> transmission cannot be guaranteed to be secure or error-free as >>>> information could be intercepted, corrupted, lost, destroyed, >>>> arrive late or incomplete, or contain viruses. The sender >>>> therefore does not accept liability for any errors or omissions >>>> in the contents of this message, which arise as a result of e- >>>> mail transmission. >>>> >>>> Warning: Although the company has taken reasonable precautions >>>> to ensure no viruses are present in this email, the company >>>> cannot accept responsibility for any loss or damage arising from >>>> the use of this email or attachments >>>> >>> >> >> > > > > > > > > --------------------------------- > > WARNING: Computer viruses can be transmitted via email. The > recipient should check this email and any attachments for the > presence of viruses. The company accepts no liability for any > damage caused by any virus transmitted by this email. E-mail > transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, > arrive late or incomplete, or contain viruses. The sender therefore > does not accept liability for any errors or omissions in the > contents of this message, which arise as a result of e-mail > transmission. > > Warning: Although the company has taken reasonable precautions to > ensure no viruses are present in this email, the company cannot > accept responsibility for any loss or damage arising from the use > of this email or attachments > --------------------------------- WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments From michal_kohut at centrum.sk Tue Jun 5 10:20:28 2007 From: michal_kohut at centrum.sk (nemesis35) Date: Tue, 5 Jun 2007 07:20:28 -0700 (PDT) Subject: [Mono-list] .NET Remoting Message-ID: <10970553.post@talk.nabble.com> Hi guys, I'm developing a distributed application in C#, where I want to use .NET Remoting, but there's problem with it. Everything works fine when I call remote procedure with parameters of standard types, like string, int, bool,... But if I want to send an own object, I get the error: "Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object" I tried to use an HttpChannel and also TcpChannel but the problem is somewhere else. I found an example that works when I use dll-s. //////////////////////////// THIS IS SERVER: <<<>>>> HttpServerChannel httpchannel = new HttpServerChannel(8085); ChannelServices.RegisterChannel(httpchannel); RemotingConfiguration.RegisterWellKnownServiceType(typeof(nsCRemoteObj.CRemoteObj), "CRemoteObjURI", WellKnownObjectMode.SingleCall ); /////////////////////////// THIS IS CLIENT: <<<>>> ChannelServices.RegisterChannel( new HttpChannel() ); IRemoteObj obj = (IRemoteObj) Activator.GetObject( typeof(IRemoteObj), "http://localhost:8085/CRemoteObjURI" ); //calling remote procedure Node node = new Node("127.0.0.1",12345); Node nout = obj.TestMethod(node); Console.WriteLine("TestMethod completed. Returned ip: {0}", nout.ipAdd); ///////////////////////////////// MY REMOTE CLASS: <<>> public class CRemoteObj : System.MarshalByRefObject, IRemoteObj { public CRemoteObj() { Console.WriteLine("CRemoteObj constructor invoked."); } ~CRemoteObj() { Console.WriteLine("CRemoteObj destructor invoked."); } // definition of our method(s) public Node TestMethod(Node node) { Console.WriteLine("CRemoteObj.TestMethod invoked."); Console.WriteLine("Ip Address = {0}, Port = {1}", node.ipAdd, node.po); Node nout = node; nout.ipAdd = "manager"; return nout; } } ///////////////////////// AND INTERFACE (includes my own object): <<>> // custom object which we want to pass [Serializable] public class Node { public string ipAdd; public int po; public Node() { } public Node(string ipAddress, int port) { ipAdd = ipAddress; po = port; } }; // interface which contains declaration of our method(s) public interface IRemoteObj { Node TestMethod(Node node); } ///////////////////////////////////////////////// That should work. But it doesn't, only when I make DLL files from Remote Class (CRemoteObj.cs) and Interface (IRemoteObj.cs). And then I must include these DLL files into my server and client. I believe that this can work without DLL but I don't how, so if anyone has any idea, please help me. I will really appreciate it, I cannot go forward because of this. I don't want to use DLL files. Thanx for any help. -- View this message in context: http://www.nabble.com/.NET-Remoting-tf3872082.html#a10970553 Sent from the Mono - General mailing list archive at Nabble.com. From P.Bradley at dsl.pipex.com Tue Jun 5 12:09:43 2007 From: P.Bradley at dsl.pipex.com (Peter Bradley) Date: Tue, 05 Jun 2007 17:09:43 +0100 Subject: [Mono-list] .NET Remoting In-Reply-To: <10970553.post@talk.nabble.com> References: <10970553.post@talk.nabble.com> Message-ID: <46658AC7.7070102@dsl.pipex.com> Ysgrifennodd nemesis35: > Hi guys, > > I'm developing a distributed application in C#, where I want to use .NET > Remoting, but there's problem with it. > Does this help? http://www.peredur.uklinux.net/Remoting.pdf If I understand your problem correctly, it has to do with the fact that both the client and server have to have a definition of the type you are trying to pass. I've not read your post in great detail, though, so I could be wrong. Peter From robertj at gmx.net Tue Jun 5 12:49:50 2007 From: robertj at gmx.net (Robert Jordan) Date: Tue, 05 Jun 2007 18:49:50 +0200 Subject: [Mono-list] .NET Remoting In-Reply-To: <10970553.post@talk.nabble.com> References: <10970553.post@talk.nabble.com> Message-ID: nemesis35 wrote: > ///////////////////////////////////////////////// > That should work. But it doesn't, only when I make DLL files from Remote > Class (CRemoteObj.cs) and Interface (IRemoteObj.cs). And then I must include > these DLL files into my server and client. > > I believe that this can work without DLL but I don't how, so if anyone has > any idea, please help me. I will really appreciate it, I cannot go forward > because of this. I don't want to use DLL files. The short answer is: it cannot work w/out a shared dll, because when the interfaces are compiled in both assemblies, their identities are not the same anymore. The interfaces will be treated as 2 distinct incompatible types. If you don't like this, you have to drop the interfaces at all and use stubs generated by the "soapsuds" tool (delivered with mono and MS.NET). It's not worthwhile. Robert From kubota2550 at gmail.com Tue Jun 5 21:03:21 2007 From: kubota2550 at gmail.com (kubota2550 at gmail.com) Date: Tue, 5 Jun 2007 21:03:21 -0400 Subject: [Mono-list] mod_mono Fedora 7 Message-ID: <5900d730706051803q375e71d2q1d4ba294c220afd9@mail.gmail.com> Does anyone have tips on getting mod-mono installed on Fedora 7? I want to add asp.net capabilities to Apache. I've followed the directions but no luck. The html pages appear correctly but asp code is shown as code. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070605/6c588bce/attachment.html From cgranade at gmail.com Tue Jun 5 23:19:17 2007 From: cgranade at gmail.com (Christopher Granade) Date: Tue, 5 Jun 2007 19:19:17 -0800 Subject: [Mono-list] mod_mono Fedora 7 In-Reply-To: <5900d730706051803q375e71d2q1d4ba294c220afd9@mail.gmail.com> References: <5900d730706051803q375e71d2q1d4ba294c220afd9@mail.gmail.com> Message-ID: <200706051919.17875.cgranade@gmail.com> On Tuesday 05 June 2007 17:03, kubota2550 at gmail.com wrote: > Does anyone have tips on getting mod-mono installed on Fedora 7? I want to > add asp.net capabilities to Apache. I've followed the directions but no > luck. The html pages appear correctly but asp code is shown as code. Can you post some of the relevant sections from the apache config files? It sounds as if a reference to the mod-mono handler might be missing. --Chris Granade From all at rubl.tomsk.ru Wed Jun 6 01:30:54 2007 From: all at rubl.tomsk.ru (Perminov A.A.) Date: Wed, 06 Jun 2007 12:30:54 +0700 Subject: [Mono-list] mono + WMI Message-ID: <1181107854.7485.11.camel@Daz-Work.FRIDAY> Hello everyone. Using mono 1.2.4 A simple example of using using System; using System.Management; namespace wmi_sample { class MainClass { public static void Main(string[] args) { Console.WriteLine("Hello World!"); string asd = "\\\\192.168.100.66\\root\\cimv2"; ConnectionOptions co = new ConnectionOptions(); co.Username = "user"; co.Password = "passwor"; } } } Error : Unhandled Exception: System.NotImplementedException: The requested feature is not implemented. at System.Management.ConnectionOptions.set_Username(System.Stringvalue) [0x00000] in /tmp/scratch/BUILD/mono-1.2.4/mcs/class/System.Management/System.Management/ConnectionOptions.cs:129 at hz.MainClass.Main (System.String[] args) [0x00021] in /home/admin/Documents/Work/C#/hz/hz/Main.cs:17 If you run the program in windows that : Unhandled Exception: System.Security.SecurityException: That assemblydoes not allow partially trusted callers. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at hz.MainClass.Main(String[] args) The action that failed was: LinkDemand The assembly or AppDomain that failed was: hz, Version=1.0.2713.22060, Culture=neutral, PublicKeyToken=4ec2ecaa11ea0844 The Zone of the assembly that failed was: Internet The Url of the assembly that failed was: file:///Y:/hz/hz/bin/Debug/hz.exe From robertj at gmx.net Wed Jun 6 03:57:56 2007 From: robertj at gmx.net (Robert Jordan) Date: Wed, 06 Jun 2007 09:57:56 +0200 Subject: [Mono-list] mono + WMI In-Reply-To: <1181107854.7485.11.camel@Daz-Work.FRIDAY> References: <1181107854.7485.11.camel@Daz-Work.FRIDAY> Message-ID: Perminov A.A. wrote: > Error : > > Unhandled Exception: System.NotImplementedException: The requested > feature is not implemented. > at System.Management.ConnectionOptions.set_Username(System.Stringvalue) > [0x00000] > in /tmp/scratch/BUILD/mono-1.2.4/mcs/class/System.Management/System.Management/ConnectionOptions.cs:129 > at hz.MainClass.Main (System.String[] args) [0x00021] > in /home/admin/Documents/Work/C#/hz/hz/Main.cs:17 System.Management is not implemented in Mono. > If you run the program in windows that : > > Unhandled Exception: System.Security.SecurityException: That > assemblydoes not allow partially trusted callers. You've probably executed the assembly from a network share. On MS.NET, the default security settings prevent full trust assemblies from being executed. > The Zone of the assembly that failed was: > Internet > The Url of the assembly that failed was: > file:///Y:/hz/hz/bin/Debug/hz.exe Robert From kubota2550 at gmail.com Wed Jun 6 06:35:31 2007 From: kubota2550 at gmail.com (kubota2550 at gmail.com) Date: Wed, 6 Jun 2007 06:35:31 -0400 Subject: [Mono-list] mod_mono Fedora 7 In-Reply-To: <200706051919.17875.cgranade@gmail.com> References: <5900d730706051803q375e71d2q1d4ba294c220afd9@mail.gmail.com> <200706051919.17875.cgranade@gmail.com> Message-ID: <5900d730706060335m627e36a5nbea0469c8477de0f@mail.gmail.com> LoadModule cgi_module modules/mod_cgi.so LoadModule mono_module modules/mod_mono.so Alias /test "/var/www/html/test" AddMonoApplications default "/test:/var/www/www/html" SetHandler mono # # The following modules are not loaded by default: # #LoadModule cern_meta_module modules/mod_cern_meta.so #LoadModule asis_module modules/mod_asis.so # # Load config files from the config directory "/etc/httpd/conf.d". # Include conf.d/*.conf Include /etc/httpd/conf.d/mod_mono.conf # On 6/5/07, Christopher Granade wrote: > > On Tuesday 05 June 2007 17:03, kubota2550 at gmail.com wrote: > > Does anyone have tips on getting mod-mono installed on Fedora 7? I want > to > > add asp.net capabilities to Apache. I've followed the directions but no > > luck. The html pages appear correctly but asp code is shown as code. > > Can you post some of the relevant sections from the apache config files? > It > sounds as if a reference to the mod-mono handler might be missing. > --Chris Granade > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070606/ab255ab8/attachment.html From kubota2550 at gmail.com Wed Jun 6 06:46:23 2007 From: kubota2550 at gmail.com (kubota2550 at gmail.com) Date: Wed, 6 Jun 2007 06:46:23 -0400 Subject: [Mono-list] mod_mono Fedora 7 In-Reply-To: <5900d730706060335m627e36a5nbea0469c8477de0f@mail.gmail.com> References: <5900d730706051803q375e71d2q1d4ba294c220afd9@mail.gmail.com> <200706051919.17875.cgranade@gmail.com> <5900d730706060335m627e36a5nbea0469c8477de0f@mail.gmail.com> Message-ID: <5900d730706060346x33b3a3cidd431780d149dbcb@mail.gmail.com> Disregard previous. As soon as I sent, I realized the mistyped path used. One other question, though, with /var/www/html/test coded into the apache conf file, will all asp apps need to be under this test directory? On 6/6/07, kubota2550 at gmail.com wrote: > > LoadModule cgi_module modules/mod_cgi.so > LoadModule mono_module modules/mod_mono.so > Alias /test "/var/www/html/test" > AddMonoApplications default "/test:/var/www/www/html" > > SetHandler mono > > > # > # The following modules are not loaded by default: > # > #LoadModule cern_meta_module modules/mod_cern_meta.so > #LoadModule asis_module modules/mod_asis.so > > # > # Load config files from the config directory "/etc/httpd/conf.d". > # > Include conf.d/*.conf > > Include /etc/httpd/conf.d/mod_mono.conf > # > > > > > > On 6/5/07, Christopher Granade wrote: > > > > On Tuesday 05 June 2007 17:03, kubota2550 at gmail.com wrote: > > > Does anyone have tips on getting mod-mono installed on Fedora 7? I > > want to > > > add asp.net capabilities to Apache. I've followed the directions but > > no > > > luck. The html pages appear correctly but asp code is shown as code. > > > > Can you post some of the relevant sections from the apache config files? > > It > > sounds as if a reference to the mod-mono handler might be missing. > > --Chris Granade > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070606/08d428db/attachment.html From antonello at deveel.com Wed Jun 6 08:56:37 2007 From: antonello at deveel.com (Antonello Provenzano) Date: Wed, 6 Jun 2007 14:56:37 +0200 Subject: [Mono-list] Web application deployment Message-ID: Hi all, I need to deploy a web application composed by 12 modules (the main framework, distributed cache, ORM, DB client, search engine, S3 interface, RSS+Atom feeder, etc.) that aims to be run by thousands of threads per day. In such this context I cannot stop the application to replace the modules with newer versions (for bugfixing or feature implementations): is there any secure procedure to follow for the deployment of updates under Mono? VS.NET provides a utility for deploy the website: since I'm not going to make the system run under .NET, I would like to find a similar solution. Thanks. Antonello From michal_kohut at centrum.sk Tue Jun 5 10:20:28 2007 From: michal_kohut at centrum.sk (nemesis35) Date: Tue, 5 Jun 2007 07:20:28 -0700 (PDT) Subject: [Mono-list] .NET Remoting Message-ID: <10970553.post@talk.nabble.com> Hi guys, I'm developing a distributed application in C#, where I want to use .NET Remoting, but there's problem with it. Everything works fine when I call remote procedure with parameters of standard types, like string, int, bool,... But if I want to send an own object, I get the error: "Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object" I tried to use an HttpChannel and also TcpChannel but the problem is somewhere else. I found an example that works when I use dll-s. //////////////////////////// THIS IS SERVER: <<<>>>> HttpServerChannel httpchannel = new HttpServerChannel(8085); ChannelServices.RegisterChannel(httpchannel); RemotingConfiguration.RegisterWellKnownServiceType(typeof(nsCRemoteObj.CRemoteObj), "CRemoteObjURI", WellKnownObjectMode.SingleCall ); /////////////////////////// THIS IS CLIENT: <<<>>> ChannelServices.RegisterChannel( new HttpChannel() ); IRemoteObj obj = (IRemoteObj) Activator.GetObject( typeof(IRemoteObj), "http://localhost:8085/CRemoteObjURI" ); //calling remote procedure Node node = new Node("127.0.0.1",12345); Node nout = obj.TestMethod(node); Console.WriteLine("TestMethod completed. Returned ip: {0}", nout.ipAdd); ///////////////////////////////// MY REMOTE CLASS: <<>> public class CRemoteObj : System.MarshalByRefObject, IRemoteObj { public CRemoteObj() { Console.WriteLine("CRemoteObj constructor invoked."); } ~CRemoteObj() { Console.WriteLine("CRemoteObj destructor invoked."); } // definition of our method(s) public Node TestMethod(Node node) { Console.WriteLine("CRemoteObj.TestMethod invoked."); Console.WriteLine("Ip Address = {0}, Port = {1}", node.ipAdd, node.po); Node nout = node; nout.ipAdd = "manager"; return nout; } } ///////////////////////// AND INTERFACE (includes my own object): <<>> // custom object which we want to pass [Serializable] public class Node { public string ipAdd; public int po; public Node() { } public Node(string ipAddress, int port) { ipAdd = ipAddress; po = port; } }; // interface which contains declaration of our method(s) public interface IRemoteObj { Node TestMethod(Node node); } ///////////////////////////////////////////////// That should work. But it doesn't, only when I make DLL files from Remote Class (CRemoteObj.cs) and Interface (IRemoteObj.cs). And then I must include these DLL files into my server and client. I believe that this can work without DLL but I don't how, so if anyone has any idea, please help me. I will really appreciate it, I cannot go forward because of this. I don't want to use DLL files. Thanx for any help. -- View this message in context: http://www.nabble.com/.NET-Remoting-tf3872082.html#a10970553 Sent from the Mono - General mailing list archive at Nabble.com. From iansu at optusnet.com.au Tue Jun 5 20:05:43 2007 From: iansu at optusnet.com.au (Ian Su) Date: Wed, 6 Jun 2007 10:05:43 +1000 Subject: [Mono-list] System.IO.Compression Message-ID: <20070606000543.GA22011@hamlet.hypox.org> Hi, Somehow I'm having trouble getting GZipStream to work in mono. It's as if System.IO.Compression doesn't exist in mono at all? I do: $ cat GZTest.cs using System.IO.Compression; class GZTest { } $ mcs /target:library GZTest.cs GZTest.cs(1,7): error CS0234: The type or namespace name `Compression' does not exist in the namespace `System.IO'. Are you missing an assembly reference? GZTest.cs(1,1): error CS0246: The type or namespace name `IO.Compression' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 2 error(s), 0 warnings $ mcs --version Mono C# compiler version 1.2.4.0 As far as I can tell google, other people are able to use System.IO.Compression in mono fine. Any ideas what I'm doing wrong? Thanks, Ian From sheamus.morrissey at northdoor.co.uk Wed Jun 6 10:36:08 2007 From: sheamus.morrissey at northdoor.co.uk (Shay1975) Date: Wed, 6 Jun 2007 07:36:08 -0700 (PDT) Subject: [Mono-list] mono on Windows 2003/IIS6 In-Reply-To: References: Message-ID: <10989957.post@talk.nabble.com> Found the problem...Novell is looking for the Mono.Security.dll in the following location on 2003 C:\Windows\System32\inetsrv A good way to find out is to download filemon and this will tell you where Mono is trying to be accessed from. Would have been nice for this to be in some sort of installation documentation from mono all the same.... Hope this helps someone Shay1975 wrote: > > Hi, I have been trying to get mono working on Windows 2003 with > Novell.Directory.Ldap for SSL authentication against eDirectory. I have > managed to get it working locally but I am using XP/IIS 5. But the same > set up on Windows 2003 keeps returning the error LdapException: (114) SSL > Provider not found I have looked on the web extensively and know this is > related to the Novell.Directory.ldap not being able to access the > Mono.Security.dll for the SSL bind. I have placed this dll in the System32 > folder as per various forums suggested and in the applications bin > directory, and still no change. I have tried changing various permissions > (IIS_WPG) to have full control to the Mono.Security file, but no change. > Like I mentioned I have mono running locally with no problems on > XP/IIS 5 but am unable to get it running on a test server (Windows > 2003/IIS6). Do you have any suggestions as to anything I could look at as > I have run out of ideas? Regards Sheamus   > > Northdoor plc, registered office: 1-3 Dufferin St London EC1Y 8NA. > Registered in England 219480 VAT registration no 52492926 > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/mono-on-Windows-2003-IIS6-tf3771676.html#a10989957 Sent from the Mono - General mailing list archive at Nabble.com. From jonathan.gagnon at croesus.com Wed Jun 6 11:30:38 2007 From: jonathan.gagnon at croesus.com (Jonathan Gagnon) Date: Wed, 6 Jun 2007 11:30:38 -0400 Subject: [Mono-list] App.config privatePath attribute ignored by mono Message-ID: <005f01c7a84f$a565bf60$1b36a8c0@PROG159> Hi, I have the following section inside my app.config file : This is supposed to be the equivalent of doing this at the beginning of the application : AppDomain.CurrentDomain.AppendPrivatePath("myPath"); Since the AppendPrivatePath method is deprecated, I want to use the app.config way, but it doesn't work on Mono. Therefore, I have to stick with the deprecated method for now. I searched the bug database and found out that there was already a bug logged about this issue (57612), but the status of this bug hasn't changed since 2005-07-06 and it seems to have been forgotten. Somebody submitted a patch but I still have the bug with the latest version. Has the patch been merged into the main version? Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070606/67963bed/attachment-0001.html From robertj at gmx.net Wed Jun 6 11:59:38 2007 From: robertj at gmx.net (Robert Jordan) Date: Wed, 06 Jun 2007 17:59:38 +0200 Subject: [Mono-list] System.IO.Compression In-Reply-To: <20070606000543.GA22011@hamlet.hypox.org> References: <20070606000543.GA22011@hamlet.hypox.org> Message-ID: Hi, Ian Su wrote: > Hi, > > Somehow I'm having trouble getting GZipStream to work in mono. > It's as if System.IO.Compression doesn't exist in mono at all? > > I do: > > $ cat GZTest.cs > using System.IO.Compression; > > class GZTest { > } > > $ mcs /target:library GZTest.cs > GZTest.cs(1,7): error CS0234: The type or namespace name > `Compression' does not exist in the namespace `System.IO'. Are > you missing an assembly reference? > GZTest.cs(1,1): error CS0246: The type or namespace name > `IO.Compression' could not be found. Are you missing a using > directive or an assembly reference? > Compilation failed: 2 error(s), 0 warnings > > $ mcs --version > Mono C# compiler version 1.2.4.0 > > As far as I can tell google, other people are able to use > System.IO.Compression in mono fine. Any ideas what I'm doing > wrong? Since System.IO.Compression is a .NET 2.0 feature, you have to use "gmcs" instead. Robert From r.alex at tele2.at Wed Jun 6 13:06:47 2007 From: r.alex at tele2.at (Alexander Reiter) Date: Wed, 06 Jun 2007 19:06:47 +0200 Subject: [Mono-list] QT applications with Mono and Qyoto -- Pre-release package is available Message-ID: <4666E9A7.7060307@tele2.at> Hello all, if someone is interested to write QT applications -- have a look at: http://cougarpc.net/qyoto/index.php?option=com_frontpage&Itemid=28 since couple of days a pre-release package is available which is already working pretty okay... brgds /alex From rodrigobamboo at gmail.com Wed Jun 6 14:41:29 2007 From: rodrigobamboo at gmail.com (Rodrigo B. de Oliveira) Date: Wed, 6 Jun 2007 15:41:29 -0300 Subject: [Mono-list] DynamicMethod In-Reply-To: References: Message-ID: <5917478b0706061141y672ce9e4s32a0908211bf9418@mail.gmail.com> On 3/12/07, Chris Seaton wrote: > Are DynamicMethod's collected by the GC? They don't seem to be being > collected in my application. > Are they? From mono at c7x.de Thu Jun 7 05:19:02 2007 From: mono at c7x.de (Maurice Meeden) Date: Thu, 7 Jun 2007 11:19:02 +0200 Subject: [Mono-list] QT applications with Mono and Qyoto -- Pre-release package is available In-Reply-To: <4666E9A7.7060307@tele2.at> References: <4666E9A7.7060307@tele2.at> Message-ID: <20070607111902.4c5676ae@pony.int.c6x.de> Am Wed, 06 Jun 2007 19:06:47 +0200 schrieb Alexander Reiter : > Hello all, > > if someone is interested to write QT applications -- > have a look at: > http://cougarpc.net/qyoto/index.php?option=com_frontpage&Itemid=28 > > since couple of days a pre-release package is available which is > already working pretty okay... I'm very interested in writing multiplatform apps with QT, so I've tested Qyoto a few weeks before. It works great with linux, but I'm struggling with the smoke library in windows. I've tested with the mingw gcc compiler 3.4.6, 4.1.2 and 4.2.0, and havent got a smoke.dll. With the msvc2005 compiler I got a smoke.dll, but the compilation of qyoto complains about a lot of missing references. Does anybody know how to compile smoke and qyoto within windows, and can write an howto? Greetings Maurice From chris at chrisseaton.com Thu Jun 7 08:51:58 2007 From: chris at chrisseaton.com (Chris Seaton) Date: Thu, 7 Jun 2007 13:51:58 +0100 Subject: [Mono-list] DynamicMethod In-Reply-To: <5917478b0706061141y672ce9e4s32a0908211bf9418@mail.gmail.com> References: <5917478b0706061141y672ce9e4s32a0908211bf9418@mail.gmail.com> Message-ID: Yes, they should be collected by the garbage collector. I think the MSN docs explicitly say so. I use them extensively in my application, generating many hundreds of them, and I am confident they are being collected. Chris Seaton On 6 Jun 2007, at 19:41, Rodrigo B. de Oliveira wrote: > On 3/12/07, Chris Seaton wrote: >> Are DynamicMethod's collected by the GC? They don't seem to be being >> collected in my application. >> > > Are they? > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From jonathan.gagnon at croesus.com Thu Jun 7 09:01:03 2007 From: jonathan.gagnon at croesus.com (Jonathan Gagnon) Date: Thu, 7 Jun 2007 09:01:03 -0400 Subject: [Mono-list] DynamicMethod In-Reply-To: <5917478b0706061141y672ce9e4s32a0908211bf9418@mail.gmail.com> References: <5917478b0706061141y672ce9e4s32a0908211bf9418@mail.gmail.com> Message-ID: <00a101c7a903$eaaa8bf0$1b36a8c0@PROG159> There is a bug logged about this issue : http://bugzilla.ximian.com/show_bug.cgi?id=77146 Jonathan -----Message d'origine----- De : mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] De la part de Rodrigo B. de Oliveira Envoy? : Wednesday, June 06, 2007 2:41 PM ? : List Mono Objet : Re: [Mono-list] DynamicMethod On 3/12/07, Chris Seaton wrote: > Are DynamicMethod's collected by the GC? They don't seem to be being > collected in my application. > Are they? _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list From rodrigobamboo at gmail.com Thu Jun 7 09:40:54 2007 From: rodrigobamboo at gmail.com (Rodrigo B. de Oliveira) Date: Thu, 7 Jun 2007 10:40:54 -0300 Subject: [Mono-list] DynamicMethod In-Reply-To: References: <5917478b0706061141y672ce9e4s32a0908211bf9418@mail.gmail.com> Message-ID: <5917478b0706070640l6842985cvff7e77f939604525@mail.gmail.com> On 6/7/07, Chris Seaton wrote: > Yes, they should be collected by the garbage collector. I think the > MSN docs explicitly say so. I know they should be. My question is if mono does GC them currently. Thanks for the reply, Rodrigo From antonello at deveel.com Thu Jun 7 11:11:14 2007 From: antonello at deveel.com (Antonello Provenzano) Date: Thu, 7 Jun 2007 17:11:14 +0200 Subject: [Mono-list] [JOB] .NET Developer in Luxembourg Message-ID: Hi Guys, We're one of the major consultancy company in the world and we're actively looking for one or more .NET developers for our projects in Luxembourg. If you're interested and want to do an experience in the Grand Duchet, please send me your CV at the address antonello at deveel.com, I will forward it to the HR office. Since such these kind of requests could be mistaken as phishing, please ask about me to Miguel, Massimiliano Mantione, Atsushi Enomoto or other Mono administrators, to be sure it's a serious purposal. Best regards. Antonello Provenzano PS. The reason why I'm not posting with my corporate mail address is that this is the only one registered on Mono List. From robertj at gmx.net Thu Jun 7 15:44:26 2007 From: robertj at gmx.net (Robert Jordan) Date: Thu, 07 Jun 2007 21:44:26 +0200 Subject: [Mono-list] DynamicMethod In-Reply-To: <5917478b0706070640l6842985cvff7e77f939604525@mail.gmail.com> References: <5917478b0706061141y672ce9e4s32a0908211bf9418@mail.gmail.com> <5917478b0706070640l6842985cvff7e77f939604525@mail.gmail.com> Message-ID: Hi Rodrigo, Rodrigo B. de Oliveira wrote: > On 6/7/07, Chris Seaton wrote: >> Yes, they should be collected by the garbage collector. I think the >> MSN docs explicitly say so. > > I know they should be. My question is if mono does GC them currently. It doesn't. Have a look at reflection.c:mono_reflection_create_dynamic_method (). The function is calling reflection_methodbuilder_to_mono_method (), which it turn uses malloc, because a dynamic method doesn't have an image to allocate the memory from. I tried to introduce a GC controlled MonoMemPool per DynamicMethod, but the JIT crashed right after mempool's collection. Robert From P.Bradley at dsl.pipex.com Thu Jun 7 16:31:57 2007 From: P.Bradley at dsl.pipex.com (Peter Bradley) Date: Thu, 07 Jun 2007 21:31:57 +0100 Subject: [Mono-list] Mono downloads via YaST In-Reply-To: <46606ACD.1060507@dsl.pipex.com> References: <46606ACD.1060507@dsl.pipex.com> Message-ID: <46686B3D.4020008@dsl.pipex.com> Hi, I posted on this a while back saying that the instructions on the installation source for Mono on SuSE Linux 10.0 on this page: http://go-mono.com/download-stable/suse-100-x86_64 appeared to be incorrect, but got no response. Since then I've tried the following installation source: http://software.opensuse.org/download/Mono/SUSE_Linux_10.0/ This source added to YaST just fine, but Mono will still not install. Despite adding this installation source, and even though the Mono version offered is 1.2.4-17.1, the installation fails because the only version of mono-basic that is available is verion 1.1.8.3-6. This seems odd, but since I don't intend to program in basic, can I ignore it, "Risking system inconnsistencies" as YaST puts it? Or will Mono not work without it? Thanks Peter From wberrier at novell.com Thu Jun 7 18:16:01 2007 From: wberrier at novell.com (Wade Berrier) Date: Thu, 07 Jun 2007 16:16:01 -0600 Subject: [Mono-list] Mono downloads via YaST In-Reply-To: <46686B3D.4020008@dsl.pipex.com> References: <46606ACD.1060507@dsl.pipex.com> <46686B3D.4020008@dsl.pipex.com> Message-ID: <1181254561.18682.17.camel@berrier.lan> Hi Peter, I hate to say this, but I tried installing from go-mono.com in yast on suse 10.0 x86_64, and it worked :( One difference is that I didn't have the dvd installation source configured. In fact, when I tried it, I didn't have any installation sources except mono. That being the case, it sounds like a yast bug (ie: 14 instances definitely shouldn't be added). But, I'm curious to know why the go-mono.com source didn't add correctly, yet the opensuse.org repo did? Could you attach output from the yast logs of when it tries to add the go-mono.com repo? As for the rpms in the suse build service, you probably tried installing during the update for 1.2.4, which I was doing yesterday. In fact, here's the updated mono-basic rpm: http://software.opensuse.org/download/Mono/SUSE_Linux_10.0/noarch/mono-basic-1.2.4-6.1.noarch.rpm If you give the build service rpms another shot, it should work. You should never have to 'force' the installs of any mono rpms. If so, that's a bug. Wade On Thu, 2007-06-07 at 21:31 +0100, Peter Bradley wrote: > Hi, > > I posted on this a while back saying that the instructions on the > installation source for Mono on SuSE Linux 10.0 on this page: > > http://go-mono.com/download-stable/suse-100-x86_64 > > appeared to be incorrect, but got no response. > > Since then I've tried the following installation source: > > http://software.opensuse.org/download/Mono/SUSE_Linux_10.0/ > > This source added to YaST just fine, but Mono will still not install. > Despite adding this installation source, and even though the Mono > version offered is 1.2.4-17.1, the installation fails because the only > version of mono-basic that is available is verion 1.1.8.3-6. > > This seems odd, but since I don't intend to program in basic, can I > ignore it, "Risking system inconnsistencies" as YaST puts it? Or will > Mono not work without it? > > Thanks > > > Peter > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From makska at yandex.ru Thu Jun 7 19:25:31 2007 From: makska at yandex.ru (Maxim Karavaev) Date: Fri, 08 Jun 2007 03:25:31 +0400 Subject: [Mono-list] Remoting between web-applications on Apache Message-ID: <8171181258731@webmail2.yandex.ru> Hello! Sorry for may be basic questions, but I've got some difficulties trying to use Remoting in Mono. 1. I have two web-applications running on Apache (mod_mono). How could I organize interaction between them using Remoting? It doesn't work with basic configuration of apache's virtual hosts and remoting host/client. Connection from client to Remoting host via port 8989 always fials with "System.Net.WebException: Error: ConnectFailure". How could I host Remoting host in this case? 2. Trying to run Remoting host application as a simple Console application I've got exception too, but very strange: "System.Runtime.Remoting.RemotingException: Configuration file 'Listener.config' could not be loaded: No such host is known ---> System.Net.Sockets.SocketException: No such host is known". What is the reason of this exception? May be wrong environment configuration? I've build these simple remoting applications exacty how it is written in this MSDN article: http://msdn2.microsoft.com/en-us/library/xws7132e(VS.71).aspx Thanks and best wishes, Max Karavaev From robertj at gmx.net Thu Jun 7 22:36:40 2007 From: robertj at gmx.net (Robert Jordan) Date: Fri, 08 Jun 2007 04:36:40 +0200 Subject: [Mono-list] Remoting between web-applications on Apache In-Reply-To: <8171181258731@webmail2.yandex.ru> References: <8171181258731@webmail2.yandex.ru> Message-ID: Hi Maxim, Maxim Karavaev wrote: > Sorry for may be basic questions, but I've got some difficulties > trying to use Remoting in Mono. There is a small bug in APS.NET 2.0 that prevents Remoting from being properly configured. Please try this global.asax as a workaround: <%@ Application %> Robert From joelwreed at gmail.com Fri Jun 8 22:36:10 2007 From: joelwreed at gmail.com (joel reed) Date: Fri, 08 Jun 2007 22:36:10 -0400 Subject: [Mono-list] [ANN] CodePlex Client - Team Foundation for Mono Release v0.4.6 Message-ID: <466A121A.6050501@gmail.com> I'm pleased to announce version 0.4.6 of Team Foundation for Mono, a maintenance update which includes several important bugfixes and a few new configuration options. Please update to this version at your earliest convenience! Team Foundation powers Microsoft's CodePlex site and is used in many corporate environments. Team Foundation for Mono provides the TF client for accessing Team Foundation Servers as well as the Microsoft.TeamFoundation.* assemblies related to Version Control. An example of accessing CodePlex to pull the latest version of the "Turtle" project is below. Enhancements include: =================================================================== # Add Checkout.Latest option to ensure checkout of latest version of file rather than workspace version. This is a common complaint of TFS users - that the latest version is not checked out by default. An option like "Checkout.Latest" has been added to the next version of the Visual Studio TFS client. # Add Get.Recursive and History.DefaultToCwd config options for those looking to override the less helpful defaults of the standard client. For more information on tf client configuration, see the man page. Bugfixes include: =================================================================== # BUGFIX: when uploading new/changed files, send correct file length. Reported by Martin Woodward - many thanks. # BUGFIX: several diff fixes, including off by one error for files not ending in "\n", new file diff format fixes, and B file context calculation fixes # BUGFIX: Online, TreeClean, and ls-files command should pull item list based on WorkspaceVersion not LatestVersion. # BUGFIX: dont print blank lines for directories and new files for ls-files /old subcommand. # BUGFIX: send local version updates to server after pending deletes. # BUGFIX: trailing slash on path confused online command # BUGFIX: add support for local paths to dir subcommand, and output listing in a more unix-y format (which is, imho, far more useful) # HELP: Warn that invalid options can be mistaken for paths. # HELP: Add more CodePlex usage examples to README Please note that this software is alpha. Use it at your own risk! CodePlex Example Usage =================================================================== In the commands below, UID = your codeplex user name PWD = your codeplex password MACHINENAME = your machine name (or any other random name) First create a workspace: tf /server:https://tfs01.codeplex.com /login:snd\\UID,PWD workspace /new "MACHINENAME;UID" Then map "Turtle" project to a local folder: tf /server:https://tfs01.codeplex.com /login:snd\\UID,PWD workfold "$/Turtle" ~/Source/turtle Then pull the files: tf /server:https://tfs01.codeplex.com /login:snd\\UID,PWD get ~/Source/turtle /recursive Then you could review the history, review a changeset, then look at the diff of the changeset. Note: the examples below assume Credentials.Save is on. cd ~/Source/turtle tf history /recursive . tf changeset 340 tf diff C340 Source and Packages =================================================================== Debian packages and source tarball available here: http://code.google.com/p/tf4mono/downloads/list The latest source code can be checked out with subversion using the following command: svn checkout http://tf4mono.googlecode.com/svn/trunk/ tf4mono Additionally, a git clone of the source tree can be made with: git clone git://repo.or.cz/tfs.git will include a signed v0.4.6 tag which points to a commit named: 59ae6d55a3bdabafa3f819418176c05d86a2a14e which can be verified with: gpg --keyserver hkp://keyserver.veridis.com --recv-keys 0xB1850655 git verify-tag v0.4.6 and can be checked out with a command such as: git checkout -b build v0.4.6 Project Site =================================================================== There is a Google Code Project Site for tf4mono, the URL is: http://code.google.com/p/tf4mono/ From kamelderouiche at yahoo.com Sat Jun 9 11:49:19 2007 From: kamelderouiche at yahoo.com (kamel derouiche) Date: Sat, 9 Jun 2007 08:49:19 -0700 (PDT) Subject: [Mono-list] critical problem !!!!!!! Message-ID: <188057.29891.qm@web43146.mail.sp1.yahoo.com> Hi,, using System; using System.Xml; using System.Xml.Serialization ; namespace CarteVisite { [Serializable] [XmlType("Carte_de_visite")] public class CarteDeViste { [XmlElement("nom")] public string Nom; [XmlElement("pernom")] public string Pernom; [XmlElement("email")] public string Email ; [NonSerialized()] public string Telephone; } } Interface:: using System; [assembly: AssemblyVersion("0.1.0.0")] public class AnnuaireDAL { public AnnuaireDAL() { } public CarteDeVisite ExtraireCarte (string nomSearch ) { return null ; } public void AjouterCarte (CarteDeVisite carte) { } } I'am launch compilation: mcs /target:library /reference:CarteDeVisite.dll AnnuaireDAL.cs resultat: AnnuaireDAL.cs(12,10): error CS0246: The type or namespace name `CarteDeVisite' could not be found. Are you missing a using directive or an assembly reference? AnnuaireDAL.cs(15,29): error CS0246: The type or namespace name `CarteDeVisite' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 2 error(s), 0 warnings Help me ??? Thank you,, NetBSD is very JIHBED, MONO RUN in NetBSD ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC From mosser at polytech.unice.fr Sat Jun 9 12:04:02 2007 From: mosser at polytech.unice.fr (mosser at polytech.unice.fr) Date: Sat, 9 Jun 2007 18:04:02 +0200 (CEST) Subject: [Mono-list] critical problem !!!!!!! Message-ID: <3935.84.101.189.184.1181405042.squirrel@webmail.polytech.unice.fr> Hi Kamel. It seems that you're trying to run a Lab Session I wrote with Michel & C?dric ... > I'am launch compilation: => should be 'When running compiler' > mcs /target:library /reference:CarteDeVisite.dll > AnnuaireDAL.cs > resultat: => should be 'result' ... > AnnuaireDAL.cs(12,10): error CS0246: The type or > namespace name `CarteDeVisite' could not be found. Are > you missing a using directive or an assembly > reference? Well ... you should definitively take a look to your namespace 'using' directives. -- S?bastien Mosser EPU Polytech'Sophia - CS Dept. CNRS / I3S / Equipe Rainbow From adrien.dessemond at softhome.net Sat Jun 9 14:22:49 2007 From: adrien.dessemond at softhome.net (Adrien Dessemond) Date: Sat, 09 Jun 2007 14:22:49 -0400 Subject: [Mono-list] critical problem !!!!!!! In-Reply-To: <188057.29891.qm@web43146.mail.sp1.yahoo.com> References: <188057.29891.qm@web43146.mail.sp1.yahoo.com> Message-ID: <7.0.1.0.2.20070609124808.022a90b0@softhome.net> At 11:49 2007-06-09, you wrote: [Could you, please, translate your code in english when you ask questions here ? More people will be glad to think about your troubles and this will make your chances of having mutiple advices higher :-) ] > [assembly: AssemblyVersion("0.1.0.0")] > > public class AnnuaireDAL > { > public AnnuaireDAL() { } > public CarteDeVisite ExtraireCarte (string nomSearch >) { > return null ; > } > public void AjouterCarte (CarteDeVisite carte) { Personal feedback experience : I would try to manage my "visit cards" as a collection of VisitCards (say VisitCardsCollection) objects, as it better integrates in the .Net framework philosophy and help both in keeping a robust and flexible object design. Next I would consider my Directory class ("AnnaireDAL") as something that manages CardsCollection objets (directory update/query/....). You have really nice language features like properties indexers and generics, consider them at your advantage. May the classes/interfaces in System.Collections.Generic could help you a lot too (Dictionary ? List ?). It is just another OO approach, it does not pretend to be a "better" one. Kind regards, Adrien From miguel at ximian.com Sat Jun 9 12:44:45 2007 From: miguel at ximian.com (Miguel de Icaza) Date: Sat, 09 Jun 2007 12:44:45 -0400 Subject: [Mono-list] Mono Debugger 0.50 Message-ID: <1181407485.16735.15.camel@erandi.dom> Hello folks, You might not have noticed this but as part of the Mono 1.2.4 release we shipped the Mono debugger for x86 and x86-64 on Linux. A guide on using the debugger is here: http://www.mono-project.com/Guide:Debugger Please file bug reports and provide us feedback as to what you would like to see in it. Miguel. From andreas.faerber at web.de Sat Jun 9 16:30:46 2007 From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=) Date: Sat, 9 Jun 2007 22:30:46 +0200 Subject: [Mono-list] Mono Debugger 0.50 In-Reply-To: <1181407485.16735.15.camel@erandi.dom> References: <1181407485.16735.15.camel@erandi.dom> Message-ID: <94DE404A-7B7B-4ADD-85AF-DA24F225A52D@web.de> Hello, > as part of the Mono 1.2.4 > release we shipped the Mono debugger for x86 and x86-64 on Linux. > > A guide on using the debugger is here: > > http://www.mono-project.com/Guide:Debugger > > Please file bug reports and provide us feedback as to what you > would > like to see in it. The guide should mention that it's "for x86 and x86-64 on Linux" currently. :-) Otherwise people will download it through that page and will be disappointed that it doesn't work on their platform. A link to http://www.mono-project.com/Debugger would also be handy and the Latest Release needs to be updated there. Looks very good otherwise. Andreas From kamelderouiche at yahoo.com Sun Jun 10 12:06:27 2007 From: kamelderouiche at yahoo.com (kamel derouiche) Date: Sun, 10 Jun 2007 09:06:27 -0700 (PDT) Subject: [Mono-list] critical problem !!!!!!! In-Reply-To: <7.0.1.0.2.20070609124808.022a90b0@softhome.net> Message-ID: <622699.22130.qm@web43139.mail.sp1.yahoo.com> > [Could you, please, translate your code in english > when you ask > questions here ? More people will be glad to think > about your > troubles and this will make your chances of having > mutiple advices higher :-) ] I agree with you What's the result in .NET with CSC? yes, it is the same thing NetBSD is very JIHBED, MONO RUN in NetBSD ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 From chris at chrisseaton.com Sun Jun 10 12:38:59 2007 From: chris at chrisseaton.com (Chris Seaton) Date: Sun, 10 Jun 2007 17:38:59 +0100 Subject: [Mono-list] critical problem !!!!!!! In-Reply-To: <622699.22130.qm@web43139.mail.sp1.yahoo.com> References: <622699.22130.qm@web43139.mail.sp1.yahoo.com> Message-ID: Nobody has actually told you what is wrong with your code! CarteDeViste is in the CarteVisite namespace. AnnuaireDAL is in the root namespace, so when you refer to CarteDeVisite in the definition of ExtraireCarte, the compiler cannot find it. Add "using CarteVisite;" to your second file. You must always add a "using" for each namespace that you use in each file, or refer to the namespace a class is in using the "CarteVisite.CarteDeVisite" notation. Chris Seaton On 10 Jun 2007, at 17:06, kamel derouiche wrote: > >> [Could you, please, translate your code in english >> when you ask >> questions here ? More people will be glad to think >> about your >> troubles and this will make your chances of having >> mutiple advices higher :-) ] > > I agree with you > > What's the result in .NET with CSC? > > yes, it is the same thing > > > > > NetBSD is very JIHBED, MONO RUN in NetBSD > > > > ______________________________________________________________________ > ______________ > Be a better Heartthrob. Get better relationship answers from > someone who knows. Yahoo! Answers - Check it out. > http://answers.yahoo.com/dir/?link=list&sid=396545433 > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From r.alex at tele2.at Sun Jun 10 14:44:16 2007 From: r.alex at tele2.at (Alexander Reiter) Date: Sun, 10 Jun 2007 20:44:16 +0200 Subject: [Mono-list] QT applications with Mono and Qyoto -- Pre-release package is available In-Reply-To: <20070607111902.4c5676ae@pony.int.c6x.de> References: <4666E9A7.7060307@tele2.at> <20070607111902.4c5676ae@pony.int.c6x.de> Message-ID: <466C4680.1070607@tele2.at> Maurice Meeden wrote: > Am Wed, 06 Jun 2007 19:06:47 +0200 > schrieb Alexander Reiter : > >> Hello all, >> >> if someone is interested to write QT applications -- >> have a look at: >> http://cougarpc.net/qyoto/index.php?option=com_frontpage&Itemid=28 >> >> since couple of days a pre-release package is available which is >> already working pretty okay... > > I'm very interested in writing multiplatform apps with QT, so I've > tested Qyoto a few weeks before. It works great with linux, but I'm > struggling with the smoke library in windows. I've tested with the > mingw gcc compiler 3.4.6, 4.1.2 and 4.2.0, and havent got a smoke.dll. > With the msvc2005 compiler I got a smoke.dll, but the compilation of > qyoto complains about a lot of missing references. > Does anybody know how to compile smoke and qyoto within windows, and > can write an howto? > > Greetings Maurice > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > Hello Maurice, have you also already tried the pre-release package - download: http://cougarpc.net/qyoto/index.php?option=com_remository&Itemid=56&func=fileinfo&id=4 I don't work with windows but under linux the latest package is working pretty well. So maybe it solves the problems you'll have compiling the stuff under windows. BRgds /alex From rupanu.pal at rediffmail.com Mon Jun 11 02:25:21 2007 From: rupanu.pal at rediffmail.com (rupanu pal) Date: 11 Jun 2007 06:25:21 -0000 Subject: [Mono-list] newbie:installing monodevelop Message-ID: <20070611062521.19541.qmail@webmail6.rediffmail.com> ? hello, I have just joined the group and try my first hand to get MONO working for me. Please advise me which monodevelop version to choose for installing with mono 1.2.4 installed.I tried the latest one (0.13.1) and got a message saying "please install mono 1.1.0 or later"..I don't understand what's happened!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070611/db837f81/attachment.html From claus at home.neflux.de Mon Jun 11 05:31:42 2007 From: claus at home.neflux.de (Claus Trojahn) Date: Mon, 11 Jun 2007 11:31:42 +0200 Subject: [Mono-list] Same name for .dll and .exe problem Message-ID: <7B6BD17322664001B48BF319CD24AB23@ewtc.local> Hello, i'm just starting with mono. So i created two test classes TestClass1 and TestClass2 and compile them to TestClasses.dll. I have a class Program.cs which references TestClasses.dll and is compiled to TestClasses.exe. If i run the Program mono throws a System.TypeLoadException. If i change -out to Test.exe everything runs fine. So, is it possible to have same name for .dll and .exe ? Makefile is (class code not included because its trivial): all: gmcs /t:library -out:TestClasses.dll TestClass1.cs TestClass2.cs gmcs /t:exe -out:TestClasses.exe -r:TestClasses.dll Program.cs Hope this is the right list, because it's my first post here. Claus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070611/787bcebd/attachment.html From robertj at gmx.net Mon Jun 11 05:47:32 2007 From: robertj at gmx.net (Robert Jordan) Date: Mon, 11 Jun 2007 11:47:32 +0200 Subject: [Mono-list] Same name for .dll and .exe problem In-Reply-To: <7B6BD17322664001B48BF319CD24AB23@ewtc.local> References: <7B6BD17322664001B48BF319CD24AB23@ewtc.local> Message-ID: Hi Claus, Claus Trojahn wrote: > i'm just starting with mono. So i created two test classes TestClass1 and > TestClass2 and compile them to TestClasses.dll. I have a class Program.cs > which references TestClasses.dll and is compiled to TestClasses.exe. If i > run the Program mono throws a System.TypeLoadException. If i change -out to > Test.exe everything runs fine. > > > > So, is it possible to have same name for .dll and .exe ? This is a known issue: http://bugzilla.ximian.com/show_bug.cgi?id=78165 Robert From kobruleht2 at hot.ee Mon Jun 11 05:48:04 2007 From: kobruleht2 at hot.ee (Andrus) Date: Mon, 11 Jun 2007 12:48:04 +0300 Subject: [Mono-list] Caching data Message-ID: I'm creating C# WinForms client-server database application in MONO. This application reads data from PostgreSQL server using npgsql Dataadapter and DataReader classes and stores data mostly in Datasets and sometimes in business object properties. A lot of lookup tables (payment terms, currency list etc) are static. Currently application reads them from server when new window is opened over TCP connection This makes application slow. How to cache data in client side ? Where to find caching module for .NET application ? It it reasonable to use .NET 2 Web Cache object for this ? MS Web Cache object doc says that it is designed only for ASP .NET application. Is it reasonable to use it in WinForms application or are there better caching object available? I cannot use MS Caching application block since my application needs to run in Linux also. Andrus. From antonello at deveel.com Mon Jun 11 06:41:09 2007 From: antonello at deveel.com (Antonello Provenzano) Date: Mon, 11 Jun 2007 12:41:09 +0200 Subject: [Mono-list] Caching data In-Reply-To: References: Message-ID: Andrus, A solution, known just to few skilled developers, is to use memcached server with a C# client. Make a research on Google about this two issues and you will find "exactly" what are you looking for. Another solution is to write your own cache manager to store data into the client filesystem and check for expiration and evictions average: it depends on the context you want to use the cache for. Cheers. Antonello On 6/11/07, Andrus wrote: > I'm creating C# WinForms client-server database application in MONO. > > This application reads data from PostgreSQL server using npgsql Dataadapter > and DataReader classes and stores data mostly in Datasets and sometimes in > business object properties. > > A lot of lookup tables (payment terms, currency list etc) are static. > Currently application reads them from server when new window is opened over > TCP connection > This makes application slow. > > How to cache data in client side ? > > Where to find caching module for .NET application ? > > It it reasonable to use .NET 2 Web Cache object for this ? > MS Web Cache object doc says that it is designed only for ASP .NET > application. > Is it reasonable to use it in WinForms application or are there better > caching object available? > > I cannot use MS Caching application block since my application needs to run > in > Linux also. > > Andrus. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From claus at home.neflux.de Mon Jun 11 07:34:34 2007 From: claus at home.neflux.de (Claus Trojahn) Date: Mon, 11 Jun 2007 13:34:34 +0200 Subject: [Mono-list] Same name for .dll and .exe problem In-Reply-To: References: <7B6BD17322664001B48BF319CD24AB23@ewtc.local> Message-ID: Thx, the renaming thing works for me. -----Urspr?ngliche Nachricht----- Von: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] Im Auftrag von Robert Jordan Gesendet: Montag, 11. Juni 2007 11:48 An: Mono-list at lists.ximian.com Betreff: Re: [Mono-list] Same name for .dll and .exe problem Hi Claus, Claus Trojahn wrote: > i'm just starting with mono. So i created two test classes TestClass1 and > TestClass2 and compile them to TestClasses.dll. I have a class Program.cs > which references TestClasses.dll and is compiled to TestClasses.exe. If i > run the Program mono throws a System.TypeLoadException. If i change -out to > Test.exe everything runs fine. > > > > So, is it possible to have same name for .dll and .exe ? This is a known issue: http://bugzilla.ximian.com/show_bug.cgi?id=78165 Robert _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list From antonello at deveel.com Mon Jun 11 07:46:42 2007 From: antonello at deveel.com (Antonello Provenzano) Date: Mon, 11 Jun 2007 13:46:42 +0200 Subject: [Mono-list] Mono Debugger 0.50 In-Reply-To: <1181407485.16735.15.camel@erandi.dom> References: <1181407485.16735.15.camel@erandi.dom> Message-ID: Miguel, I am one of the happiest person in the list at this moment: since I rely on debugger for most of the development not having it running for Mono was a huge limitation for me. I don't know if is this the right place, but... Do you know when will it be available for MD integration? It was already present but required the specific compilation directive and it was not working even in that case. Thank you again! Antonello On 6/9/07, Miguel de Icaza wrote: > Hello folks, > > You might not have noticed this but as part of the Mono 1.2.4 > release we shipped the Mono debugger for x86 and x86-64 on Linux. > > A guide on using the debugger is here: > > http://www.mono-project.com/Guide:Debugger > > Please file bug reports and provide us feedback as to what you would > like to see in it. > > Miguel. > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From oorrii at gmail.com Fri Jun 8 01:54:56 2007 From: oorrii at gmail.com (Ori) Date: Thu, 7 Jun 2007 22:54:56 -0700 (PDT) Subject: [Mono-list] Microsoft.CSharp and System.CodeDom.Compiler Message-ID: <11020930.post@talk.nabble.com> Hello, On .net framework 2.00 I'm using the two namespaces to compile code at runtime, and then run it within a context. I wanted to know if it is possible to do the same in Mono Thanks. -- View this message in context: http://www.nabble.com/Microsoft.CSharp-and-System.CodeDom.Compiler-tf3887924.html#a11020930 Sent from the Mono - General mailing list archive at Nabble.com. From ateista at gmail.com Sun Jun 10 02:37:35 2007 From: ateista at gmail.com (ateista) Date: Sat, 9 Jun 2007 23:37:35 -0700 (PDT) Subject: [Mono-list] Get System Information Message-ID: <11046269.post@talk.nabble.com> How can I get system information like Free/Total RAM memory, Disks sizes, etc? In windows I can use WMI, but there is a way to do it with MONO running on linux? If not, maybe I can get this info by executing a "FREE" and "DF" (executing those on command line gives the free memory and disks sizes)... but then how can I get the result from a command line application on my MONO app? Thanks, and sorry for my bad english :/ -- View this message in context: http://www.nabble.com/Get-System-Information-tf3896512.html#a11046269 Sent from the Mono - General mailing list archive at Nabble.com. From adrien.dessemond at softhome.net Mon Jun 11 10:21:11 2007 From: adrien.dessemond at softhome.net (Adrien Dessemond) Date: Mon, 11 Jun 2007 10:21:11 -0400 (EDT) Subject: [Mono-list] newbie:installing monodevelop Message-ID: <11347.205.205.143.7.1181571671.squirrel@pro.SoftHome.net> Hello ! > Please advise me which monodevelop version to choose for installing > with mono 1.2.4 installed.I tried the latest one (0.13.1) and got a message > saying "please install mono 1.1.0 or later"..I don't understand what's > happened!! MonoDevelop 0.13 works with Mono 1.2.4. your trouble may come from a path issue. Do you have many Mono versions deployed on the same machine ? What reports mono --version Kind regards, Adrien From miguel at ximian.com Mon Jun 11 10:56:08 2007 From: miguel at ximian.com (Miguel de Icaza) Date: Mon, 11 Jun 2007 10:56:08 -0400 Subject: [Mono-list] Mono Debugger 0.50 In-Reply-To: References: <1181407485.16735.15.camel@erandi.dom> Message-ID: <1181573768.4162.20.camel@erandi.dom> Hello, > I am one of the happiest person in the list at this moment: since I > rely on debugger for most of the development not having it running for > Mono was a huge limitation for me. Am happy to hear this. > I don't know if is this the right place, but... Do you know when will > it be available for MD integration? It was already present but > required the specific compilation directive and it was not working > even in that case. The plan is to have this done by the end of the summer, so expect a release around late September/October. Miguell > Thank you again! > Antonello > > > On 6/9/07, Miguel de Icaza wrote: > > Hello folks, > > > > You might not have noticed this but as part of the Mono 1.2.4 > > release we shipped the Mono debugger for x86 and x86-64 on Linux. > > > > A guide on using the debugger is here: > > > > http://www.mono-project.com/Guide:Debugger > > > > Please file bug reports and provide us feedback as to what you would > > like to see in it. > > > > Miguel. > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > From mitcheloc at gmail.com Mon Jun 11 11:50:01 2007 From: mitcheloc at gmail.com (mitcheloc) Date: Mon, 11 Jun 2007 08:50:01 -0700 Subject: [Mono-list] Get System Information In-Reply-To: <11046269.post@talk.nabble.com> References: <11046269.post@talk.nabble.com> Message-ID: I'm interested in any responses to this as well. Ateista, If you execute a system command you can redirect the console input. Google "Console Redirection C#" and you should find an example on it. On 6/9/07, ateista wrote: > > How can I get system information like Free/Total RAM memory, Disks sizes, > etc? > In windows I can use WMI, but there is a way to do it with MONO running on > linux? > > If not, maybe I can get this info by executing a "FREE" and "DF" (executing > those on command line gives the free memory and disks sizes)... but then how > can I get the result from a command line application on my MONO app? > > Thanks, and sorry for my bad english :/ > > > -- > View this message in context: http://www.nabble.com/Get-System-Information-tf3896512.html#a11046269 > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -- ________________ Mitchel Constantin Snap - A desktop user interface for Asterisk www.snapanumber.com From kobruleht2 at hot.ee Mon Jun 11 12:16:30 2007 From: kobruleht2 at hot.ee (Andrus) Date: Mon, 11 Jun 2007 19:16:30 +0300 Subject: [Mono-list] Caching data In-Reply-To: References: Message-ID: <2195A2B8E2F646BDBAC11822A086460B@server> Antonello, thank you. > A solution, known just to few skilled developers, is to use memcached > server with a C# client. > Make a research on Google about this two issues and you will find > "exactly" what are you looking for. This seems too complicated for this type of task. I need my application running in single computer. So I must install and maintain separate server which is not in C# language and communicate with it using TCP/IP > Another solution is to write your > own cache manager to store data into the client filesystem and check > for expiration and evictions average: it depends on the context you > want to use the cache for. This would be better solution. I'd prefer to use some existing class rather than writing my own. I searced in google but havent found any cache manager for MONO .NET 2 Winforms application. Andrus. From peter at wingsofdeath.nu Mon Jun 11 14:51:33 2007 From: peter at wingsofdeath.nu (Peter Hagen) Date: Mon, 11 Jun 2007 20:51:33 +0200 Subject: [Mono-list] Get System Information In-Reply-To: <11046269.post@talk.nabble.com> References: <11046269.post@talk.nabble.com> Message-ID: <466D99B5.8030408@wingsofdeath.nu> Hi on linux you can read the /proc and /sys 'files'. Like: $ cat /sys/block/hda/size 488397168 I don't know what this is, blocks or bytes, but you can read all kinds of info from the kernel greetz Peter ateista wrote: > How can I get system information like Free/Total RAM memory, Disks sizes, > etc? > In windows I can use WMI, but there is a way to do it with MONO running on > linux? > > If not, maybe I can get this info by executing a "FREE" and "DF" (executing > those on command line gives the free memory and disks sizes)... but then how > can I get the result from a command line application on my MONO app? > > Thanks, and sorry for my bad english :/ > > From chris at chrisseaton.com Mon Jun 11 15:50:17 2007 From: chris at chrisseaton.com (Chris Seaton) Date: Mon, 11 Jun 2007 20:50:17 +0100 Subject: [Mono-list] Master's project built on Mono Message-ID: <17ab686f0706111250u55325f41s5459455263b657d8@mail.gmail.com> Hi, I just completed my master's project and as I used Mono I wanted to thank everyone who has contributed to development of the framework. I've found Mono very stable, fast and easy to use. My project, Katahdin is a programming language interpreter written in C#. Unlike most interpreters, the language that Katahdin interprets can be modifed by the running program. You can add new language constructs such as expressions and statements as easily as defining new functions and types. If your langauge doesn't have a for-each statement you can define one in just a few lines. Katahdin can be compared to CLI languages such as Boo and Nemerle that have macro systems but it's much more powerful. An entire language can be defined in Katahdin, turning the interpreter into an interpreter for that language that can run off the shelf programs. Two languages can be composed to use them both at the same time. For example, in my demos I use write a program in one file that has both Python and FORTRAN code running together, sharing code and data. You might be interested in looking at Katahdin because: * It is a medium sized application built entirely in Mono * It very heavily uses DynamicMethod and ClassBuilder * It allows for interesting new language development in Mono * Optimisations could be tested on it You may also be interested in the theory of Katahdin, and how they are implemented in Mono: * Parsing expression grammars * Packrat parsing You can find Katahdin, my thesis and other literature at http://www.chrisseaton.com/katahdin/. The code is in the public domain. Thanks Chris Seaton From adrien.dessemond at softhome.net Tue Jun 12 01:25:10 2007 From: adrien.dessemond at softhome.net (Adrien Dessemond) Date: Tue, 12 Jun 2007 01:25:10 -0400 Subject: [Mono-list] (Problem solved) Large strings truncated with SqlClient Message-ID: <7.0.1.0.2.20070611232010.0202b268@softhome.net> Hello ! Someone asked some days ago how to send a large text buffer to a SQL Server database (in the database, his strings were truncated at their first 4000 bytes when the code is run under Mono and are complete when run with the Microsoft implementation). I post the solution here if someone else has the same kind of symptoms. Please, free feel to comment and complete/correct. The "trick" is simply to force the DbSqlDatatype to SqlDbDataType.NText. E.g. : sqlcmd.CommandText = "INSERT INTO yourtable(...YOURCOLUMN,...).. VALUES (.... at YOURCOLUMN,...)" .... SqlParameter prm = new SqlParameter(); ... prm.ParameterName = "@YOURCOLUMN"; prm.Value = prm.SqlDbDataType = SqlDbDataType.NText; // your column must be of type NTEXT (or VARCHAR(MAX)) in the database ! sqlcmd.Add(prm); ... By default, SqlDbDataType is set to NVarChar when a System.String object is assigned to the SqlParameter, perfectly correct (both in Microsoft and Mono implementations). Here lies the trick : The Mono MSSQL implementation does not care about the real length of a string assigned to an SqlParameter. It blindly "trusts" the value set in the SqlDbDataType property of the SqlParameter object (SqlDbType.NVarChar in our case). As 'NVarChars' table columns are limited to 4000 unicode characters, the string is truncated to its first 4000 characters when sent to the database. The Microsoft MSSQL implementation (gotcha ? lazzyproof ?) *cares about* the string length : if the string assigned to a SqlParameter object exceeds 4000 bytes, the SqlDbDataType property of this SqlParameter object is considered as set to SqlDbDataType.NText (even it still equals to SqlDbDataType.NVarChar). This explain why the string is not truncated when sent to the databse in that case. This behaviour is *not* documented in the MSDN (!). Of course if you try to store your more-than-4000 bytes-string in a table column defined as "NVarChar" in the database, an exception saying "Data truncation will occur if you do that" will be thrown.... even SqlDbType is set to SqlDbType.NText. No miracles there. Altought used 'NVARCHAR'/'NTEXT' here but the same applies for 'VARCHAR'/'TEXT'. (Many thanks to my collegue who accepted to lend me some of its SQL Server resources to solve this issue while in a rush) Kind regards, Adrien From rupanu.pal at rediffmail.com Tue Jun 12 01:46:40 2007 From: rupanu.pal at rediffmail.com (rupanu pal) Date: 12 Jun 2007 05:46:40 -0000 Subject: [Mono-list] newbie:installing monodevelop Message-ID: <1181591466.S.15069.16974.webmail3.old.1181627198.25954@webmail.rediffmail.com> hello ,   I am still confused !! I don\'t understand why monodevelop package wants mint....or is it a package i have to install?Here I paste the snippet dump from my terminal screen...Please have a look at it and tell me what\'s the issue..Thanking in advance..rupanu/***************************terminal***********************************************/linux:~ # mono --versionMono JIT compiler version 1.2.4 (tarball)Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com        TLS:           __thread        GC:            Included Boehm (with typed GC)        SIGSEGV:       normal        Architecture:  x86        Disabled:   & nbsp;  nonelinux:~ # cd monodevelop-0.13.1/linux:~/monodevelop-0.13.1 # ./configurechecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking how to create a ustar tar archive... gnutarchecking whether to enable maintainer-specific portions of Makefiles... nochecking for intltool >= 0.25... 0.33 foundchecking for perl... /usr/bin/perlchecking for XML::Parser... okchecking for iconv... /usr/bin/iconvchecking for msgfmt... /usr/bin/msgfmtchecking for msgmerge... msgmergechecking for xgettext... xgettextchecking for mono... /usr/local/bin/monochecking for gmcs... /usr/local/bin/gmcschecking for update-mime-database... /usr/bin/update-mime-databasechecking for update-desktop-database... /opt/gnome/bin/update-desktop-databasechecking for pkg-config... /usr/bin/pkg-configchecking for mono >= 1.1.10... checking for mint >= 1.1.10... configure: e rror: Please install mono version 1.1.10 or later to install MonoDevelop.Please see http://www.mono-project.org/ to download latest mono sources or packageslinux:~/monodevelop-0.13.1 # /********************************************************************************/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070612/8dbe2b98/attachment.html From anagappan at novell.com Tue Jun 12 01:58:16 2007 From: anagappan at novell.com (A Nagappan) Date: Mon, 11 Jun 2007 23:58:16 -0600 Subject: [Mono-list] (Problem solved) Large strings truncated with SqlClient Message-ID: <466E8351020000440000B3C8@lucius.provo.novell.com> Hi, Thanks for the info. Added this mail thread link in http://www.mono-project.com/SQLClient. Thanks Nagappan Nagappan A Linux Desktop Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com Novell, Inc. SUSE? Linux Enterprise 10 Your Linux is ready? http://www.novell.com/linux >>> Adrien Dessemond 06/12/07 10:55 AM >>> Hello ! Someone asked some days ago how to send a large text buffer to a SQL Server database (in the database, his strings were truncated at their first 4000 bytes when the code is run under Mono and are complete when run with the Microsoft implementation). I post the solution here if someone else has the same kind of symptoms. Please, free feel to comment and complete/correct. The "trick" is simply to force the DbSqlDatatype to SqlDbDataType.NText. E.g. : sqlcmd.CommandText = "INSERT INTO yourtable(...YOURCOLUMN,...).. VALUES (.... at YOURCOLUMN,...)" .... SqlParameter prm = new SqlParameter(); ... prm.ParameterName = "@YOURCOLUMN"; prm.Value = prm.SqlDbDataType = SqlDbDataType.NText; // your column must be of type NTEXT (or VARCHAR(MAX)) in the database ! sqlcmd.Add(prm); ... By default, SqlDbDataType is set to NVarChar when a System.String object is assigned to the SqlParameter, perfectly correct (both in Microsoft and Mono implementations). Here lies the trick : The Mono MSSQL implementation does not care about the real length of a string assigned to an SqlParameter. It blindly "trusts" the value set in the SqlDbDataType property of the SqlParameter object (SqlDbType.NVarChar in our case). As 'NVarChars' table columns are limited to 4000 unicode characters, the string is truncated to its first 4000 characters when sent to the database. The Microsoft MSSQL implementation (gotcha ? lazzyproof ?) *cares about* the string length : if the string assigned to a SqlParameter object exceeds 4000 bytes, the SqlDbDataType property of this SqlParameter object is considered as set to SqlDbDataType.NText (even it still equals to SqlDbDataType.NVarChar). This explain why the string is not truncated when sent to the databse in that case. This behaviour is *not* documented in the MSDN (!). Of course if you try to store your more-than-4000 bytes-string in a table column defined as "NVarChar" in the database, an exception saying "Data truncation will occur if you do that" will be thrown.... even SqlDbType is set to SqlDbType.NText. No miracles there. Altought used 'NVARCHAR'/'NTEXT' here but the same applies for 'VARCHAR'/'TEXT'. (Many thanks to my collegue who accepted to lend me some of its SQL Server resources to solve this issue while in a rush) Kind regards, Adrien _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list From madtom1999 at yahoo.com Tue Jun 12 05:32:52 2007 From: madtom1999 at yahoo.com (tom potts) Date: Tue, 12 Jun 2007 10:32:52 +0100 (BST) Subject: [Mono-list] Debugger on Suse9.2 Pro Message-ID: <377120.79928.qm@web51512.mail.re2.yahoo.com> While the Suse 9.2 Prof on http://www.mono-project.com/Downloads has not been updated to include the latest debugger I've installed the Suse10.2 version and it seems to work - even if the program doesnt return cleanly to the shell. Yippee. Tom ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From virgile.bello at free.fr Tue Jun 12 05:39:47 2007 From: virgile.bello at free.fr (virgile.bello at free.fr) Date: Tue, 12 Jun 2007 11:39:47 +0200 Subject: [Mono-list] MonoBind (C++ binding library) and runtime debugger for embedded mono. Message-ID: <1181641187.466e69e3072d6@imp.free.fr> Hi, I just wanted to let you know that I updated the monobind library, available at http://dev.kalimdor.org/entropia It's a C++ wrapper library for C# scripting (luabind/boost::python alike). Now it doesn't need mono to be patched anymore. What's left is auto-generating .cs headers, and embed mcs compiler to compile C# scripts on the fly wi