[Mono-list] Component vs. Class
This is more of a .NET question than a Mono one, but anyway... what, effectively, are the differences between a Component (a class derived from System.Component) and a normal class? In theory, they seem identical. When should I use one or the other? signature.asc Description: This is a digitally signed message part
[Mono-list] Can't connect to Oracle with Mono 0.29 on WinXP
Hi, As you can see from the transcript below, I'm trying to connect to Oracle. Problem 1: I get runtime errors about System.Data.OracleClient.dll being not found if it doesn't exist in the same directory as my executable -- meaning I had to copy it from C:\Program Files\Mono-0.29\lib to wherever. Is this bugzilla material? Problem 2: Once System.Data.OracleClient can be found, I get the exception shown. Any suggestions for getting around this exception or finding out more about it? (I don't have class sources to go looking through.) Thanks, Jason - snip - M:\MONO\SOURCE>type try.cs using System; using System.Data.OracleClient; public class Try { public static void Main( string[] args ) { OracleConnection dbConn; try { // connect to database dbConn = new OracleConnection( "Data Source=dgdgis;" + "User Id=user;" + "Password=passwd;" ); dbConn.Open(); dbConn.Close(); } catch( Exception e ) { Console.WriteLine( e.ToString() ); } dbConn = null; } // main() } // class Try M:\MONO\SOURCE>mcs /r:System /r:System.Data.OracleClient Try.cs M:\MONO\SOURCE>try System.Security.SecurityException: System.Security.Permissions.SecurityPermissio n at System.Data.OracleClient.Oci.OciEnvironmentHandle..ctor(OciEnvironmentMo de mode) at System.Data.OracleClient.Oci.OciGlue.CreateConnection(OracleConnectionIn fo conInfo) at System.Data.OracleClient.OracleConnection.Open() at Try.Main(String[] args) Unhandled Exception: System.Security.SecurityException: System.Security.Permissi ons.SecurityPermission at System.Data.OracleClient.Oci.OciHandle.FreeHandle() at System.Data.OracleClient.Oci.OciHandle.Dispose(Boolean disposing) at System.Data.OracleClient.Oci.OciHandle.Finalize() The state of the failed permission was: - snip - Is this a packaging bug? Does ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Mono project evaluation
Dear all I have a mono project http://mono.use-trade.com/mono/default.aspx that should be alive next Mars. Where can i find Powered by mono logos? Your feed back will be highly appreciated. hameed - This mail sent through IMP: http://horde.org/imp/ ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] New Year, New Debian Packages
Ramon Rey Vicente wrote: El lun, 12-01-2004 a las 04:50, Pablo Fischer escribiÃ: Hello! Like I promised to everyone, the Debian Packages are finally out :), also, some points: What about putting this packages in http://www.debianplanet.org/mono/? Somebody mentioned that Alp was busy at school. -- David Moreno Garza <[EMAIL PROTECTED]> ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] (no subject)
A think I do not understand is.. why not add that file?, that is the reason why I didn't released the .29 version for Debian. Pablo El mié, 14-01-2004 a las 07:46, A Rafael D Teixeira escribió: > It comes down to: > > Could not find file "..\..\bytefx.snk" > > This file was forgotten when the packaging occured, if I recall correctly, > get it from anon-cvs instead. > > Hope it helps, > > Rafael Teixeira > Brazilian Polymath > Mono Hacker since 16 Jul 2001 > MonoBrasil Founding Member - Membro Fundador do MonoBrasil > English Blog: http://monoblog.blogspot.com/ > Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/ > > _ > MSN Messenger: instale grátis e converse com seus amigos. > http://messenger.msn.com.br > > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] New Year, New Debian Packages
Hi Michael! Not now. First we need to create the unstable and stable packages for mono and mcs, once we create those package we are going to create other packages, such as xsp, mod_mono, monodoc and gtksharp. Also I released the mod_mono and xsp packages cause I found them very easy, also, if someone tries to help with one of those packages that will be very helpfull. Pablo El mié, 14-01-2004 a las 06:23, Michael Ott escribió: > Hello Pablo! > > Is monodoc in this packages? > > CU > > Michael > > -- >Michael Ott, e-mail: [EMAIL PROTECTED], www.zolnott.de > I am registered as user #275453 with the Linux Counter, http://counter.li.org. > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Windows SFU 3.5...
Hello all: Apparently all this free linux stuff has gotten the message to MS. Windows Services for Unix 3.5 will now be free. http://www.informationweek.com/story/showArticle.jhtml?articleID=17300643 Pretty interesting. Maybe someone can test some of the tools included, if they fit, with a mono install... Just a thought. Richard Norman Web/Application Developer** The contents of this email and any attachments are confidential. It is intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies. **
[Mono-list] Combo.Entry+WINDOWS problem solved
The error was generated because in my cygwin compilation i had an old version of glib and others package compilation. Now it's functionality is so good on Windows. THANKS ALL Consigue tu correo GRATIS en Manizales.com, dale vida a tus mensajes con más de 300 motivos gráficos. Busca el portal de tu ciudad en http://www.enredese.net ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Type Reflector
bother, this sqlsharpgtk needs a patch commited on Mon, 15 Dec 2003 11:59:26 -0500 (EST), so I'll have to wait. There is to much shifting going on on this server, so I'd like to keep mono as 'stable' as posible thanks anyway to pointing this one out. I did get type-reflector and object-browser running. The former with one quick-fix on one line. (ref -> out param: use a local object to get a out parameter) wkr, Gerke Daniel Morgan wrote: SQL# For GTK# is in its own cvs module now as sqlsharpgtk. The command line version of SQL# still exists at mcs/tools/SqlSharp. A lot of tools are released on their own schedule. SQL# For GTK# was never released. I would like to release a version of SQL# For GTK#, but I'm not happy with the state of TreeView working on Windows right now. It works ok on Linux though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan Pryor Sent: Wednesday, January 14, 2004 7:28 AM To: Zonnet Cc: [EMAIL PROTECTED] Subject: Re: [Mono-list] Type Reflector Type Reflector was moved into the "type-reflector" CVS repository. It is also in the "mono-tools" repository, which can also create RPMs, if needed. SQL# is in mcs/tools/SqlSharp/. Object Browser is in the "monotalk" CVS repository, in the "ObjectBrowser" directory. - Jon On Wed, 2004-01-14 at 03:38, Zonnet wrote: Hi list, I'm so much wanting to see this GUI stuf going on Mono. I druwl at the screen shots. But for what ever reason I cannot find these tools in my mono install. Can anyone help me? 1. "Type Reflector is a tool included in Mono to inspect your assemblies." 2. "SQL# For GTK#" 3. "Radek Doulik's Object Browser is a useful tool to inspect existing assemblies and their source code" About 1: on http://monoevo.sourceforge.net/mwn/archives/20030110.html it is said to be in mcs/tools/type-reflector but that dir in CVS is empty when you check-out HEAD wkr, Gerke ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] RedCarpet Mono Channel for Suse 9.0 ?
Hi all, Anyone know if there is a RedCarpet Mono Channel for Suse 9.0? I'd like to know before attempting to install RedCarpet. Thank you! Chris ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Combo.Entry+WINDOWS+dotGNU
I compiled my program using CSCC (dotGNU v6.2) on WINDOWS (GTK·-0.15) and the execution has the same problem with mono (mono-0.29) but the the error is more detailed: $ ilrun ryc-dotgnu.exe (:744): GLib-GObject-CRITICAL **: file gobject.c: line 1319 (g_object_r ef): assertion `G_IS_OBJECT (object)' failed (:744): GLib-GObject-CRITICAL **: file gobject.c: line 1319 (g_object_r ef): assertion `G_IS_OBJECT (object)' failed Uncaught exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at GLib.Object.get_Handle() at Gtk.Entry.set_Text(String) at main..ctor() at main.Main(String[]) $ mono ryc-dotgnu.exe Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required in <0x9> GLib.Object:get_Handle () in <0xd> Gtk.Entry:set_Text (string) in <0x00065> .main:.ctor () in <0x0002a> .main:Main (string[]) Consigue tu correo GRATIS en Manizales.com, dale vida a tus mensajes con más de 300 motivos gráficos. Busca el portal de tu ciudad en http://www.enredese.net ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Writing a (ASP.NET) Web Service Client using Mono-0.29 on Libranet2.8
El mar, 13-01-2004 a las 22:15, Martin Gamsjaeger escribió: > Hi, > > I just installed Mono-0.29 from sources on my Libranet2.8 desktop. Everything ran > very > smooth, and after reading a few hints on how to complete the install (getting the > missing asp_state.exe.config and commenting out the bytefx.snk usage) I had an > almost > ready working version of Mono! Let me say here: Thanks! it's great :-) > > Still, I'm facing two little problems. The first one Mono (XSP) not being able to > run the > ConverterService.asmx with the following error: > > --- > Compilation Error > > Description: Error compiling a resource required to service this request. Review > your > source file and modify it to fix this error. > > Error message: /tmp/tmp6544406f.cs(58,0) : error CS0246: Could not find attribute > 'TraceExtension' (are you missing a using directive or an assembly reference ?) [...] > > File name: /home/ofi/gamsl/mono/xsp-0.8/server/test/ConverterService.asmx You're running it from the source code directory. You should run 'make install', which will compile some source files and install them as dlls in the bin directory. > > Source File: /tmp/tmp6544406f.cs > > > Before I changed web.config the situation was even worse because mono wasn't able to > run any of it's web service examples, because the web.config file coming with > release > 0.29 seems somehow broken. I could improve this situation by changing web.config to > the following (changes in the section): Same here. Run 'make install' and then run xsp in the directory where the samples are installed ($prefix/share/doc/xsp/test). [...] > > My second and actually more important question is how to write a client for a web > service. I know that with microsofts .net implementation one has to use the wsdl.exe > tool > to generate a c# proxy file, in which you specify the namespace for the proxy, but > there > seems to be no equivalent way in mono, since the proxy file is automatically > generated. I > now have the problem that my client will not find my web service and complain with > the > following error message: > > --- > Description: Error compiling a resource required to service this request. Review > your > source file and modify it to fix this error. > > Error message: /home/ofi/gamsl/mono/xsp-0.8/server/test/Adder.aspx.cs(13,0) : error > CS0246: Cannot find type `TimeService' > (0,0) : error failed: 1 error(s), 0 warnings > > File name: /home/ofi/gamsl/mono/xsp-0.8/server/test/Adder.aspx.cs Again. > > > > Here is my sample service and client: > > TimeService.asmx: > - > > <%@ WebService Language="C#" Class="TimeService"%> > > using System; > using System.Text; > using System.Web.Services; > > public class TimeService : WebService > { > [WebMethod(Description="Returns the current time")] > public string GetTime() > { > return System.DateTime.Now.ToLongTimeString(); > } > } > > TimeClient.aspx: > -- > > <%@ Page Language="C#" Inherits="TimeClientPage" Src="TimeClient.aspx.cs"%> > > Time on server > > > Click for time on Server > > > > > > > TimeClient.aspx.cs: > -- > > using System; > using System.Web.UI; > using System.Web.UI.WebControls; > > public class TimeClientPage : Page It's recommended (if not mandatory...) to put your class inside a namespace. > { > protected Label time; > protected Button ok; > > public void ButtonClick(object sender, EventArgs e) > { > TimeService service = new TimeService(); > total.Text = service.GetTime(); > } > } > > All the files reside in "xsp-0.8/server/test" and xsp.exe is started from this > folder. > > Now my question: How can I specify the namespace where to find the service? If i put > the service itself in a namespace (that is in file TimeService.asmx writing > "namespace > XXX { ... }) it won't work. Strange is also that when I ask the TimeService Object > about > it's namespace using "string ns = new TimeService().GetType().Namespace" it gives me > "http://tempuri.org/"; which is no valid namespace name in C# (at least it gives me > syntax > errors when I try "using http://tempuri.org/";) Just put 'Inherits="Namespace.ClassName"'. > > Can anyone tell me what I'm doing wrong here? It's all about installing things properly. So, to summarize: * Run make install and run xsp from the directory where it installs the tests. * For your TimeClient.aspx.cs, compile it into a dll and that dll deployed in bin directory.ç -Gonzalo ___
Re: [Mono-list] Build fails on OS X 10.3
The mac is pretty new and it came with panther out of the box. From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [Mono-list] Build fails on OS X 10.3 Date: Tue, 13 Jan 2004 14:57:45 -0800 Haven't seen this error before, so this is a long shot: Did you install the bsd subsystem when installing panther and xcode? - Original Message - From: "Micah Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 13, 2004 11:53 AM Subject: [Mono-list] Build fails on OS X 10.3 I'm getting the following error when I try to Make mono. The build environment is a PowerBook with OS X Panther. Any ideas what I'm doing wrong? gcc -o monoburg ./monoburg.c parser.c -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I. -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv gcc: unrecognized option `-pthread' ld: can't locate file for: -lgthread-2.0 make[3]: *** [monoburg] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Micah Martin Object Mentor, Inc. www.objectmentor.com ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list Micah Martin Object Mentor, Inc. www.objectmentor.com ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] (no subject)
It comes down to: Could not find file "..\..\bytefx.snk" This file was forgotten when the packaging occured, if I recall correctly, get it from anon-cvs instead. Hope it helps, Rafael Teixeira Brazilian Polymath Mono Hacker since 16 Jul 2001 MonoBrasil Founding Member - Membro Fundador do MonoBrasil English Blog: http://monoblog.blogspot.com/ Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/ _ MSN Messenger: instale grátis e converse com seus amigos. http://messenger.msn.com.br ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] New Year, New Debian Packages
El miÃ, 14-01-2004 a las 02:13, Pablo Fischer escribiÃ: > And why no.. > > debian.org :) > > We created a irc channel [1] to talk about the Mono Debian Packaging > Team. Would be nice a MONO Strike Force in Debian :) -- RamÃn Rey Vicente jabber ID GPG public key ID 0xBEBD71D5 -> http://pgp.escomposlinux.org/ signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
RE: [Mono-list] Type Reflector
SQL# For GTK# is in its own cvs module now as sqlsharpgtk. The command line version of SQL# still exists at mcs/tools/SqlSharp. A lot of tools are released on their own schedule. SQL# For GTK# was never released. I would like to release a version of SQL# For GTK#, but I'm not happy with the state of TreeView working on Windows right now. It works ok on Linux though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jonathan Pryor Sent: Wednesday, January 14, 2004 7:28 AM To: Zonnet Cc: [EMAIL PROTECTED] Subject: Re: [Mono-list] Type Reflector Type Reflector was moved into the "type-reflector" CVS repository. It is also in the "mono-tools" repository, which can also create RPMs, if needed. SQL# is in mcs/tools/SqlSharp/. Object Browser is in the "monotalk" CVS repository, in the "ObjectBrowser" directory. - Jon On Wed, 2004-01-14 at 03:38, Zonnet wrote: > Hi list, > I'm so much wanting to see this GUI stuf going on Mono. I druwl at the > screen shots. But for what ever reason I cannot find these tools in my > mono install. Can anyone help me? > 1. "Type Reflector is a tool included in Mono to inspect your > assemblies." > 2. "SQL# For GTK#" > 3. "Radek Doulik's Object Browser is a useful tool to inspect > existing assemblies and their source code" > About 1: on http://monoevo.sourceforge.net/mwn/archives/20030110.html > it is said to be in mcs/tools/type-reflector but that dir in CVS is > empty when you check-out HEAD > wkr, > Gerke > ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Type Reflector
Type Reflector was moved into the "type-reflector" CVS repository. It is also in the "mono-tools" repository, which can also create RPMs, if needed. SQL# is in mcs/tools/SqlSharp/. Object Browser is in the "monotalk" CVS repository, in the "ObjectBrowser" directory. - Jon On Wed, 2004-01-14 at 03:38, Zonnet wrote: > Hi list, > I'm so much wanting to see this GUI stuf going on Mono. I druwl at the > screen shots. But for what ever reason I cannot find these tools in my > mono install. Can anyone help me? > 1. "Type Reflector is a tool included in Mono to inspect your > assemblies." > 2. "SQL# For GTK#" > 3. "Radek Doulik's Object Browser is a useful tool to inspect > existing assemblies and their source code" > About 1: on http://monoevo.sourceforge.net/mwn/archives/20030110.html > it is said to be in mcs/tools/type-reflector but that dir in CVS is > empty when you check-out HEAD > wkr, > Gerke > ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] New Year, New Debian Packages
Hello Pablo! Is monodoc in this packages? CU Michael -- Michael Ott, e-mail: [EMAIL PROTECTED], www.zolnott.de I am registered as user #275453 with the Linux Counter, http://counter.li.org. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] blogX in mono?
I saw this mentioned on various boards, and shortly discussed a few months ago on this list, so it appears possible, but I have yet to be successful to get blogX successfully runnning in mono. I am currently running the october stable build of mono, so my woes may be entirely due to insufficient versions. I have been attempting to utilize the webclient of blogX through mono for a little while, and after making several alterations I was finally able to view a serverely broken representation of the aspx pages (I was forced to remove all of the 'Inherit=' tags, something which I assume shouldn't need to be done, nor actually solves the problem. Furthermore, I have had no succes getting the web services to run at all, the asmx will compile using mcs when signifying the assembly for the namespace and class associated with the service, yet when trying to use the service, an exception is thrown signifying that it can not locate the needed class or namespace. What steps have you all done to get blogX running in mono? I have been a net developer for something near one year now, and would like to get involved with mono development, but need a little help getting started. I figure blogX is a fun enough place to start. (I have ran most of the included examples, so I'm wanting to branch into larger, more realistic apps.) Kyle Prestenback
[Mono-list] Re: Problem installing Mono on Linux Mandrake 9.2!
Hi, I too was unable to find an rpm for Mandrake 9.2 . I tried the mandrake cooker rpms but they seemed to have circular dependencies. I was, however, able to build mono-0.29 from the sources without any problems, but mcs-0.29 would not compile. Every thing finally worked when I compiled from the daily packages (mono-0.29.99.20031226.tar.gz). I think they have all the mcs stuff in them? Gtk# compiled without too much trouble. To get gda, and gnome-db to work I had to build them from the source rather then using the Mandrake-rpms (something to do with how they name things?). I did get some errors when trying to run the example Gtk# hello world (it was looking for gtk win32 libraries or something crazy like that). After doing a final ‘make install’ from mono-0.29 everything finally worked. Regards, Phillip
[Mono-list] Writing a (ASP.NET) Web Service Client using Mono-0.29 on Libranet2.8
Hi, I just installed Mono-0.29 from sources on my Libranet2.8 desktop. Everything ran very smooth, and after reading a few hints on how to complete the install (getting the missing asp_state.exe.config and commenting out the bytefx.snk usage) I had an almost ready working version of Mono! Let me say here: Thanks! it's great :-) Still, I'm facing two little problems. The first one Mono (XSP) not being able to run the ConverterService.asmx with the following error: --- Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Error message: /tmp/tmp6544406f.cs(58,0) : error CS0246: Could not find attribute 'TraceExtension' (are you missing a using directive or an assembly reference ?) /tmp/tmp6544406f.cs(67,0) : error CS0246: Could not find attribute 'TraceExtension' (are you missing a using directive or an assembly reference ?) /tmp/tmp6544406f.cs(77,0) : error CS0246: Could not find attribute 'TraceExtension' (are you missing a using directive or an assembly reference ?) /tmp/tmp6544406f.cs(94,0) : error CS0246: Could not find attribute 'TraceExtension' (are you missing a using directive or an assembly reference ?) /tmp/tmp6544406f.cs(111,0) : error CS0246: Could not find attribute 'TraceExtension' (are you missing a using directive or an assembly reference ?) /tmp/tmp6544406f.cs(30,0) : error CS0246: Could not find attribute 'Dump' (are you missing a using directive or an assembly reference ?) /tmp/tmp6544406f.cs(31,0) : error CS0246: Could not find attribute 'Encrypt' (are you missing a using directive or an assembly reference ?) (0,0) : error failed: 7 error(s), 0 warnings File name: /home/ofi/gamsl/mono/xsp-0.8/server/test/ConverterService.asmx Source File: /tmp/tmp6544406f.cs Before I changed web.config the situation was even worse because mono wasn't able to run any of it's web service examples, because the web.config file coming with release 0.29 seems somehow broken. I could improve this situation by changing web.config to the following (changes in the section): -- - After doing this I was able to run TestService.asmx and a little example service I wrote my own, but I still am not able to run ConverterService.asmx with the above error message. What needs to be done here? My second and actually more important question is how to write a client for a web service. I know that with microsofts .net implementation one has to use the wsdl.exe tool to generate a c# proxy file, in which you specify the namespace for the proxy, but there seems to be no equivalent way in mono, since the proxy file is automatically generated. I now have the problem that my client will not find my web service and complain with the following error message: --- Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Error message: /home/ofi/gamsl/mono/xsp-0.8/server/test/Adder.aspx.cs(13,0) : error CS0246: Cannot find type `TimeService' (0,0) : error failed: 1 error(s), 0 warnings File name: /home/ofi/gamsl/mono/xsp-0.8/server/test/Adder.aspx.cs Here is my sample service and client: TimeService.asmx: - <%@ WebService Language="C#" Class="TimeService"%> using System; using System.Text; using System.Web.Services; public class TimeService : WebService { [WebMethod(Description="Returns the current time")] public string GetTime() { return System.DateTime.Now.ToLongTimeString(); } } TimeClient.aspx: -- <%@ Page Language="C#" Inherits="TimeClientPage" Src="TimeClient.aspx.cs"%> Time on server Click for time on Server TimeClient.aspx.cs: -- using System; using System.Web.UI; using System.Web.UI.WebControls; public class TimeClientPage : Page { protected Label time; protected Button ok; public void ButtonClick(object sender, EventArgs e) { TimeService service = new TimeService(); total.Text = service.GetTime(); } } All the files reside in "xsp-0.8/server/test" and xsp.exe is started from t
[Mono-list] (no subject)
I have attached the error message occured while making mcs-0.29 can any one help me Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to http://in.mobile.yahoo.com error_mcs Description: error_mcs
Re: [Mono-list] blogX in mono?
Hello, Over the next few weeks there will be an effort to 'port' as many open source asp.net applications as possible to Mono and get the patches pushed up stream. If there are any other asp.net applications that you would like to see on Mono please speak up now or forever hold your peace. Jackson On Tue, 2004-01-13 at 22:28, Kyle Prestenback wrote: > I saw this mentioned on various boards, and shortly discussed a few > months ago on this list, so it appears possible, but I have yet to be > successful to get blogX successfully runnning in mono. I am currently > running the october stable build of mono, so my woes may be entirely > due to insufficient versions. I have been attempting to utilize the > webclient of blogX through mono for a little while, and after making > several alterations I was finally able to view a serverely broken > representation of the aspx pages (I was forced to remove all of the > 'Inherit=' tags, something which I assume shouldn't need to be done, > nor actually solves the problem. Furthermore, I have had no succes > getting the web services to run at all, the asmx will compile using > mcs when signifying the assembly for the namespace and class > associated with the service, yet when trying to use the service, an > exception is thrown signifying that it can not locate the needed class > or namespace. > > What steps have you all done to get blogX running in mono? I have been > a net developer for something near one year now, and would like to get > involved with mono development, but need a little help getting > started. I figure blogX is a fun enough place to start. (I have ran > most of the included examples, so I'm wanting to branch into larger, > more realistic apps.) > > Kyle Prestenback ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Type Reflector
Hi list, I'm so much wanting to see this GUI stuf going on Mono. I druwl at the screen shots. But for what ever reason I cannot find these tools in my mono install. Can anyone help me? "Type Reflector is a tool included in Mono to inspect your assemblies." "SQL# For GTK#" "Radek Doulik's Object Browser is a useful tool to inspect existing assemblies and their source code" About 1: on http://monoevo.sourceforge.net/mwn/archives/20030110.html it is said to be in mcs/tools/type-reflector but that dir in CVS is empty when you check-out HEAD wkr, Gerke
Re: [Mono-list] blogX in mono?
Hi, I am running blogx with xsp.exe here: http://turchin.homelinux.net:81/blogx/ It was mostly a battle with Uri capitalization, and a couple of issues with object scope (The Server object was only addressable via HttpContext.Current.Serve) in asmx. The latter is fixed in CVS I think... Now everything seems to be working great. I can even use WinBlogX from windows to administer it from my windows machine at work via blogx's web services interface (though there too I needed to change the case of a couple of Uri's to make it work right). Getting the RSS to work as a bit of trouble as well, but was related to the asmx thing... It was not working right with mod_mono in apache last week but I think this may have changed in CVS as well, I need to test it again... If you need help or want a copy of the modified sources (or the Makefile ;-), send me a mail (there is a link from my blog as well ;-). regards, --chris On Wed, 2004-01-14 at 07:45, Gonzalo Paniagua Javier wrote: > El miÃ, 14-01-2004 a las 07:28, Kyle Prestenback escribiÃ: > > I saw this mentioned on various boards, and shortly discussed a few > > months ago on this list, so it appears possible, but I have yet to be > > successful to get blogX successfully runnning in mono. I am currently > > running the october stable build of mono, so my woes may be entirely > > due to insufficient versions. I have been attempting to utilize the > > webclient of blogX through mono for a little while, and after making > > several alterations I was finally able to view a serverely broken > > representation of the aspx pages (I was forced to remove all of the > > 'Inherit=' tags, something which I assume shouldn't need to be done, > > nor actually solves the problem. Furthermore, I have had no succes > > getting the web services to run at all, the asmx will compile using > > mcs when signifying the assembly for the namespace and class > > associated with the service, yet when trying to use the service, an > > exception is thrown signifying that it can not locate the needed class > > or namespace. > > > > What steps have you all done to get blogX running in mono? I have been > > a net developer for something near one year now, and would like to get > > involved with mono development, but need a little help getting > > started. I figure blogX is a fun enough place to start. (I have ran > > most of the included examples, so I'm wanting to branch into larger, > > more realistic apps.) > > First step is to use something more recent. Use latest 0.29 release or, > if you can handle it, latest code from CVS. > > I have a blogX around that works with mono, but may be Ben or Jackson > sent me a slightly modified version that copes with a few minor problems > (file name case and such). May be those fixes got to blogx developers... > > -Gonzalo > > > > > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] New Year, New Debian Packages
On Wed, 2004-01-14 at 01:59, Ramon Rey Vicente wrote: > El lun, 12-01-2004 a las 04:50, Pablo Fischer escribió: > > Hello! > > > > Like I promised to everyone, the Debian Packages are finally out :), > > also, some points: > > What about putting this packages in > > http://www.debianplanet.org/mono/? > > Alp Toker offered his website as the "official" Debian mono packages > repository... At this moment there is a debian repository at: deb http://linux.upsa.es/mono/ ./ deb ftp://linux.upsa.es/mono/ ./ Good Luck signature.asc Description: This is a digitally signed message part