[Mono-dev] SQLDMO
Curious to know if there is any support for the SQLDMO namespace. My guess is a big no since it is using COM interop If no are there any plans on creating a similar set of libs? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] SQLDMO
Curious to know if there is any support for the SQLDMO namespace. My guess is a big no since it is using COM interop If no are there any plans on creating a similar set of libs? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] SQLDMO
I have not tried it just yet. I was not aware that the SQLDMO was deprecated. That is very good to know. I just started playing around with the SQLDMO this week and was curious. I will run some test later tonight when I get back to my trusty homebase console. Thanks for the info on the SMO. On Jan 15, 2008 9:20 AM, Andrés G. Aragoneses [ knocte ] [EMAIL PROTECTED] wrote: shawn vose escribió: Curious to know if there is any support for the SQLDMO namespace. My guess is a big no since it is using COM interop If no are there any plans on creating a similar set of libs? Have you tried using the DLL with Mono? Anyway, DMO is deprecated by SMO. Regards, Andrés [ knocte ] -- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Overridden method calling base method (and doing nothing else)
Not trying to fire anyone up just curious and ignorant. The unanswered part of cafe's post of Wouldn't such methods just slow down execution? to me is the most important. Is mono restricted from making an improvement on a standard? On Dec 11, 2007 6:15 PM, Robert Jordan [EMAIL PROTECTED] wrote: cafeaunet wrote: Hello, I notice that some methods in Mono (1.2.5.1) override a base method, and just call the base method inside the overridden method. For example, the method AppendChild in the class System.Xml.XmlAttribute simply calls base.AppendChild (and does nothing else). I notice this behavior especially in .NET 2.0 methods. What is the rationale for such methods? It seems like these overridden methods are simply not needed. Wouldn't such methods just slow down execution? They are for API compatibility. If MS overrides a method, we have to do it as well, even if our implementation details do not need the overridden method. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] mcs for the 2.0 framework
what is the name of the command I would need to use to compile for the 2.0framework? Would this also be the same for any code I have written that has some very simple LINQ in it? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mcs for the 2.0 framework
Thank you sir. On Dec 6, 2007 10:48 AM, Daniel Soto [EMAIL PROTECTED] wrote: gmcs is the compiler for 2.0 framework. Regards. 2007/12/6, shawn vose [EMAIL PROTECTED]: what is the name of the command I would need to use to compile for the 2.0 framework? Would this also be the same for any code I have written that has some very simple LINQ in it? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mcs for the 2.0 framework
That is great news. I only want to see if my stuff will build but it certainly is not mission critical as I have already put in place some preprocessor directives for when I build for mono. I wish I was enough of a programmer to be able to approach some sort of assistance in contributing to LINQ support in mono. So I figure at the very least I could provide bug reports should I come across any. Thanks again for all the responses. On Dec 6, 2007 12:26 PM, Miguel de Icaza [EMAIL PROTECTED] wrote: what is the name of the command I would need to use to compile for the 2.0 framework? Would this also be the same for any code I have written that has some very simple LINQ in it? LINQ is only now starting to get supported, so I would wait for 1.2.6 to get the basics in place. Once you get it, you need to pass the -langversion:linq command line option to gmcs for it to work. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono C# versus Java 6 -server performance
I think any .NET implementation has a much shorter turn around time for development because there are so many tools available that make it such that rapid development is trivial at best. .NET is easier, which is why there are more ,NET developers than Java developers. Java on the other hand is a great language no doubt, but the turn around time is much slower, at least in my experience, and quite frankly I have yet seen it to be any faster than .NET. I am sure there are many benchmarks that would say otherwise. It comes down to personal preference in my opinion. I do think that Java if it has an edge may be able to keep up with mono because of the fact that SUN has opened its source, which may allow for a more rapid advancement in Java than in the past when it was solely under the auspices of SUN. /2cents On Nov 29, 2007 12:48 PM, Engler, Eric [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I agree with the poster who said the overall environment (developer skills, tools, library code, etc) may favor one over the other in a particular situation. And that can be a significant overriding factor. It is difficult to chose an alternate language if the environment is already in place for one particular language. On the performance issue, I think the many years of Java development has clearly given it an edge, at least for now. But you should consider how much Mono has improved in the past 3 years against how much Java has improved in the past 3 years. Mono's rate of improvement is much higher and if you extend that into the future, it's easy to see that Mono's runtime performance may overtake Java in a couple years. Performance is an important metric, but not the only important metric. Eric NOTICE: The information contained in this electronic mail transmission is intended by the sender for the sole use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. Please do not copy it or use it for any purposes, or disclose its contents to any other person. To do so could violate state and Federal privacy laws. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected. Thank you for your cooperation. -BEGIN PGP SIGNATURE- Version: PGP Universal 2.6.2 Charset: us-ascii wsBVAwUBR077W8hfyUs+le7yAQjP5Af+OzmgmuaEciZiZ/Vbiz4zJYfWSodXyQJZ Ol9zgrkCfUks8SSwaJohKw3VxxyltR+PIzUFIQZzQrhkEdQSft+cdJF3vZ44dA5s HPu11v7b2KSDv3kKgs5oM973yGAtt6w50VXC7dvrDc8K0skaPZ+7nXmLnUXaIJm3 qmVP3ktBhKZbAIS+kBbGeyPp2KQNNP04Cba2VWeM/RpIM8HiUMRz06pkhyZSKmRR HMWGCgql4vDAGgalWQbQL6WwSRnvTMrj8wVKinZFV6gQYl9jcoIW2orNiklf9iqL sSdXOa9LTIDirMfS2pZg30XK1sce6mYTPI9+UqpNptw0aSg5eOdK5A== =R/TR -END PGP SIGNATURE- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] contribution
I would like to help contribute to getting the 2.0 framework fully supported. I am looking for recommendations on what namespaces need the most immediate attention. Thanks in advance ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-dev] Serialization error Object reference not set to an instance of an object
I am receiving an error when trying to serialize a class. I am unsure if it is a bug or if it is something else. The object serializes with out any problems when I use windows; however, mono complains about an object reference not being set. Is there any method that anyone can think of that will help figure out what Object is not set. I have tried to do a number of things with the data in the Exception but I still can not find the source. I am certain it is an Enumeration that is causing the error as the stack trace indicates it as such.(see below). I have wired up the XmlSerializer.UnreferencedObject to catch where the problem is but it does not fire. Thanks in advance stack trace Attempting serialization with mono In XmlTools attempting serialization Serialization error Object reference not set to an instance of an object at System.Xml.Serialization.XmlSerializationWriterInterpreter.GetEnumXmlValue ( System.Xml.Serialization.XmlTypeMappi ng typeMap, System.Object ob) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.GetStringValue ( System.Xml.Serialization.XmlTypeMapping typeMa p, System.Xml.Serialization.TypeData type, System.Object value) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WritePrimitiveValueLiteral( System.Object memberValue, System. String name, System.String ns, System.Xml.Serialization.XmlTypeMappingmappedType, System.Xml.Serialization.TypeData typeData, Boolean wrapped, Boolean isNullable) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement( System.Xml.Serialization.XmlTypeMapElement Info elem, System.Object memberValue) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteElementMembers( System.Xml.Serialization.ClassMap map, Sy stem.Object ob, Boolean isValueList) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElementElements( System.Xml.Serialization.XmlTypeMa pping typeMap, System.Object ob) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElement( System.Xml.Serialization.XmlTypeMapping ty peMap, System.Object ob, System.String element, System.String namesp) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObject( System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp, Boolean isNullable, Boolean needType, Boolean writeWrappingElem ) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement( System.Xml.Serialization.XmlTypeMapElement Info elem, System.Object memberValue) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteElementMembers( System.Xml.Serialization.ClassMap map, Sy stem.Object ob, Boolean isValueList) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElementElements( System.Xml.Serialization.XmlTypeMa pping typeMap, System.Object ob) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElement( System.Xml.Serialization.XmlTypeMapping ty peMap, System.Object ob, System.String element, System.String namesp) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObject( System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp, Boolean isNullable, Boolean needType, Boolean writeWrappingElem ) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement( System.Xml.Serialization.XmlTypeMapElement Info elem, System.Object memberValue) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteElementMembers( System.Xml.Serialization.ClassMap map, Sy stem.Object ob, Boolean isValueList) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElementElements( System.Xml.Serialization.XmlTypeMa pping typeMap, System.Object ob) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElement( System.Xml.Serialization.XmlTypeMapping ty peMap, System.Object ob, System.String element, System.String namesp) [0x0] at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObject( System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp, Boolean isNullable, Boolean needType, Boolean writeWrappingElem ) [0x0] t ob, System.String element, System.String namesp, Boolean isNullable, Boolean needType, Boolean writeWrappingElem at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement( System.Xml.Serialization.XmlTypeMapElement Info elem, System.Object memberValue) [0x0] iterInterpreter.WriteMemberElement ( System.Xml.Serialization.XmlTypeMapElement at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteElementMembers( System.Xml.Serialization.ClassMap map, Sy
Re: [Mono-list] XmlSerializer
That is what I initially thought so I did some tests, it isnt the case. I removed all calls to the web reference and added the methods that were being called within the reference to another dll. Everything works fine(minus some other crazy stuff going on which I will figure out). I will try and write a test to recreate it for a bug report because I would rather use the web service than have to write a lib every time I want to port to a *nix box. Paolo Molaro wrote: On 09/19/06 Shawn Vose wrote: I have an exe that I built using visual studio 2000 that runs with out a hitch on mono. The exe takes a name of an assembly from the command line and executes the said method from the command line using refelection. The assembly that I am trying to fire works to a point. The break occurs when I try to create an instance to a web service. [...] INNER_EXCEPTION:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- System.IO.IOException: Sharing violation on path ./logs/IntegrationBus.log in 0x0032a System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [...] in 0x0003d System.Diagnostics.TextWriterTraceListener:.ctor (System.String fileName, System.String name) In the exception message it is telling me of an unknown method. Is there a way to find out what this unknown method's name is? The exception message is telling you that there is a sharing violation while opening the file ./logs/IntegrationBus.log. This probably means that another process has the file open already and the TextWriterTraceListener ctor wants to open it again (or there may be a bug in the code that keeps track of emulating the sharing policy of windows in the mono io-layer). Try removing the file, or file a bug report with a test case that reproduces the issue. lupus ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] XmlSerializer
I just figured it out. It was not a problem with the web references it was a problem with a diagnostics tracelistener switch set in the app.config, which was calling a windows file path, I changed that and it still didnt wouldnt work so I removed the tracelistener and all trace.write calls and the app runs without a hitch. weird. Shawn Vose wrote: That is what I initially thought so I did some tests, it isnt the case. I removed all calls to the web reference and added the methods that were being called within the reference to another dll. Everything works fine(minus some other crazy stuff going on which I will figure out). I will try and write a test to recreate it for a bug report because I would rather use the web service than have to write a lib every time I want to port to a *nix box. Paolo Molaro wrote: On 09/19/06 Shawn Vose wrote: I have an exe that I built using visual studio 2000 that runs with out a hitch on mono. The exe takes a name of an assembly from the command line and executes the said method from the command line using refelection. The assembly that I am trying to fire works to a point. The break occurs when I try to create an instance to a web service. [...] INNER_EXCEPTION:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- System.IO.IOException: Sharing violation on path ./logs/IntegrationBus.log in 0x0032a System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [...] in 0x0003d System.Diagnostics.TextWriterTraceListener:.ctor (System.String fileName, System.String name) In the exception message it is telling me of an unknown method. Is there a way to find out what this unknown method's name is? The exception message is telling you that there is a sharing violation while opening the file ./logs/IntegrationBus.log. This probably means that another process has the file open already and the TextWriterTraceListener ctor wants to open it again (or there may be a bug in the code that keeps track of emulating the sharing policy of windows in the mono io-layer). Try removing the file, or file a bug report with a test case that reproduces the issue. lupus ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] XmlSerializer
I have an exe that I built using visual studio 2000 that runs with out a hitch on mono. The exe takes a name of an assembly from the command line and executes the said method from the command line using refelection. The assembly that I am trying to fire works to a point. The break occurs when I try to create an instance to a web service. Assuming that the IntegrationDev is a reference to http://localhost/IntegrationDev (I did this is vs as I am not sure how to create a web reference in monodevelop programmatically) when my assembly tries to do the following: IntegrationDev.Prospect[] = null; IntegrationDev.wsProspect wsP = new IntegrationDev.wsProspect(); I get an exception with the following data: EXCEPTION:An exception was thrown by the type initializer for System.Xml.Serialization.XmlSerializer STACKTRACE:in 0x0 unknown method in 0x00074 System.Web.Services.Protocols.TypeStubInfo:Initialize () in 0x00068 System.Web.Services.Protocols.LogicalTypeInfo:CreateTypeStubInfo (System.Type type) in 0x0005f System.Web.Services.Protocols.LogicalTypeInfo:GetTypeStub (System.String protocolName) in 0x0001d System.Web.Services.Protocols.TypeStubManager:GetTypeStub (System.Type t, System.String protocolName) in 0x00025 System.Web.Services.Protocols.SoapHttpClientProtocol:.ctor () in 0xa Realum.LevelOneIntegrationDev.wsMITSGuestCard:.ctor () in (wrapper remoting-invoke-with-check) Realum.LevelOneIntegrationDev.wsMITSGuestCard:.ctor () in 0x00b6a Realum.RealumIntegration:RealumIntegration_Start () INNER_EXCEPTION:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- System.IO.IOException: Sharing violation on path ./logs/IntegrationBus.log in 0x0032a System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) in 0x0001f System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share) in (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) in 0x000da System.IO.StreamWriter:.ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) in 0x0002a System.IO.StreamWriter:.ctor (System.String path, Boolean append) in (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool) in 0x0001f System.IO.File:AppendText (System.String path) in 0x0003d System.Diagnostics.TextWriterTraceListener:.ctor (System.String fileName, System.String name) in 0x00012 System.Diagnostics.TextWriterTraceListener:.ctor (System.String fileName) in 0x0 unknown method in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in 0x0006f System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)--- End of inner exception stack trace --- In the exception message it is telling me of an unknown method. Is there a way to find out what this unknown method's name is? The assembly was built on a win machine and copied over to my linux box. That said is the information for the webservice not statically built into the assembly? many thanks in advance, shawn vose ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Dependency issues with 1.1.13
I dont know if anyone has answered you already. RPM can be a bugger some times. This is what I have done in the past. First find out what is installed. rpm -qa | grep mono This should return a list of mono packages installed. The U option is indicating that you already have the package installed. If you already have an old copy laying around you might want to uninstall. That is a book in itself just because you have created many dependencies, so uninstall one at a time but this isnt necessary. The reason you are getting these messages is because there is a circular dependency. Just rpm -Uvh every.single.rpm as one long ass command and let rpm figure out which one to install. for example rpm -Uvh mono-basic.rpm mono-core.rpm sqllite.rpm etc.. Hope this helps and keep the faith. The joy of linux is just this, you always have the ability to really dig into it and learn something. Tony G wrote: I'm coming at Mono from a Win32/.NET perspective so my questions about RPM versioning might be silly to some of you. This is the second time I've tried to install Mono. The first was many months ago and I got stuck in a web of dependencies. I'm trying again with v1.1.13 and just got stuck with similar issues. I'm not a Linux/RPM stud here, so please forgive me if there is an easy answer to what seems like dependency hell: Before Installing Mono I tried to install SQLite: # rpm -Uvh sqlite-2.8.16-1.2.el4.rf.i386.rpm Response is: warning: sqlite-2.8.16-1.2.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 Error: Failed dependencies: libsqlite3.so.0 is needed by (installed) python-sqlite-1.1.6-1.i386 That error is pretty useless to me but the following returns something more helpful: # rpm -ivh sqlite-2.8.16-1.2.el4.rf.i386.rpm warning: sqlite-2.8.16-1.2.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 Preparing...# [100%] package sqlite-3.2.2-1 (which is newer than sqlite-2.8.16-1.2.el4.rf) is already installed OK, I understand that I can't install sql-2.8 because my system already has v3.2. Since I have the most recent version of that package, I tried to install Mono (from a directory that has all of the Mono 1.1 rpm's: # rpm -Uvh *.rpm error: Failed dependencies: libsqlite.so.0 is needed by mono-data-sqlite-1.1.13.4-0.novell.i586 So as I understand it: I have python-sqlite installed and it needs the newer libsqlite3 which came from sqlite 3.2. So I can't install sqlite 2.8 because it has plain libsqlite. Therefore I can't install mono because it relies on mono-data which relies on sqlite 2.8. And of course I can't install anything else that relies on mono. All because I already have python installed, which I only did install because I downloaded a couple helpful Gnome desktop apps. Do I need to uninstall my desktop apps, then uninstall python, then uninstall the new sqlite (and hope nothing else depends on it), just so I can install the mono package which is just 2 months old but obviously it relies on older libs? The larger a Linux project is, the more it relies on other packages. The chances are greater that some of those packages will be older and that they will conflict with a system that has recent updates. How much needs to be unravelled just to install a single package? How can we possibly deploy anything written with Mono if there is such a high chance of dependency conflicts on any given target system? I quess the real questions are: - What can I do to get Mono to use the updated SQLite? - And do we really need to go through this pain every time we install or update major packages like Mono? I can't wait until everything in Linux is installed into a GAC so we can avoid this versioning hell. :) Thank you very much !!! ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Referencing a webservice
Can anyone tell me how to create a reference a web service at run time instead of during compile time. I am thinking it would be a late bound object but dont know how to go about doing it. If someone has the answer or a reference to some docs that would be great. Thanks in advance, shawn vose ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Widgets
That said, is it safe for me to write the code using visual studio with out mono installed and copy the exe over to my linux box and attempt to have mono run the app? I have no problem installing mono on my windows box but only if it is necessary. Thanks in advance for any answers provided. Best Regards, Shawn Vose programmerforrent.com Peter Dennis Bartok wrote: No, SWF is not a wrapper for X widgets. All controls have been implemented in fully managed code, using System.Drawing for drawing the controls. If you can test your code with our WinForms implementation and find bugs, please log them at bugzilla.ximian.com. Now is the perfect time, we're deep in bugfixing mode. Cheers, Peter -Original Message- From: Shawn Vose [EMAIL PROTECTED] To: Peter Dennis Bartok [EMAIL PROTECTED] Cc: mono-list@lists.ximian.com Date: 05 December, 2005 14:14 Subject: Re: [Mono-list] Widgets Interesting. I was under the impression that the System.Windows.Forms was going to be just a wrapper for some x widgets. Is this not the case? I would prefer to use Windows.Forms since that is what I am most familiar with; however, I have already started my project and was using gtk# and was liking it until I saw the treeview widget, which is what prompted me to look for another widget set. I would imagine that given the putting finishing touches statement would mean that most of my stuff would work now but eventually all of it would work, which is very good to know. Thanks for the info Peter. Kindest Regards, Shawn Vose programmerforrent.com Peter Dennis Bartok wrote: As one of the people working on it I feel the need to point out System.Windows.Forms. Works on Linux and Windows. We're still putting finishing touches on it, but it meets your criteria. Cheers, Peter -Original Message- From: Shawn Vose [EMAIL PROTECTED] To: mono-list@lists.ximian.com Date: 05 December, 2005 09:06 Subject: [Mono-list] Widgets Other than gtk what is the other widget set that is available for both linux and windows. I think it is called wtk but I cant seem to find a url that has the .net bindings. Can someone please refer me to a proper link? Kindest Regards, Shawn Vose programmerforrent.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Widgets
Other than gtk what is the other widget set that is available for both linux and windows. I think it is called wtk but I cant seem to find a url that has the .net bindings. Can someone please refer me to a proper link? Kindest Regards, Shawn Vose programmerforrent.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Widgets
That is it. Many thanks to all who responded Shawn Vose programmerforrent.com Everaldo Canuto wrote: Hi, I think that you are talking about wxWidgets and it C# bindings The URL is: http://wxnet.sourceforge.net/ Everaldo Em Seg, 2005-12-05 às 10:42 -0500, Shawn Vose escreveu: Other than gtk what is the other widget set that is available for both linux and windows. I think it is called wtk but I cant seem to find a url that has the .net bindings. Can someone please refer me to a proper link? Kindest Regards, Shawn Vose programmerforrent.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Widgets
Interesting. I was under the impression that the System.Windows.Forms was going to be just a wrapper for some x widgets. Is this not the case? I would prefer to use Windows.Forms since that is what I am most familiar with; however, I have already started my project and was using gtk# and was liking it until I saw the treeview widget, which is what prompted me to look for another widget set. I would imagine that given the putting finishing touches statement would mean that most of my stuff would work now but eventually all of it would work, which is very good to know. Thanks for the info Peter. Kindest Regards, Shawn Vose programmerforrent.com Peter Dennis Bartok wrote: As one of the people working on it I feel the need to point out System.Windows.Forms. Works on Linux and Windows. We're still putting finishing touches on it, but it meets your criteria. Cheers, Peter -Original Message- From: Shawn Vose [EMAIL PROTECTED] To: mono-list@lists.ximian.com Date: 05 December, 2005 09:06 Subject: [Mono-list] Widgets Other than gtk what is the other widget set that is available for both linux and windows. I think it is called wtk but I cant seem to find a url that has the .net bindings. Can someone please refer me to a proper link? Kindest Regards, Shawn Vose programmerforrent.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Scripting the Linux OS with Mono
I did something similar; however, my cs file was already compiled into a dll. I then created an exe that would take command line arguments, the args were the name of the dll to load and, the method to execute, and the parameters it expected. All of this was done using Refelection. I didnt do it for start up scripts or anything I did it as an integration suite with third party vendors who needed their data in a format that was different from mine. Once I had the Integration Bus written(exe) whenever the bossman came in and asked if we could send over data to someone else using package X it was only a matter of making X.dll and setting it up to be loaded by the Integration Bus in cron (or a job in sql server, or...) with its respective arguments. mono IntegrationBus.exe -t dlls/X.dll -m SomeClass -props startDate='10/01/2005',endDate='10/31/2005',propertyID=10 -meth SomeMethod Reflection is cool. Regards, Shawn Vose ted leslie wrote: I too find it appealling to use C# in place of perl, etc. I am not sure what your asking can happen with the mono distro. you could however, if you don't want to just have my_script.cs my_script.exe as a "pair" and use the exe to execute your script, that goes without saying. i guess you could make a shell script that woud say monoscript my_script.cs arg1 arg2 that would compile it to a temporary file /tmp/csexe_uniqueid.exe (in tmp?) and run the exe with the args essentially giving you what you want and removing the tmp exe when done ? no different then perl my_script.pl arg1 arg2 just that "monoscript" is this shell beast you write, which would be a few lines. except you would have to know how to "make" your exe based on whats in the *.cs file and not what would be in a Makefile, for its libraries ? i would personally love to see more movement in this area .. i.e. mono/C# as a linux/unix scripting language! maybe in the end it just needs to be formalized by someone at mono? -tl On Thu, 10 Nov 2005 19:02:49 -0500 Abe Gillespie [EMAIL PROTECTED] wrote: Hey all, I was wondering if there's any easy way to run C# scripts in Mono. I'm fairly new to Linux (just at about a year) and I'd like to avoid learning yet another language (Perl, sh, etc.). Has anyone written a .Net program that takes a file as input and runs that code? Perhaps Mono can do this natively? How cool would it be to have startup scripts written in C#?! Thanks for the help as always. -Abe ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Maemo Handheld SDK and Mono
Would mono work on the http://www.gbax.com/? Miguel de Icaza wrote: Hello, The SDK is Maemo, and is open source. However, it's C++-based. Yech. On the surface it seems like getting Mono to run on it won't be so bad. Does that seem true? The one trick is that they define there own set of UI helpers (possibly on top of GTK+), and I suppose I'd have to develop shims to map to those APIs from Mono. The Maemo SDK is C based. Mono already runs on the Nokia 770 (see our ARM page on the web site for details). Alp is working on Hildon bindings for it, see: http://maemo.ndesk.org/ Miguel ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Database browser and query analyzer
Can someone refer me to the software project that was available on the mono site that was a query analyzer(like) database browser that used the respective connectors to communicate with the database. I cant remember the name for the life of me. Essentially it was an app that would allow me to connect to my sql server and query accordingly. Kindest Regards, Shawn Vose ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Database browser and query analyzer
That's it! Many thanks Kindest Regards, Shawn Vose Francisco T. Martinez wrote: Shawn Vose wrote: Can someone refer me to the software project that was available on the mono site that was a query analyzer(like) database browser that used the respective connectors to communicate with the database. I cant remember the name for the life of me. Essentially it was an app that would allow me to connect to my sql server and query accordingly. You may be talking about SQL# for Gtk# (a.k.a Mono SQL Query) You can get its source code from the TRUNK at SVN the project you are looking for is sqlsharpgtk or http://forge.novell.com/modules/xfmod/project/?sqlsharpgtk This would be Daniel Morgan's project. Paco ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Errors installing gtk-sharp-gapi
I installed mono for Suse Professional 92. without a hitch. I did have a problem meeting the dependencies for the perl-XML-stuff. Anyone know the answer to that one? I cant seem to find the offending packages. Do I need to install them from cpan? I think that perl-XML dep. issue is the reason my monodevelop blows up everytime I create a project. Good news vi still works. ;-) Paul wrote: Hi, OK, here is my feedback to the Mono team regarding my installation experiences. I hope it doesn't sound too complaining or preachy. The bottom line is I hope the Mono team will really improve the installation instructions. I've said this quite a lot and so have had this in quite wide circulation http://www.all-the-johnsons.co.uk/mono - I still don't know why it isn't linked to the main mono site as I get a heck of a lot of traffic! I think it is going to be important to the adoption of Mono for people to be able to get it up and running, regardless of their distro or, for example, which freakin' version of glibc they have installed. Yes with respects to the distro, but if compiled from source, neither make a fig of difference Ultimately I'd like to see Mono be more configuration tolerant and install all the necessary dependencies its needs. Something like yum for mono would be useful. Hold on, we have that... At the very least, the instructions should be much more helpful than they are about exactly what the dependencies are, and where to get them. I made a start on the unofficial FAQ - see the URL above. The Mono web site is terribly unhelpful, misleading, and just plain wrong about stuff it tells you. No it's not. I've found quite a lot of stuff of use on there. Let's take this example here. The very first sentence of the RedHat 9 installation page says The best way to install Mono on your system is to use Novell's Red Carpet. If you do not already have Red Carpet, you can download it. Personally, I'd move distro. RedCarpet is a very good way to reimplement up2date, but it's not really that much more (IMHO) The link to download Red Carpet is not helpful at all. It doesn't tell you which files you need, or what order you need to install them. My experience has been that installing Red Carpet was just as difficult as installing Mono without Red Carpet. From memory (and this is going back a bit), you select the distro, that takes you to a live downloader and you take it from there. Isn't the alternative something like 3 rpms? But I wonder if your opinion of not using Red Carpet is the majority opinion on this site. If it is the majority opinion, then why does the Mono web site continue to recommend using Red Carpet? My opinion is just that - an opinion. Having built mono dozens of times now on different distros and architectures (well, helped on the different architectures), there really isn't that much of bind building from source any more. RedCarpet (again from memory) is very good at sorting dependencies. And once you install Red Carpet, it still doesn't work, because it doesn't give you the perl-XML-* stuff that gtk-sharp-gapi needs, and doesn't tell you where to get it from. They should be resolvable via RedCarpet. Which channels are you subscribed to? Now you say that compiling from source is better, because that removes the dependency issues. That has not been my experience at all. I have tried to compile from source, and I still have dependency problems (this is especially true for me when I try to compile MonoDevelop, which is a different mailing list, I know). While building MonoDevelop is on a different list, I'll be very interested to know what dependency issues you're encountering. Speaking of MonoDevelop, their web site suffers from similar inaccuracies. They say *not* to compile from source unless you absolutely have to, and even go on to say that the Mono project web site contains pre-built binaries!!! Hah. If that's true, I sure haven't found them. http://www.monodevelop.com/tutorials/package_install.aspx Binaries should be on go-mono.com which redirects to the main site which doesn't look to have a RH9 binary for monodevelop. I just hate to see that effort wasted by poor and inaccurate setup instructions. It is somewhat annoying. I would enter a bugzilla report (bugzilla.ximian.com) for a RH9 build of MonoDevelop. Sorry to hear you're having problems. Post here the exact problems you're seeing and you'll find answers very quickly. TTFN Paul ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com
[Mono-list] gtk
I have been trying to install the latest mono-* including gtk,monodoc etc on my fedora3 box. I know this is not the list to post it to so I am hoping someone will point me in the direction I need to go or better yet tell me what the problem is. Mono has installed fine. The problem is with gtk+. I am getting the following error: In file included from ../../gdk/gdk.h:43, from gdkasync.h:25, from gdkasync.c:51: ../../gdk/gdkpango.h:69: error: syntax error before PangoRenderer ../../gdk/gdkpango.h:69: warning: no semicolon at end of struct or union ../../gdk/gdkpango.h:72: error: syntax error before '}' token ../../gdk/gdkpango.h:84: error: syntax error before PangoRendererClass ../../gdk/gdkpango.h:84: warning: no semicolon at end of struct or union ../../gdk/gdkpango.h:89: error: syntax error before '*' token etc... Any input would help out significantly. Kindest Regards, Shawn Vose ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Implementing attribute-based code generation
Stephen Touset wrote: I'm looking into the potential of writing code to allow mono to have extensions. As a first foray into the idea, I'm going to try writing a module that would look for specific attributes on methods and classes, and use those to generate code that would go into the marked methods and all methods of the marked classes, respectively. However, looking at the mono source code, it seems to be very complex. I'm looking for hints as to the best place to put the hooks for the extension, because of this. My first idea would be to put this after the parsing of the source tree, so that I can manipulate the methods as they're in memory. However, I can't seem to find simple ways to navigate through the memory representation of the source tree. Can anyone give me a brief pointer to where I should be looking? Use System.Reflection to read available methods, attributes and properties for a dll. You can use it to do so at runtime. I know there has been a few questions and answers on Relection in the archives ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Retrieving the Properties of a class at runtime
Can someone direct me to documentation on how to iterate over only the properties in a class at runtime. I have a class that is nothing but properties and instead of typing out Console.WriteLine(someObject.someProperty) it would rather iterate over the available properties. Ist this where System.Refelection comes into play? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Retrieving the Properties of a class at runtime
Joe, Yep that is the monkey I was looking for. Many thanks, Shawn Vose Joe Audette wrote: Something like this should give an idea of how to get started public static void WriteProperties(string AssemblyPath) { Assembly assembly = Assembly.LoadFrom(AssemblyPath); foreach(Type type in assembly.GetTypes()) { foreach(PropertyInfo propertyInfo in type.GetProperties()) { Console.WriteLine(propertyInfo.Name); } } } Best Regards, Joe */Shawn Vose [EMAIL PROTECTED]/* wrote: Can someone direct me to documentation on how to iterate over only the properties in a class at runtime. I have a class that is nothing but properties and instead of typing out Console.WriteLine(someObject.someProperty) it would rather iterate over the available properties. Ist this where System.Refelection comes into play? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list [EMAIL PROTECTED] http://www.joeaudette.com http://www.mojoportal.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] IHttpModules with mod_mono
It is possible I didnt clean out the old mod_mono. I figured that when I compiled the new version and did `make install` it would overwrite the older version. I will check it out. I know xsp is the new version as when I run the app using xsp it works as expected. Kindest Regards, Shawn Gonzalo Paniagua Javier wrote: On Tue, 2004-12-14 at 20:40 -0500, Shawn Vose wrote: Gonzalo, Were you able to get my code pfrSeoindex to work using mod_mono? I grabbed the latest version and I have it installed and have it working in apache but for some reason I am getting errors like before. The code works fine with xsp. If you were able to get it to work could you send me your config options that you plugged into your httpd.conf or *.webapp file? Yes. It worked fine. May be you have the old installation around and you're using the old assemblies/mono? Did you update xsp too? -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
[Mono-list] IHttpModules with mod_mono
Gonzalo, Were you able to get my code pfrSeoindex to work using mod_mono? I grabbed the latest version and I have it installed and have it working in apache but for some reason I am getting errors like before. The code works fine with xsp. If you were able to get it to work could you send me your config options that you plugged into your httpd.conf or *.webapp file? Many thanks, Shawn Vose ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mod_mono make error
Gonzalo , Once again thank you. Kindest Regards, Shawn Vose Gonzalo Paniagua Javier wrote: On Fri, 2004-12-10 at 17:13 -0500, Shawn Vose wrote: I just grabbed the latest version of mod_mono from the downloads section, when I run make after running : ./configure --prefix=/usr/local/apache --with-apxs=/usr/local/apache --with-apr-config=/usr/local/apache --with-apxs and --with-apr-config take the full path to apxs (apxs2) and apr-config. -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
[Mono-list] mod_mono make error
I just grabbed the latest version of mod_mono from the downloads section, when I run make after running : ./configure --prefix=/usr/local/apache --with-apxs=/usr/local/apache --with-apr-config=/usr/local/apache I get: --- Configuration summary for mod_mono * Installation prefix = /usr/local/apache * Apache version = 1.3 * Apache modules directory = * apxs = /usr/local/apache * mono prefix = /usr * Default MonoApplicationsConfigDir = /mod-mono-applications --- When I run make: The following is as far as it makes it. [EMAIL PROTECTED] mod_mono-1.0.5]# make Making all in src make[1]: Entering directory `/home/voseman/mono/mod_mono-1.0.5/src' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -I -DAPACHE13 -DEAPI -Wall -DDFLT_MONO_CONFIG_DIR=\"/mod-mono-applicati ons\" -g -O2 -I -DAPACHE13 -DEAPI -MT mod_mono_la-mod_mono.lo -MD -MP -MF ".de ps/mod_mono_la-mod_mono.Tpo" -c -o mod_mono_la-mod_mono.lo `test -f 'mod_mono.c' || echo './'`mod_mono.c; \ then mv -f ".deps/mod_mono_la-mod_mono.Tpo" ".deps/mod_mono_la-mod_mono.Plo"; el se rm -f ".deps/mod_mono_la-mod_mono.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -I -DAPACHE13 -DEAPI -Wall -DDF LT_MONO_CONFIG_DIR=\"/mod-mono-applications\" -g -O2 -I -DAPACHE13 -DEAPI -MT mo d_mono_la-mod_mono.lo -MD -MP -MF .deps/mod_mono_la-mod_mono.Tpo -c mod_mono.c -fPIC -DPIC -o .libs/mod_mono_la-mod_mono.o mod_mono.c:378: conflicting types for `apr_sockaddr_info_get' /usr/local/include/apr_network_io.h:394: previous declaration of `apr_sockaddr_i nfo_get' mod_mono.c: In function `apr_sockaddr_info_get': mod_mono.c:400: structure has no member named `addrlen' mod_mono.c:401: structure has no member named `addr' mod_mono.c:402: structure has no member named `addr' mod_mono.c:403: structure has no member named `addr' mod_mono.c: At top level: mod_mono.c:413: warning: static declaration for `apr_socket_connect' follows non -static mod_mono.c: In function `apr_socket_connect': mod_mono.c:417: structure has no member named `addr' mod_mono.c:417: structure has no member named `addrlen' mod_mono.c: At top level: mod_mono.c:425: warning: static declaration for `apr_socket_send' follows non-st atic mod_mono.c: In function `apr_socket_send': mod_mono.c:431: dereferencing pointer to incomplete type mod_mono.c: At top level: mod_mono.c:441: warning: static declaration for `apr_socket_recv' follows non-st atic mod_mono.c:459: conflicting types for `apr_wait_for_io_or_timeout' /usr/local/include/apr_support.h:42: previous declaration of `apr_wait_for_io_or _timeout' mod_mono.c: In function `apr_wait_for_io_or_timeout': mod_mono.c:467: dereferencing pointer to incomplete type mod_mono.c:468: dereferencing pointer to incomplete type mod_mono.c: At top level: mod_mono.c:493: conflicting types for `apr_sleep' /usr/local/include/apr_time.h:190: previous declaration of `apr_sleep' mod_mono.c: In function `setup_socket': mod_mono.c:796: dereferencing pointer to incomplete type mod_mono.c:796: warning: implicit declaration of function `ap_psocket' mod_mono.c:797: dereferencing pointer to incomplete type mod_mono.c:798: dereferencing pointer to incomplete type /usr/include/stdlib.h: At top level: mod_mono.c:459: warning: `apr_wait_for_io_or_timeout' defined but not used make[1]: *** [mod_mono_la-mod_mono.lo] Error 1 make[1]: Leaving directory `/home/voseman/mono/mod_mono-1.0.5/src' make: *** [all-recursive] Error 1 Any ideas? Kindest Regards, Shawn Vose
Re: [Mono-list] IHttpModule and xsp
Gonzalo, Very good, I shall wait until the next release, I will also update my libglib at the same time and see if that remedies all that is that is awry on my server. Many thanks for your help. Regards, Shawn Gonzalo Paniagua Javier wrote: On Tue, 2004-12-07 at 19:57 -0500, Shawn Vose wrote: Gonzalo, In response to what version I am running of mono and xsp I am running 1.04. I noticed when I fire up xsp I get the following message You can either grab what we have in svn or wait until next release (may be just a few days more). [EMAIL PROTECTED] voseman]$ xsp --version (/usr/local/bin/xsp.exe:22063): GLib-CRITICAL **: file gstrfuncs.c: line 2129 (g _strsplit): assertion `string != NULL' failed (/usr/local/bin/xsp.exe:22063): GLib-CRITICAL **: file gstrfuncs.c: line 2241 (g _strjoinv): assertion `str_array != NULL' failed xsp.exe 1.0.4.0 That does not look good at all. May be you have an old libglib? -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] System.Web.IHttpModule support test case
Gonzalo, Very sweet. I will check the version I am running of mono. I grabbed the latest mono off of the site but I did not grab it from cvs. Are you suggesting that I grab the latest mono from cvs or should rc 1.04 be sufficient? Even though I compiled from source there may be an older version on the machine that I didn't clean up. Many thanks for your efforts, Shawn Gonzalo Paniagua Javier wrote: On Mon, 2004-12-06 at 19:50 -0500, Shawn Vose wrote: I believe it was Gonzolo who responded to my question about System.Web.IHttpModule support in mono. Attached is a zip file of the project. it is not large. Please let me know if you need anything else. Hi Shaun ;-). I unzipped your file, run xsp in the directory and then http://127.0.0.1:8080/index.aspx gives me an empty page which is in fact seoHandler.aspx. To test further, I added a Console.WriteLine in the Init method of the module and right before rewriting the request. I also added some text to seoHandler.aspx. The output in xsp is now: Hit Return to stop the server. En Init rewriting /index.aspx to /seoHandler.aspx And in the browser I get Hey there. This is seoHandler.aspx. So everything seems to work. May be you're using an old version of mono and/or class libraries/xsp? -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
[Mono-list] IHttpModule and xsp
Gonzalo, In response to what version I am running of mono and xsp I am running 1.04. I noticed when I fire up xsp I get the following message [EMAIL PROTECTED] voseman]$ xsp --version (/usr/local/bin/xsp.exe:22063): GLib-CRITICAL **: file gstrfuncs.c: line 2129 (g _strsplit): assertion `string != NULL' failed (/usr/local/bin/xsp.exe:22063): GLib-CRITICAL **: file gstrfuncs.c: line 2241 (g _strjoinv): assertion `str_array != NULL' failed xsp.exe 1.0.4.0 (c) 2002,2003 Ximian, Inc. (c) 2003,2004 Novell, Inc. Minimalistic web server for testing System.Web [EMAIL PROTECTED] voseman]$ I would expect this is not normal, my question is might this be something that would effect IHttpmodule support? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] System.Web.IHttpModule support using xsp and mono
Ok, I will send you my entire project this evening. It is not very big. Consists of a couple of classes and one apx page. Curious, I did not compile my project using mono, rather I compiled it in .net and moved it over to my linux box. Might this be the reason it is not working? I would think that it is not since in the end it is all the same IL, if this is not the case then I will compile on mono tonight and see if that remedies the problem. Kindest Regards, Shawn Vose Gonzalo Paniagua Javier wrote: On Sun, 2004-12-05 at 20:10 -0500, Shawn Vose wrote: I have written a project that inherits from System.Web.IHttpModule indicated in my webconfig file. Are httpModules supported in Mono. When I run my app on windows it will automatically direct me to the correct page as indicated in my webconfig. Something like this: Yes, httpModules are supported in mono. If something doesn't work as it does under MS runtime, it's a bug and I'd be willing to get a simple test case that reproduces it in order to fix our implementation. -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
[Mono-list] System.Web.IHttpModule support using xsp and mono
I have written a project that inherits from System.Web.IHttpModule indicated in my webconfig file. Are httpModules supported in Mono. When I run my app on windows it will automatically direct me to the correct page as indicated in my webconfig. Something like this: ?xml version=1.0 encoding=utf-8 ? configuration configSections sectionGroup name=Seo section name=pagePaths type=pfrseoindex.Engine.Framework.Base.SeoSectionHandler, pfrseoindex / /sectionGroup /configSections Seo pagePaths add key=basePage value=/seoHandler.aspx/ add key=urlRoot value=/pfrseoindex/ /pagePaths /Seo system.web compilation defaultLanguage=c# debug=true / customErrors mode=RemoteOnly / httpModules add name=SeoInit type=pfrseoindex.Engine.Framework.Base.SeoInit, pfrseoindex/ /httpModules So no matter what I type in as a url it will always call the basePage value first of the root. For example on windows if I type the url http://localhost/pfrseoindex/default.aspx it would in reality be http://localhost/pfrseoindex/seoHandler.aspx because I am using Context.RewritePath(Path.GetFileName(Request.RawUrl)); in the seoHandler.aspx page Additionally if I type: http://localhost/pfrseoindex/test/default.aspx it would in reality be : http://localhost/pfrseoindex/seoHandler.aspx However if I do the same on linux running mono it complains about directory or file not found, which makes me wonder if System.Web.IHttpModule is fully supported when using xsp. Any help suggestions would be appreciated. Kindest Regards, Shawn Vose ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Re: Mono-list digest, Vol 1 #2103 - 13 msgs
The community starter kit is one of the best in my opinion. I know that the people that are working on the next version are making it so that the database it runs on can be left up to the end user. Mysql, SQl Server, PostGres etc. At least that is what I have read or understood. http://www.asp.net/Forums/ShowPost.aspx?tabindex=1PostID=362591 Jim Ray wrote: On Thu, 2004-10-21 at 17:12 -0500, Joseph Hill wrote: Hi Jim, I ported a few of the applications (IBuySpy and the Asp.Net Forums) from www.asp.net over to Mono / PostgreSQL. You can check them out and download the source over at www.gotmono.net If you are going to port any of the starter kits over, you many find these notes I made about the porting process for IBuySpy useful: http://www.arcfocus.com/arcfocus/DesktopDefault.aspx?tabindex=3tabid=5 Thanks for the tips on the other locations and these notes. I'm sure they will help immensely I would think that the process would be very analogous for porting The Community Starter Kit. I haven't looked too deeply at porting the others; however, I would point out that the Time Tracker app varies from the others in at least as much as it only supports Windows authentication by default. The Issue Tracker looks like a very interesting (and probably useful) candidate. The main reason I was interested in the Time Tracker is it was something I was going to do anyway. But I need to do both at some point. If you need any help in the process, let me know, I'd be happy to lend a hand (particularly on the PostgreSQL porting side of things). I'm more of a PostgreSQL guy myself, so I'll probably want to do that first instead of MySQL. Also, I know we'd love to add some more of these kinds of projects to the list over at GotMono. I'll probably setup an account on Novell Forge here soon for it. I just can't stand not having version control. Thanks. I was looking through some of these apps, I may use BlogX. jim ___ 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] localhost vs. ip address
I came across the same issue. I installed VS and in previous installs I never had an issue with firing up asp.net. Try running this at the console: aspnet_regiis -i refer to these if you have any more questions http://secretgeek.net/regiis.asp http://www.dotnet247.com/247reference/msgs/51/259988.aspx Check out this article Amrit Kohli wrote: Hello, I have installed Visual Studio .NET on my Windows 2000 system. When I try to create an ASP.NET Web Service solution for C#, I get the following error message when I try to use the location of http://localhost/WebService1: Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services. I dont get this error when I type in the actual IP address of my server instead of localhost. I have successfully installed ASP.NET. What alias could my web server be using if not localhost? Is there a way I can set the alias for my web server using IIS? Thanks, Amrit Amrit Kohli [EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Access MS Sql Server 2000 from ASP.NET on Linux (Mono)
I am not sure how dns is handled in mono but if you drop to your command line and ping that host(ds12) I am thinking that it will be unresolved on your linux machine. You may need to add an entry to your /etc/hosts file so that Linux knows who ds12 is. Regards, Shawn Vose http://www.programmerforrent.com Abdeali Nagarwala wrote: Hello All, We are trying to connect our MS SQL Server 2000 database which is on Windows 2000 professional, through an ASP.NET application from Linux RedHat using Mono. we are getting fallowing error in the browser Server error in '/' application Description: Error processing request. Error Message: HTTP 500. Stack Trace: System.Net.Sockets.SocketException: No such host is known in 0x000a0 System.Net.Dns:GetHostByName (string) in 0x00079 System.Net.Dns:Resolve (string) in 0x0015b Mono.Data.Tds.Protocol.TdsComm:.ctor (string,int,int,int,Mono.Data.Tds.Protocol.TdsVersion) in 0x00132 Mono.Data.Tds.Protocol.Tds:.ctor (string,int,int,int,Mono.Data.Tds.Protocol.TdsVersion) in 0x0001d Mono.Data.Tds.Protocol.Tds70:.ctor (string,int,int,int) in 0x00081 (wrapper remoting-invoke-with-check) Mono.Data.Tds.Protocol.Tds70:.ctor (string,int,int,int) in 0x000ba Mono.Data.Tds.Protocol.TdsConnectionPoolManager:CreateConnection (Mono.Data.Tds.Protocol.TdsConnectionInfo) in 0x00032 Mono.Data.Tds.Protocol.TdsConnectionPool:CreateConnection () in 0x00225 Mono.Data.Tds.Protocol.TdsConnectionPool:GetConnection () in 0x002cc System.Data.SqlClient.SqlConnection:Open () in 0x0004f (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlConnection:Open () in 0x00051 TestCSonLnx.WebForm1:Page_Load (object,System.EventArgs) in 0x00069 (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in 0x00086 System.Web.UI.Control:OnLoad (System.EventArgs) in 0x00024 System.Web.UI.Control:LoadRecursive () in 0x00198 System.Web.UI.Page:InternalProcessRequest () in 0x000c2 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) in 0x002eb ExecuteHandlerState:Execute () in 0x00084 StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool) Connection String --- the Connection String used to connect our database on windows 2000 is Server=dsl2; Database=pubs; User ID=dsl2\\administrator; Password=; Integrated Security=SSPI; here dsl2 is name of windows 2000 machine I hope this helps you to resolve your problem thanking you in advance Abdeali ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Access MS Sql Server 2000 from ASP.NET on Linux (Mono)
Me thinks I should put on my glasses nonetheless. I should hope that given my answer they would know which server name they were using regard1e55 of my typ05 ;-) Mariano Alarcon wrote: do you mean ds12 (as in 12-step program to better coding) or dsl2 (with L as in look out for those typos)? Because it is not the same, you know? Shawn Vose wrote: I am not sure how dns is handled in mono but if you drop to your command line and ping that host(ds12) I am thinking that it will be unresolved on your linux machine. You may need to add an entry to your /etc/hosts file so that Linux knows who ds12 is. Regards, Shawn Vose http://www.programmerforrent.com Abdeali Nagarwala wrote: Hello All, We are trying to connect our MS SQL Server 2000 database which is on Windows 2000 professional, through an ASP.NET application from Linux RedHat using Mono. we are getting fallowing error in the browser Server error in '/' application Description: Error processing request. Error Message: HTTP 500. Stack Trace: System.Net.Sockets.SocketException: No such host is known in 0x000a0 System.Net.Dns:GetHostByName (string) in 0x00079 System.Net.Dns:Resolve (string) in 0x0015b Mono.Data.Tds.Protocol.TdsComm:.ctor (string,int,int,int,Mono.Data.Tds.Protocol.TdsVersion) in 0x00132 Mono.Data.Tds.Protocol.Tds:.ctor (string,int,int,int,Mono.Data.Tds.Protocol.TdsVersion) in 0x0001d Mono.Data.Tds.Protocol.Tds70:.ctor (string,int,int,int) in 0x00081 (wrapper remoting-invoke-with-check) Mono.Data.Tds.Protocol.Tds70:.ctor (string,int,int,int) in 0x000ba Mono.Data.Tds.Protocol.TdsConnectionPoolManager:CreateConnection (Mono.Data.Tds.Protocol.TdsConnectionInfo) in 0x00032 Mono.Data.Tds.Protocol.TdsConnectionPool:CreateConnection () in 0x00225 Mono.Data.Tds.Protocol.TdsConnectionPool:GetConnection () in 0x002cc System.Data.SqlClient.SqlConnection:Open () in 0x0004f (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlConnection:Open () in 0x00051 TestCSonLnx.WebForm1:Page_Load (object,System.EventArgs) in 0x00069 (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in 0x00086 System.Web.UI.Control:OnLoad (System.EventArgs) in 0x00024 System.Web.UI.Control:LoadRecursive () in 0x00198 System.Web.UI.Page:InternalProcessRequest () in 0x000c2 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) in 0x002eb ExecuteHandlerState:Execute () in 0x00084 StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool) Connection String --- the Connection String used to connect our database on windows 2000 is Server=dsl2; Database=pubs; User ID=dsl2\\administrator; Password=; Integrated Security=SSPI; here dsl2 is name of windows 2000 machine I hope this helps you to resolve your problem thanking you in advance Abdeali ___ 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: AW: AW: [Mono-list] Checking key existance in a NameValueCollection
I think it should be in a try statement because if the key doesnt exist it will throw an exception. Additionally in c# it would use [] instead of () try{ if !(Request.Form[key] == null){ // do something }else{ //do something to handle a null value } }catch(Exception e){ //the key doesnt exists } Jochen Wezel (CompuMaster GmbH) wrote: Something like If (Request.Form(key) == null) { //blah } -Ursprüngliche Nachricht- Von: Fabien Meghazi [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. Oktober 2004 14:14 An: Jochen Wezel (CompuMaster GmbH) Betreff: Re: AW: [Mono-list] Checking key existance in a NameValueCollection In VB.NET, I'd say: If Not Request.Form(key) Is Nothing Then 'some dos... End If Do you know the equivalent in C# ? ___ 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] Re: Checking key existance in a NameValueCollection
That is interesting. I was going off of memory and I thought c# at one time threw an error for keys not present in a collection. Sorry for any confusion and thank you for the clarification. Regards, Shawn Arnaud Bienvenu wrote: Shawn Vose a écrit : I think it should be in a try statement because if the key doesnt exist it will throw an exception. No, it will not. This is from NameValueCollection.Get documentation : Return Value : A String that contains a comma-separated list of the values associated with the specified key from the NameValueCollection, if found; otherwise, a null reference (Nothing in Visual Basic). I guess the [] operator uses the Get method. I made a test, it does not throw any exception when I read Request.Form[nonexistantkey]. You may have mixed up things with another cool language, Python, where it would throw a KeyError exception. Additionally in c# it would use [] instead of () This is right :) ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Re: Question about Mono installer
Is it not possible to use the make that comes with cygwin? I have been wondering if it is possible to compile .net(mono) code using make on linux and if so then what are the possibilites of doing the same on a win machine running cygwin? Regards, Shawn Vose Francisco T. Martinez wrote: Hola: Back in August I made a blog entry that talks a bit about make utilities like nmake and gmake. http://www.mfconsulting.com/blog/archives/35.html Unfortunately, I can't redistribute Microsoft binaries in our installer but as you can see there are ways for you to get a hold of make tools easily and cheap -- if not free. :) Hope this helps Paco Paul Murphy wrote: Hi, I am a .NET developer who is curious about Mono. I would like to develop some code that will work both on .NET and Mono. So, I downloaded your Mono GTK# combined installer. It looks really sharp, and the samples run right off the bat. But I am having some problems compiling the examples for myself. There is no 'make' in my path, and I don't really have any previous experience with Mono so I don't know what make program I should be using. I was kind of surprised that no 'make' was included, there are so many other binaries included in the 'bin' directory! I hope you can give me some sort of direction. Thanks, Paul ___ 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] Is Mono ready to compete with MS .NET in realbusiness?
Amen! To that. I love vim. I use it for all my coding needs; however, m$ people are going to have a hard time figuring out how to save their code. :w is not as intuitive as a few mouse clicks ;-) Jonathan Stowe wrote: On Wed, 2004-09-29 at 15:14, Max Metral wrote: I'd have to say Mono is not ready to compete yet, but only to complement. The development environments just don't seem to be there yet, mainly the extreme difficulty involved in getting even a simple debugger. Compared with the relative simplicity and power of VS2003, it still is much better to author in VS and run on Mono. But the development environment *is* there as far as some people would be concerned, vim has come with C# syntax highlighting and indenting rules for a while now and quite frankly that is more than some people need. The development environment isn't the language. The language (that is the compiler, the runtime environment and the libraries) is a tool, just as the editor you might prepare the source code in is. I guess this divergence of viewpoints is an amusing consequence of the strange nexus around mono - on the one hand those coming from the MS side and used to the monolithic application and on the other those coming from the more tools oriented approach that arises in the Unix world. That is already a great thing, so it's not a knock on Mono or peoples' efforts, but there's still work to be done. But probably by others than the core mono developers. That's the funny thing about open source projects - people tend to concentrate on the things that they think are important. I generally find that if one disagrees with those priorities then the best way to sort it out is by supplying some code oneself. /J\ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PFJ Sent: Wednesday, September 29, 2004 4:55 AM To: mono Subject: Re: [Mono-list] Is Mono ready to compete with MS .NET in realbusiness? Hi, Mono 1.0 was shipped awhile ago, and I'm really excited about that... but now the natural question is: Is Mono ready to compete with MS .NET in real business? Depends on the context. For winforms, no. 1.2 will have that and it should rock. ... and one more question is Will Novell provide support, documentation, etc.? If yes, by when? monodoc already has the documentation. As C# is already a standardised language, whatever is in the ECMA standard or the MS documentation should follow. Behind MS .NET there is a huge development team, support, documentation, and continuity... and I think Novell should offer the same, but till now I don't see anything in that way. There is with Mono. The big difference is that (I would guess) the majority of those working on Mono aren't on the Novell payroll - it's the biggest difference between Open and Closed source. Take OpenOffice, there are well over 200 people actively working on it, yet only about 15 work for Sun! TTFN Paul ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Capturing a Controls Rendered Html
I think you can also use Server.Execute(url, textwriter) but it may be easier in the long run to use the stream code mentioned previously Gonzalo Paniagua Javier wrote: On Thu, 2004-09-16 at 16:13, Matthew Metnetsky wrote: I have a UserControl which contains all of my web pages header information (menus etc). The headers content is static 99.999% of the time, so I would like to capture the rendered output of the control and toss it into an HTML file for normal inclusion (and remove it when the file needs updating. But I'm getting lost following the API from UserControl - Control - HtmlTextWriter - TextWriter --- Or use caching (partial caching)... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconCachingPortionsOfASPNETPage.asp -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
[Mono-list] XSP
Is the current download of xsp the most current(stable) snapshot of xsp from cvs or is it the last release? I had downloaded it when mono went beta and I was unable to get it to work. I kept getting Exceptions, which I posted to the list but was unable to resolve. Curious do the daily downloads contain the mod_mono and xsp for the day or do they live some where else? Best Regards, Shawn -- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Shawn Vose developer 864-993-6690 http://www.programmerforrent.com -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Virtual Hosts patch plans
Right now I need to get mon_mono working. I just got the source yesterday and started to install it but it drops out with a service unavailable. Also xsp drops with an unhandled exception. I need to review the list archives because I know this is not a new problem. Once I have that accomplished I will be ready to give a stab at it. On Mon, 2004-05-17 at 19:11, Andrew Arnott wrote: I'd welcome any help you can give. I am envisioning something like this: MonoDocumentRootDir virtualhostname1:port1,physicaldir1;virtualhost2:port2,physicaldir2;... Where :portx is optional, and the whole virtualhostname:port combo matches some virtualhost configuration in the httpd.conf file. Similarly with the next parameter: MonoApplications virtualhostname1:port1/virtualdir1,physicaldir1;... This way, one pair of parameters to mod-mono-server.exe provides all the info necessary for it to handle all requests, whatever virtual host it comes from. But then, here's my question that I haven't researched yet: why can't mod_mono just look up the Alias and VirtualHost settings within the configuration file rather than being hand-fed this information and having redundant configuration settings in our httpd.conf file? I don't know enough about Apache MODs to know. Lastly, before we work on this patch, let's see what patch was mentioned earlier today. I'm downloading CVS now to see if it's available. Andrew Arnott -Original Message- From: Shawn Vose [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 3:33 PM To: Andrew Arnott Cc: mono Subject: RE: [Mono-list] Virtual Hosts patch plans Where would the delimited list of host's exist? Would it exist inside the httpd.conf file? I am asking out of ignorance as I am trying to think of a way I might be able to help. Regards, Shawn On Mon, 2004-05-17 at 17:19, Andrew Arnott wrote: That would be an elegant solution, but it seems it would be more work. The emphasis on this patch is not elegance, since elegance would mean rewriting more than I understand how to at the moment. It sounds like a patch is forthcoming later today. Eagerly waiting... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Vose Sent: Monday, May 17, 2004 2:28 PM To: mono Subject: Re: [Mono-list] Virtual Hosts patch plans Speaking out the side of my neck I ask why you couldnt use xml to delimit the hosts? On Mon, 2004-05-17 at 15:11, Andrew Arnott wrote: I plan to write a patch for mod_mono to enable support for multiple virtual hosts in Apache by extending the use of the MonoDocumentRootDir and MonoApplications parameters. Essentially in addition to comma delimitation, I will use another character to delimit web sites and these will be top level keywords. That is, they will not be specified in the VirtualHost tag area. I do not believe this is the best solution to the problem, but until a rewrite happens on mod_mono, or someone says they have a better design idea that they are willing to work for, this seems like the fastest way to get the job done. Has anyone already begun work on this? Is there any interest if I create one? I'll probably post it on the list either way once it's done. Andrew Arnott ___ 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 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] Virtual Hosts patch plans
Yeah I remember that but for some reason that tmp file is not being created. On Tue, 2004-05-18 at 08:57, Gregory Junker wrote: Service unavailable is easily fixed by chmod/chown'ing the /tmp/mod_mono_server file so that the webserver can read/write it. Can't help you directly with the XSP crash though. HTH Greg Right now I need to get mon_mono working. I just got the source yesterday and started to install it but it drops out with a service unavailable. Also xsp drops with an unhandled exception. I need to review the list archives because I know this is not a new problem. Once I have that accomplished I will be ready to give a stab at it. On Mon, 2004-05-17 at 19:11, Andrew Arnott wrote: I'd welcome any help you can give. I am envisioning something like this: MonoDocumentRootDir virtualhostname1:port1,physicaldir1;virtualhost2:port2,physicaldir2;... Where :portx is optional, and the whole virtualhostname:port combo matches some virtualhost configuration in the httpd.conf file. Similarly with the next parameter: MonoApplications virtualhostname1:port1/virtualdir1,physicaldir1;... This way, one pair of parameters to mod-mono-server.exe provides all the info necessary for it to handle all requests, whatever virtual host it comes from. But then, here's my question that I haven't researched yet: why can't mod_mono just look up the Alias and VirtualHost settings within the configuration file rather than being hand-fed this information and having redundant configuration settings in our httpd.conf file? I don't know enough about Apache MODs to know. Lastly, before we work on this patch, let's see what patch was mentioned earlier today. I'm downloading CVS now to see if it's available. Andrew Arnott -Original Message- From: Shawn Vose [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 3:33 PM To: Andrew Arnott Cc: mono Subject: RE: [Mono-list] Virtual Hosts patch plans Where would the delimited list of host's exist? Would it exist inside the httpd.conf file? I am asking out of ignorance as I am trying to think of a way I might be able to help. Regards, Shawn On Mon, 2004-05-17 at 17:19, Andrew Arnott wrote: That would be an elegant solution, but it seems it would be more work. The emphasis on this patch is not elegance, since elegance would mean rewriting more than I understand how to at the moment. It sounds like a patch is forthcoming later today. Eagerly waiting... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Vose Sent: Monday, May 17, 2004 2:28 PM To: mono Subject: Re: [Mono-list] Virtual Hosts patch plans Speaking out the side of my neck I ask why you couldnt use xml to delimit the hosts? On Mon, 2004-05-17 at 15:11, Andrew Arnott wrote: I plan to write a patch for mod_mono to enable support for multiple virtual hosts in Apache by extending the use of the MonoDocumentRootDir and MonoApplications parameters. Essentially in addition to comma delimitation, I will use another character to delimit web sites and these will be top level keywords. That is, they will not be specified in the VirtualHost tag area. I do not believe this is the best solution to the problem, but until a rewrite happens on mod_mono, or someone says they have a better design idea that they are willing to work for, this seems like the fastest way to get the job done. Has anyone already begun work on this? Is there any interest if I create one? I'll probably post it on the list either way once it's done. Andrew Arnott ___ 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 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 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] Xsp in standalone amd mod_mono
For some reason I am not able to service aspx pages in my apache 2.0. I have the conf file configured correctly but I think the problem is with xsp as I am having a problem getting xsp to service request. Specifically it is returning a 500 error to start xsp I am using the following command $ mono /usr/local/bin/xsp.exe --port 8080 --root . Listening on port: 8080 Listening on address: 0.0.0.0 Root directory: /usr/share/doc/xsp/test Hit Return to stop the server. Compat mode: the request from /usr/share/doc/xsp/test/bin/extensions.dll to load System.Web.Services was remapped (http://www.go-mono.com/remap.html) Then when I request index.aspx I get the following System.TypeLoadException: Cannot load type 'Mono.Http.Modules.AcceptEncodingModule, Mono.Http' in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x20) [0x400bcad8] in (unmanaged) /usr/lib/libmono.so.0 [0x400c0352] in 0x00054 System.Type:GetType (string,bool) in 0x0002c System.Web.Configuration.ModuleItem:.ctor (string,string) in 0x002f2 System.Web.Configuration.HttpModulesConfigurationHandler:Create (object,object,System.Xml.XmlNode) in 0x001c0 System.Web.Configuration.ConfigurationData:GetConfigInternal (string,System.Web.HttpContext,bool) in 0x0008b System.Web.Configuration.ConfigurationData:GetConfigOptLocation (string,System.Web.HttpContext,bool) in 0x002fe System.Web.Configuration.ConfigurationData:GetConfig (string,System.Web.HttpContext) in 0x00125 System.Web.Configuration.ConfigurationData:GetConfigInternal (string,System.Web.HttpContext,bool) in 0x0008b System.Web.Configuration.ConfigurationData:GetConfigOptLocation (string,System.Web.HttpContext,bool) in 0x002fe System.Web.Configuration.ConfigurationData:GetConfig (string,System.Web.HttpContext) in 0x00079 System.Web.Configuration.WebDefaultConfig:GetConfig (string,System.Web.HttpContext) in 0x00030 System.Web.Configuration.WebDefaultConfig:GetConfig (string) in 0x00016 System.Web.Configuration.WebConfigurationSettings:GetConfig (string) in 0xb System.Web.HttpContext:GetAppConfig (string) in 0x00025 System.Web.HttpApplication:InitModules () in 0x00054 System.Web.HttpApplication:Startup (System.Web.HttpContext,System.Web.HttpApplicationState) in 0x0007e System.Web.HttpApplicationFactory:InitializeFactory (System.Web.HttpContext) in 0x00073 System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext) in 0x00132 System.Web.HttpRuntime:InternalExecuteRequest (System.Web.HttpWorkerRequest) ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Xsp in standalone amd mod_mono
What does that mean. I added all the mono* to my server yesterday. Did I install it in an incorrect order? On Tue, 2004-05-18 at 10:08, Simon Ask Ulsnes wrote: You probably have to recompile XSP. It looks like it was compiled with Mono pre-GAC. - Simon Shawn Vose wrote: For some reason I am not able to service aspx pages in my apache 2.0. I have the conf file configured correctly but I think the problem is with xsp as I am having a problem getting xsp to service request. Specifically it is returning a 500 error to start xsp I am using the following command $ mono /usr/local/bin/xsp.exe --port 8080 --root . Listening on port: 8080 Listening on address: 0.0.0.0 Root directory: /usr/share/doc/xsp/test Hit Return to stop the server. Compat mode: the request from /usr/share/doc/xsp/test/bin/extensions.dll to load System.Web.Services was remapped (http://www.go-mono.com/remap.html) Then when I request index.aspx I get the following System.TypeLoadException: Cannot load type 'Mono.Http.Modules.AcceptEncodingModule, Mono.Http' in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x20) [0x400bcad8] in (unmanaged) /usr/lib/libmono.so.0 [0x400c0352] in 0x00054 System.Type:GetType (string,bool) in 0x0002c System.Web.Configuration.ModuleItem:.ctor (string,string) in 0x002f2 System.Web.Configuration.HttpModulesConfigurationHandler:Create (object,object,System.Xml.XmlNode) in 0x001c0 System.Web.Configuration.ConfigurationData:GetConfigInternal (string,System.Web.HttpContext,bool) in 0x0008b System.Web.Configuration.ConfigurationData:GetConfigOptLocation (string,System.Web.HttpContext,bool) in 0x002fe System.Web.Configuration.ConfigurationData:GetConfig (string,System.Web.HttpContext) in 0x00125 System.Web.Configuration.ConfigurationData:GetConfigInternal (string,System.Web.HttpContext,bool) in 0x0008b System.Web.Configuration.ConfigurationData:GetConfigOptLocation (string,System.Web.HttpContext,bool) in 0x002fe System.Web.Configuration.ConfigurationData:GetConfig (string,System.Web.HttpContext) in 0x00079 System.Web.Configuration.WebDefaultConfig:GetConfig (string,System.Web.HttpContext) in 0x00030 System.Web.Configuration.WebDefaultConfig:GetConfig (string) in 0x00016 System.Web.Configuration.WebConfigurationSettings:GetConfig (string) in 0xb System.Web.HttpContext:GetAppConfig (string) in 0x00025 System.Web.HttpApplication:InitModules () in 0x00054 System.Web.HttpApplication:Startup (System.Web.HttpContext,System.Web.HttpApplicationState) in 0x0007e System.Web.HttpApplicationFactory:InitializeFactory (System.Web.HttpContext) in 0x00073 System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext) in 0x00132 System.Web.HttpRuntime:InternalExecuteRequest (System.Web.HttpWorkerRequest) ___ 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 maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Xsp in standalone amd mod_mono
I tried to add the --applications argument but xsp would throw an exception. With respect to the two being different, this I know but I would think that if xsp didnt work then most likely mod_mono would fail as well since they are using the same engine. Is this not correct. I would much rather get it to work as a module. The only reason I tried xsp as a standalone was so I could see why mod_mono was not servicing requests. On Tue, 2004-05-18 at 10:14, Gregory Junker wrote: Unless I missed some significant change in the past couple of weeks, you should be doing the following to start the mod_mono server: mono /usr/bin/mod-mono-server.exe --root ... --applications ...:... --nonstop And then chmod the file so it's RW for the webserver. XSP and mod-mono-server are not exactly the same thing... Greg ___ 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] Xsp in standalone amd mod_mono
Curious should I touch the tmp/mod_mono_server file and chmod it or it the server creating it? Also I do notice that some numerically named dll's are being created in my tmp. Any suggestions would be of great help. Regards, Shawn Vose On Tue, 2004-05-18 at 10:28, Gregory Junker wrote: Well, for one, the mod_mono module expects to see /tmp/mod_mono_server, which is created by mod-mono-server.exe, not xsp.exe. If you did not chmod the /tmp/mod_mono_server file, you will get Service Unavailable. Best thing to do is script the mod-mono-server startup so that you pause for a couple seconds after the .exe returns, then chmod the file in the script. Also, unless they have got mod-mono-server.exe to recognize, drop, and reload changed assembly DLLs, you will need to restart mod-mono-server.exe each time you change an assembly DLL that the server has loaded. If you don't, you will get some truly weird errors from your ASP.NET pages. If you are serving ONLY ASPX pages on this server, then you don't need Apache at all; just set up XSP to server port 80 and off you go (akin to Java servlets). HTH Greg I tried to add the --applications argument but xsp would throw an exception. With respect to the two being different, this I know but I would think that if xsp didnt work then most likely mod_mono would fail as well since they are using the same engine. Is this not correct. I would much rather get it to work as a module. The only reason I tried xsp as a standalone was so I could see why mod_mono was not servicing requests. On Tue, 2004-05-18 at 10:14, Gregory Junker wrote: Unless I missed some significant change in the past couple of weeks, you should be doing the following to start the mod_mono server: mono /usr/bin/mod-mono-server.exe --root ... --applications ...:... --nonstop And then chmod the file so it's RW for the webserver. XSP and mod-mono-server are not exactly the same thing... Greg ___ 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 maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Virtual Hosts patch plans
Speaking out the side of my neck I ask why you couldnt use xml to delimit the hosts? On Mon, 2004-05-17 at 15:11, Andrew Arnott wrote: I plan to write a patch for mod_mono to enable support for multiple virtual hosts in Apache by extending the use of the MonoDocumentRootDir and MonoApplications parameters. Essentially in addition to comma delimitation, I will use another character to delimit web sites and these will be top level keywords. That is, they will not be specified in the VirtualHost tag area. I do not believe this is the best solution to the problem, but until a rewrite happens on mod_mono, or someone says they have a better design idea that they are willing to work for, this seems like the fastest way to get the job done. Has anyone already begun work on this? Is there any interest if I create one? Ill probably post it on the list either way once its done. Andrew Arnott ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Virtual Hosts patch plans
Where would the delimited list of host's exist? Would it exist inside the httpd.conf file? I am asking out of ignorance as I am trying to think of a way I might be able to help. Regards, Shawn On Mon, 2004-05-17 at 17:19, Andrew Arnott wrote: That would be an elegant solution, but it seems it would be more work. The emphasis on this patch is not elegance, since elegance would mean rewriting more than I understand how to at the moment. It sounds like a patch is forthcoming later today. Eagerly waiting... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Vose Sent: Monday, May 17, 2004 2:28 PM To: mono Subject: Re: [Mono-list] Virtual Hosts patch plans Speaking out the side of my neck I ask why you couldnt use xml to delimit the hosts? On Mon, 2004-05-17 at 15:11, Andrew Arnott wrote: I plan to write a patch for mod_mono to enable support for multiple virtual hosts in Apache by extending the use of the MonoDocumentRootDir and MonoApplications parameters. Essentially in addition to comma delimitation, I will use another character to delimit web sites and these will be top level keywords. That is, they will not be specified in the VirtualHost tag area. I do not believe this is the best solution to the problem, but until a rewrite happens on mod_mono, or someone says they have a better design idea that they are willing to work for, this seems like the fastest way to get the job done. Has anyone already begun work on this? Is there any interest if I create one? I'll probably post it on the list either way once it's done. Andrew Arnott ___ 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 maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Monodoc
I just grabbed the latest betas for mono and I am having a bit of a problem getting monodoc to run. It installed without a hitch; however, it is complaining with the following: Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll in 0x00053 (wrapper managed-to-native) Gtk.Application:gtk_init (int,intptr) in 0x00038 Gtk.Application:Init () in [0x0011b] (at /temp/mono/latest/monodoc-0.15/browser/browser.cs:80) Monodoc.D river:Main (string[]) Any suggestions would be greatly appreciated. Regards, Shawn Vose ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Monodoc
Juergen, I have not added the mapping so if it is not there by default then the answer would be no. I am getting ready to add it. With respect to gtk# apps, I have written none as I dont know the syntax and was hoping the monodoc would make my life easier. Regards, Shawn On Tue, 2004-05-11 at 08:35, Juergen Moeller wrote: Hello Shawn, Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll I cannot start monodoc either. Do you have a mapping to libgtk-x11-2.0.so.0 in your gtk-sharp.dll.conf ? Do you have the same error when running your own gtk#-apps? juergen ___ 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] Monodoc
Actually I dont even have the gtk-sharp.dll.conf on my machine for some reason. Is this something that should exist? On Tue, 2004-05-11 at 08:41, Shawn Vose wrote: Juergen, I have not added the mapping so if it is not there by default then the answer would be no. I am getting ready to add it. With respect to gtk# apps, I have written none as I dont know the syntax and was hoping the monodoc would make my life easier. Regards, Shawn On Tue, 2004-05-11 at 08:35, Juergen Moeller wrote: Hello Shawn, Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll I cannot start monodoc either. Do you have a mapping to libgtk-x11-2.0.so.0 in your gtk-sharp.dll.conf ? Do you have the same error when running your own gtk#-apps? juergen ___ 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 maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Monodoc
How would I go about cleaning them out. I have noticed a few different locations where dll's are installed which is the location that needs to be seen as current? I installed mono from src and all others from rpm. On Tue, 2004-05-11 at 08:57, Iain McCoy wrote: On Tue, 2004-05-11 at 22:19, Shawn Vose wrote: I just grabbed the latest betas for mono and I am having a bit of a problem getting monodoc to run. It installed without a hitch; however, it is complaining with the following: Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll in 0x00053 (wrapper managed-to-native) Gtk.Application:gtk_init (int,intptr) in 0x00038 Gtk.Application:Init () in [0x0011b] (at /temp/mono/latest/monodoc-0.15/browser/browser.cs:80) Chances are that you have old gtk-sharp.dll and friends sitting around in $prefix/lib. You need to clean them out so that mono sees the current assemblies in the GAC. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Monodoc
Yeah I installed it from and rpm package that I grabbed at mono. I guess I will go grab the tar ball and build from source. On Tue, 2004-05-11 at 09:10, Juergen Moeller wrote: Actually I dont even have the gtk-sharp.dll.conf on my machine for some reason. Is this something that should exist? Since 0.91 mono uses also that file, which is installed by gtk# 0.91.1. There should be the mapping by default... However, your whole file is missing! Are you sure that you have installed the new version of gtk#? juergen ___ 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] General .NET Q
I definitely think that the best and least complicated way to go about doing what this prospect was wanting would be to store the compiled module or class in a blob field in mysql or sql server. When I get a response(if I get a response) from the prospect I will post it to the list and who ever wants to contact him then feel free to do so. All I ask is that you indicate in your contact that I referred him to you this way there is not a non-disclosure issue. I told Dave he was more than welcome to the project as I don't have the time to take on another one right now. Dave indicated that Jonathan and Jackson may want it as well. They initially gave me a reply so I would presume they would have first dibs at it. Regards, Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joop Sent: Thursday, March 25, 2004 11:05 AM To: Mono (E-mail) Subject: Re: [Mono-list] General .NET Q Would it be an idea to store a module (compile cs file) into the database? That is what Progress(tm) does with Java classes for trigger procedures. wkr, Gerke Shawn Vose wrote: Dave, I have no idea. IT was someone that contacted me via my website and they gave very little details other than what I have indicated in my question. Personally I didnt think it was possible. I knew it would have required a recompile whenever new code was being pulled from the db and after doing some reading last night I also concluded that there would have to be a class that was already available that would allow Reflection. I have only coded web apps in c# and asp.net which hardly makes me competent to even know where to begin on this. With respect to snippets they would be added to the db by other developers, which would be based on permissions. Truthfully if the contact replies to my request for a specification on the project I will pass it on to you if you would be interested in doing it. Personally my time is limited and although it sounds like a challenge I just dont have the experience or the time right now. Regards, Shawn Vose -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Grundgeiger, Dave Sent: Thursday, March 25, 2004 10:17 AM To: '[EMAIL PROTECTED]' Cc: mono Subject: RE: [Mono-list] General .NET Q Hi Shawn. I know you've gotten a couple of good answers on this already, but I'm curious about the application. Would you mind sharing why your client wants to do this? Also, where do they want the code snippets to execute--on the client, or on the server? Will the code snippets manipulate the database? Where will the snippets come from? I'm intrigued by this idea. Dave -Original Message- From: Shawn Vose [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 8:05 PM To: mono Subject: [Mono-list] General .NET Q Does anyone know if the following is possible: Taking a snippet of .NET c# code, maybe a function, and storing it in a mysql db to be later called by another piece of code and executed? I was asked this question by a client and I dont have the slightest clue on how to answer this. My initial answer is no because it would have to be compiled into the calling class; however, I am thinking that system.reflection would be able to help me. Any opinions or direction would be greatly appreciated. Regards, Shawn Vose ___ 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 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 maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] General .NET Q
Does anyone know if the following is possible: Taking a snippet of .NET c# code, maybe a function, and storing it in a mysql db to be later called by another piece of code and executed? I was asked this question by a client and I dont have the slightest clue on how to answer this. My initial answer is no because it would have to be compiled into the calling class; however, I am thinking that system.reflection would be able to help me. Any opinions or direction would be greatly appreciated. Regards, Shawn Vose ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] GET ME OF THIS LIST
If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.ximian.com/mailman/options/mono-list/cwertman%40webchamps.com On Thu, 2004-01-22 at 20:37, Chris Wertman wrote: I have sent now 3 messages to the list admins and one to the list itself. How do I get the F*** off this list !?!?!?!? Chris ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] ASP.NET and System.Web.UI.Page
Curious to know if the code behind is supported in mono and if so how would you go about compiling all of the source code in an asp.net(C#) application? I attempted to compile a simple asp.net app using code behind and I received a complaint from mcs saying the following: mcs -t:library -L /usr/local/lib PublicBase.cs PublicBase.cs(8) error CS0246: Cannot find type `System.Web.UI.Page' Compilation failed: 1 error(s), 0 warnings The cs class is: using System; namespace Generic.GUI { /// summary /// Summary description for PublicBase. /// /summary public class PublicBase: System.Web.UI.Page { protected Generic.GUI.Controls.PublicTemplate Template; protected override void OnInit(EventArgs e) { Template = (Generic.GUI.Controls.PublicTemplate)LoadControl(~/GUI/Controls/PublicTemplate.ascx); this.Controls.Add(Template); base.OnInit(e); } } } Any suggestions as to what I am doing wrong to get this to compile would be greatly appreciated. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] corlib.dll not found
Maybe what you could do is grab the corresponding mono-charge in the daily snapshot and tar -zxvf it. Then copy all the dll's to the /usr/local/lib directory and all the exe's to the /usr/bin/mono directory. I had the same problem and that is what I did to fix it. On Tue, 2004-01-13 at 11:57, Jeremiah McElroy wrote: When I run 'type mono' or 'type mcs' it returns with /usr/bin/mono and /usr/bin/mcs, however mcs still complains about corlib.dll being missing. I uninstalled the RPMs and removed every file I could find that has to do with mono, but I still cannot fix this issue. Ravindra Kumar wrote: Hello, Looks like your PATH value is referring to old install. Just check and see if you can change it to point to the new install. If you try command type mono or type mcs, it is going to tell you that from where these will get executed. Your new install bin directory should appear before the old install bin dir in PATH. HTH ~R Jeremiah McElroy [EMAIL PROTECTED] 1/13/2004 6:13:49 AM I am running Red Hat 9.0 with RedCarpet 2 and I installed mono today from RedCarpet. At some point in the past, I built mono from sources, but I thought that I had done make uninstall to remove mono from the machine. However, when I attempt to compile, I receive a corlib.dll not found. Mono appears to be looking in /usr/local/lib. In addition, mono reports its verion as 0.26 when I run mono --version, as opposed to the 0.29 that the RPMs claim. I have seen this topic more than once on the list, but I have not been able to find a solution. When I set MONO_PATH, the problem still persists. Is there something that I have overlooked or forgotten? In addition, is the best course of action going to be to compile and install from source? Thanks in advance, Jeremiah McElroy 2**+-*+-2**+-*+-**hm**+-**oj)fj*b*?**+- ___ 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] MonoDoc 0.9 has been released.
I tried to make monodoc and I received the following: blah blah blah... Unhandled Exception: System.NotImplementedException: The requested feature is no t yet implemented in 0x0002a System.Reflection.Emit.AssemblyBuilder:DefineVersionInfoResource () in 0x01124 Mono.CSharp.Driver:MainDriver (string[]) in 0x0001a Mono.CSharp.Driver:Main (string[]) make[1]: *** [monodoc.dll] Error 1 make[1]: Leaving directory `/home/voseman/temp/mono/monodoc-0.9/browser' make: *** [all-recursive] Error 1 Is this because I just installed the latest mono-charge? On Tue, 2004-01-13 at 17:30, Miguel de Icaza wrote: Hello, A new release of Monodoc is out, you can get it from: http://www.go-mono.com/archive/monodoc-0.9.tar.gz This release contains mostly updates to the documentation that were contributed by folks with the new web-services based collaboration feature of Monodoc (Monodoc is kind of a wiki in that regard). Thanks to: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] for their contributions. Packages should be available on Red Carpet shortly. Miguel. ___ 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] Mono on embedded Linux
Sunil, Check out http://www.killefiz.de/zaurus/showdetail.php?app=1082 On Tue, 2003-11-18 at 06:42, Sunil Kumar wrote: Hi, I was just curious to know whether any work has been done on running Mono on embedded devices ? Regards, -Sunil ___ 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] ASP.NET default language -- VB
I am not sure why anyone would want to use VB over C# anyway ;-) On Wed, 2003-11-05 at 13:43, Michael J. Ryan wrote: Jochen Wezel wrote: ASP.NET standard language should be VB.NET: === maybe mono should just require the Page directive, and the Language attribute be in place to run... rather than using VB as a default since (afaik) Mono's VB isn't ready for use in mono's asp.net implimentation. personally I use 100% C# here.. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] howto install mono from cvs?
What do I need to do with the monocharge? Do I need to copy the files in that directory to the last know good install of mono? On Wed, 2003-10-29 at 18:52, Jaroslaw Kowalski wrote: Download latest monocharge or a full build from www.go-mono.com/daily, then make/make install. Then you should be able to update from CVS and re-compile. Jarek - Original Message - From: D-Fuse [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 12:48 AM Subject: [Mono-list] howto install mono from cvs? Hey, I've been trying to install mono from cvs all week now. I first downloaded mono-0.28.tar.gz and did .configure --prefix=/usr/local, then make and make install This works fine. After that I did ./autogen.sh --prefix=/usr/local and make fullbuild in my mono directory from cvs. Then I always get the following error: Your mono runtime and corlib are out of sync. Corlib is: corlib When you update one from cvs you need to update, compile and install the other too. Do not report this as a bug unless you're sure you have updated correctly: you probably have a broken mono install. If you see other errors or faults after this message they are probably related and you need to fix your mono install first. How do I correctly install mono from cvs? __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ___ 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 maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] gtk sharp
I installed the latest mono rpms last week. mono-0.28-1.ximian.6.1.i386.rpm mono-devel-0.28-1.ximian.6.1.i386.rpm mono-debuginfo-0.28-1.i386.rpm mono-wine-20030318-1.ximian.6.4.i386.rpm mono-wine-debuginfo-20030318-1.ximian.6.4.i386.rpm do these contain the gtk bindings? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] RTFM
never mind I just found all I need to know on the site. I am dloading it now. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] gda...
I am attempting to configure gtk-sharp. The configure tells me that the optional asseblies gda-sharp.dll gnomedb-sharp.dll rsvg-sharp.dll are not present. Any ideas as to where I could find them? Many thanks, Shawn ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] gtk sharp
Ok great. Thanks for all your help On Thu, 2003-10-16 at 09:16, Luciano Callero wrote: You does not install any binding, you must install the Gtk-Sharp.. You can download from http://sourceforge.net/project/showfiles.php?group_id=40240 You have rpm and rpm-src and tar.gz.. Remember install first perl-modules perl-XML-LibXML-1.53-1.i386.rpm, perl-XML-LibXML-1.53-1.src.rpm, perl-XML-LibXML-Common-0.12-1.i386.rpm and the others. They are in the same url. You must first install (or maybe you already have) gda, gtk+, and other package... kat0. From: Shawn Vose [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Mono-list] gtk sharp Date: 16 Oct 2003 08:29:49 -0400 MIME-Version: 1.0 Received: from mc9-f28.hotmail.com ([65.54.166.35]) by mc9-s21.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 16 Oct 2003 05:55:42 -0700 Received: from listsmx.ximian.com ([141.154.95.15]) by mc9-f28.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 16 Oct 2003 05:31:11 -0700 Received: from headcheese.ximian.com (localhost [127.0.0.1])by listsmx.ximian.com (Postfix) with ESMTPid 57CC9124818; Thu, 16 Oct 2003 08:31:06 -0400 (EDT) Received: by listsmx.ximian.com (Postfix, from userid 38)id BAFD4124812; Thu, 16 Oct 2003 08:30:51 -0400 (EDT) Received: from admin2.4tcb.com (unknown [216.52.199.92])by listsmx.ximian.com (Postfix) with SMTP id D3A3912480Efor [EMAIL PROTECTED]; Thu, 16 Oct 2003 08:30:18 -0400 (EDT) Received: (qmail 32152 invoked from network); 16 Oct 2003 10:38:00 - Received: from user81.net480.nc.sprint-hsd.net (HELO ?192.168.2.110?) (65.40.165.81) by admin2.4tcb.com with SMTP; 16 Oct 2003 10:38:00 - X-Message-Info: g+YnDTwJTP61Dh5IlwE6h+nRZ5+9fOpLvsHCawqs+wY= Organization: ProgrammerForRent.com Message-Id: [EMAIL PROTECTED] X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) X-Spam-Status: No, hits=-6.3 required=5.0tests=USER_AGENT_XIMIANversion=2.53 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: mailto:[EMAIL PROTECTED] List-Post: mailto:[EMAIL PROTECTED] List-Subscribe: http://lists.ximian.com/mailman/listinfo/mono-list,mailto:[EMAIL PROTECTED] List-Id: Mono Developer Discussion List mono-list.lists.ximian.com List-Unsubscribe: http://lists.ximian.com/mailman/listinfo/mono-list,mailto:[EMAIL PROTECTED] List-Archive: http://lists.ximian.com/archives/public/mono-list/ Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 16 Oct 2003 12:31:14.0429 (UTC) FILETIME=[63974AD0:01C393E1] I installed the latest mono rpms last week. mono-0.28-1.ximian.6.1.i386.rpm mono-devel-0.28-1.ximian.6.1.i386.rpm mono-debuginfo-0.28-1.i386.rpm mono-wine-20030318-1.ximian.6.4.i386.rpm mono-wine-debuginfo-20030318-1.ximian.6.4.i386.rpm do these contain the gtk bindings? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list _ Ests buscando un auto nuevo? http://www.yupimsn.com/autos/ ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] dotGNU and Mono
Forgive the ignorance but did mono start their implementation before dotGnu of .NET? I am only curious. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] SharpDevelop
Has any one had any luck getting the Sharp Develop IDE to compile on a linux box? I couldnt find any documentation on their site but if someone has a link to something that may help that would be great. I normally use vi but sometimes it is nice to have code completion. Thanks in advance, Shawn ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] SharpDevelop
That's what I thought. I justed wanted to make sure I wasnt overlooking something obvious. I will continue using vim and vow to quit being so lazy. Thanks all, shawn On Thu, 2003-10-09 at 08:09, Dominik Fretz wrote: Shawn Vose wrote: Has any one had any luck getting the Sharp Develop IDE to compile on a linux box? I couldnt find any documentation on their site but if someone has a link to something that may help that would be great. I normally use vi but sometimes it is nice to have code completion. Thanks in advance, Shawn Hi First: I'm not one of the #D Devlopers, but I can give some infos about this thopic: Curretnly, you won't be able to run #D on linux since it heavaly depends on System.Windows.Forms. Since the #D developpers thought about a linux version, the main #D developper Mike Krueger startet a port of the Java gui library SWT (used and developed in Eclipse). This was the beginning of the SharpWT project (you will find some notes of this on the list archives of this list). SWT was designed to use native widgets on each platform and it exists on diffrent platforms including Win32 and Linux/GTK. The Port of the common and Win32 part was done by Mike and Pedro Abelleira Seco and I started to port the GTK part. The Idea from the #D crew was to port #D over to SharpWT and have it run on Linux and Windows (and probbably on other platforms). The current state is this (AFAIK): - Win32 port of SharpWT mostly done - GTK port has a good base, but here is still work to do, some widgets arent here in the GTK part and some things generats errors and crashes There is a branch in the #D source tree that has some things portetd to SharpWT. But this is far from complete. AFAIK didn't work the #D crew currently on the port to SharpWT because they going to 1.0. But afterwars, I think, there will be more effort on porting it to SharpWT. In the meantime, I try to work on the GTK part of SharpWT. to have it as close to the Win32 functionality as possible. For more informations, please have a look at the sd-mono-poirt mailinglist (@ximian) and read through the archive of it. Regards Dominik - ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Surveys: Mono 1.0 and Mono Conference.
I agree! Additionally it would be nice to get developers that have done development exclusively on the windows platform to make the transition to Linux and see the potential the os and mono have. On Thu, 2003-10-09 at 16:27, Fabian Fagerholm wrote: On Thu, 2003-10-09 at 05:24, Miguel de Icaza wrote: Hey guys, I want to query the community, and find out about two things: * What should Mono 1.0 be? I think the major question is who is Mono 1.0 for?. Is the purpose to target more of the same kind of people who have already found Mono, or is it to extend the Mono-awareness in other groups as well? If the latter is desirable, a 1.0 tag can always be used to attract the press, which can in turn cause the word to spread to places it hasn't yet reached -- which in turn can raise expectations... (I'm thinking Windows users here, but also people who are looking for an alternative to Java or for a good framework to extend Unix/Linux who haven't yet discovered Mono.) If Mono 1.0 is difficult to use and grasp, and if it causes disappointment to the people who have never seen it before the 1.0 release, then a great opportunity has been lost. For everyone who is already using Mono, a version tag of 1.0 will hardly make any difference if the functionality you need is there. To these people, it's Just A Number (or it should be, anyway). I think it's actually not so much about what subset of .NET to release, and more about making sure that what is released is usable in practise, is of the highest quality, and that the release is accompanied with a message that helps potential users to have the right mind set when looking at the product. I second the opinion that documentation is of very high importance -- it is part of the message telling what Mono 1.0 is, and what it isn't (yet). To conclude, Mono 1.0 should be high-quality, as stable as possible, as well documented as possible, and it should contain the pieces that are needed for Unix/Linux hackers as well as people coming from a Windows or Java background to start building things with as little adaptation needed for the tool change as possible. As if this weren't everybody's wish list, anyway :) Cheers, ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list