RE: [Mono-list] Beginner C# Book

2004-08-24 Thread Carl Olsen
I have two recommendations, Mono Kickstart (Sams) and Beginning Visual C#
(Wrox).  I know the second book is written for Windows and Visual Studio,
but it really covers the C# language and syntax well.  I tried learning
ASP.NET first and had to go back and learn C# before it made any sense.  I
just picked up Mono: A Developers Notebook, but haven't started reading it
yet.  I'm currently reading ASP.NET Website Programming (Wrox), which,
again, is another Windows / Visual Studio book.  I'm trying to keep up with
Mono at the same time.  I've moved some C# ASP.NET code from Windows to
Linux and it runs exactly the same on both platforms.  The code I'm using
reads and writes XML files.  It's the BLOG example at the end of the
Beginning Visual C# book, so that should tell you why I'm recommending a
Windows-centric book for learning C# on any platform.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:mono-list-
> [EMAIL PROTECTED] On Behalf Of Tom McLaughlin
> Sent: Tuesday, August 24, 2004 9:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Mono-list] Beginner C# Book
> 
> Thanks to everyone who responded, I got a lot of great suggestions.  I
> ended up grabbing "Learning C#" from O'Reilly.  It's starting me off
> with the basics and it's not overly long so I can decide what direction
> I want to go once I'm done with it.  Thanks a bunch.
> 
> Tom
> 
> 
> 
> On Sun, 2004-08-22 at 18:39 -0400, Tom McLaughlin wrote:
> > Hi all,
> >
> > I'm looking for a good beginner C# book.  Preferably one that does not
> > assume a certain amount of familiarity with C++, Java, or OOP in
> > general.  I picked up "Mono: A Developers Notebook" from O'Reilly
> > figuring that some of the C++ I saw in school would come back to me.
> > What I saw in school was nearly five years ago and it's definitely not
> > coming back.
> >
> > I really need a book that will not only go over the syntax and structure
> > of the language but the underlying fundementals of the language.  (Like
> > not just how to create a vector but what each part of the declaraion
> > means and how it all works.)  Right now I maintain the FreeBSD port for
> > Muine and I am looking at creating ports of other applications.  I would
> > like to have enough familiarity with the language to fix bugs,
> > especially FreeBSD specific bugs in programs.
> >
> > If someone could recommend a book they found to give a good
> > comprehensive understanding of the language to a beginner that would be
> > great.  Thanks.
> >
> > Tom
> >
> > ___
> > 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] Beginner C# Book

2004-08-24 Thread Tom McLaughlin
Thanks to everyone who responded, I got a lot of great suggestions.  I
ended up grabbing "Learning C#" from O'Reilly.  It's starting me off
with the basics and it's not overly long so I can decide what direction
I want to go once I'm done with it.  Thanks a bunch.

Tom



On Sun, 2004-08-22 at 18:39 -0400, Tom McLaughlin wrote:
> Hi all,
> 
> I'm looking for a good beginner C# book.  Preferably one that does not
> assume a certain amount of familiarity with C++, Java, or OOP in
> general.  I picked up "Mono: A Developers Notebook" from O'Reilly
> figuring that some of the C++ I saw in school would come back to me.
> What I saw in school was nearly five years ago and it's definitely not
> coming back.
> 
> I really need a book that will not only go over the syntax and structure
> of the language but the underlying fundementals of the language.  (Like
> not just how to create a vector but what each part of the declaraion
> means and how it all works.)  Right now I maintain the FreeBSD port for
> Muine and I am looking at creating ports of other applications.  I would
> like to have enough familiarity with the language to fix bugs,
> especially FreeBSD specific bugs in programs.
> 
> If someone could recommend a book they found to give a good
> comprehensive understanding of the language to a beginner that would be
> great.  Thanks.
> 
> Tom
> 
> ___
> 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] (no subject)

2004-08-24 Thread billg

On Tue, 24 Aug 2004 14:31:42 -0400, "Joshua Tauberer"
<[EMAIL PROTECTED]> said:
> The existing packaging system with dozens of RPMs may be complicated
> but not difficult. I like it a lot.
>
> > How do you install Mono right now? What do you do to upgrade?
>
> Yum
>
On Tue, 24 Aug 2004 14:31:42 -0400, "Joshua Tauberer"
<[EMAIL PROTECTED]> said:
> The existing packaging system with dozens of RPMs may be complicated
> but not difficult. I like it a lot.
>
> > How do you install Mono right now? What do you do to upgrade?
>
> Yum
>
> > Is Mono too difficult to install for people new to Linux? For people
> > with Linux experience?
>
> Not if they use yum.

Yum on FC2 always bails out with dependency issues. I used Red Carpet
to get it.

Frankly, yum on Fedora is not easy enough for folks new to Linux, since
it requires a knowledge of yum and how to edit yum.conf. You can never
make it too easy, especially when you're trying to entice people to use
something.

Better to have one file that installs everything.  Package an rpm for
Fedora, an rpm for SUSE, etc. (And a tgz for Slackware would be really
nice, since I've switched back to my ol' friend Slack after playing with
Fedora and face the prospect of building it all from source.) That would
make it a two-click install:  one click to download, another click to
install. Also offer the individual pieces for folks who need to do it
their way.
> > Is Mono too difficult to install for people new to Linux? For people
> > with Linux experience?
>
> Not if they use yum.

Yum on FC2 always bails out with dependency issues. I used Red Carpet
to get it.

Frankly, yum on Fedora is not easy enough for folks new to Linux, since
it requires a knowledge of yum and how to edit yum.conf. You can never
make it too easy, especially when you're trying to entice people to use
something.

Better to have one file that installs everything.  Package an rpm for
Fedora, an rpm for SUSE, etc. (And a tgz for Slackware would be really
nice, since I've switched back to my ol' friend Slack after playing with
Fedora and face the prospect of building it all from source.) That would
make it a two-click install:  one click to download, another click to
install. Also offer the individual pieces for folks who need to do it
their way.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] SqlConnection in Mac OS X

2004-08-24 Thread Daniel Morgan
If your patch to SqlClient works on Mac OS X, and it does not break
anything on Windows nor Linux.  Then please go ahead and commit it.

Unless, Tim has any objections.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Satori
Sent: Tuesday, August 24, 2004 3:05 PM
To: Jonel Rienton
Cc: [EMAIL PROTECTED]
Subject: Re: [Mono-list] SqlConnection in Mac OS X


There is, as well as a proposed patch to Mono.Tds (which underlies 
this).  There is a ByteOrder problem with the SqlConnection.

Andy

bugzilla bugid= 62948
-
[EMAIL PROTECTED] - druware software designs http://www.druware.com On Aug
24, 2004, at 2:50 PM, Jonel Rienton wrote:

> hi guys, I was doing some testing in the System.Data namespace in my 
> mac and I got stuck to something. whenever i call the Open method of a

> SqlConnection object, the cpu goes up high and the application just 
> sits there with no messages.
>
> the same code compiled in my linux box works beautifully (thanks!)
>
> mac box: Mac OS X Panther in a PowerBook
> linux box: RedHat 9 in an AMD 350 box
>
> Is there any bug open about this?
>
> regards,
> --j
> ___
> 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] Cannot "make install" mono-1.0.1 on OSX because of libicui18n.dylib.28

2004-08-24 Thread Boyd Timothy
I am trying to get mono-1.0.1 + gtk# installed on OSX and hitting all 
kinds of problems.

I didn't realize that I *could* have probably gotten this to work by 
just installing the mono-1.0.1 binary for OSX, but now when I try to do 
that, I hit conflicts with libraries that I haven't been able to clear 
up from my source build of mono.

In any case, I've built and installed icu-2.8 with --prefix=/sw/local.  
That put a bunch of libs in /sw/local/lib (libicui18n.dylib.28 being 
one of these).

I then ran ./configure --prefix=/sw/local for the mono-1.0.1 source.  
It configured and compiled as far as I can tell without any errors.  
But, when I try to do a "make install", I hit a strange problem that I 
cannot figure out why it can't see libicui18n.dylib.28.  Here's what 
happens:

Making install in net_1_1
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /sw/local/lib
 /usr/bin/install -c -m 644 mscorlib.dll /sw/local/lib/mscorlib.dll
MONO_PATH=. ../../mono/mini/mono --config ../../data/config 
./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /gacdir 
/sw/local/lib /root /sw/local/lib
dyld: mono can't open library: libicui18n.dylib.28 (No such file or 
directory, errno = 2)
make[3]: *** [install-data-local] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

These are my current environment variables:
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" 
[5]="powerpc-apple-darwin7.0")
BASH_VERSION='2.05b.0(1)-release'
COLUMNS=148
DIRSTACK=()
DISPLAY=:0.0
DYLD_LIBRARY_PATH=/sw/lib:/sw/local/lib
EUID=502
GDK_USE_XFT=1
GNOME_DISABLE_CRASH_DIALOG=1
GROUPS=()
HISTFILE=/Users/boyd/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/Users/boyd
HOSTNAME=btimothy.provo.novell.com
HOSTTYPE=powerpc
IFS=$' \t\n'
INFOPATH=/sw/share/info:/sw/info:/usr/share/info
LINES=71
LOGNAME=boyd
MACHTYPE=powerpc-apple-darwin7.0
MAILCHECK=60
MANPATH=/sw/share/man:/usr/share/man:/usr/X11R6/man
MONO_PATH=/sw/local/ifolder/lib
OLDPWD=/Users/boyd/projects/icu/source
OPTERR=1
OPTIND=1
OSTYPE=darwin7.0
PATH=/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/boyd:/usr/X11R6/bin:/sw/local/bin:/sw/local/bin
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
PIPESTATUS=([0]="0")
PKG_CONFIG_PATH=:/sw/local/lib/pkgconfig:/sw/local/ifolder/lib/pkgconfig:/sw/local/lib/pkgconfig:/sw/local/ifolder/lib/pkgconfig
PPID=25882
PROXYFTP=
PROXYHTTP=
PS1='\h:\w \u\$ '
PS2='> '
PS4='+ '
PWD=/Users/boyd/projects/mono-1.0.1/mono-1.0.1
SECURITYSESSIONID=20ec00
SGML_CATALOG_FILES=/sw/etc/sgml/catalog
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=2
TERM=xterm
UID=502
USER=boyd
WINDOWID=12582926
XML_CATALOG_FILES=/sw/etc/xml/catalog
_=/tmp
__CF_USER_TEXT_ENCODING=0x1F6:0:0
append_path () 
{ 
if ! eval test -z "\"\${$1##*:$2:*}\"" -o -z "\"\${$1%%*:$2}\"" -o -z 
"\"\${$1##$2:*}\"" -o -z "\"\${$1##$2}\""; then
eval "$1=\$$1:$2";
fi
}
prepend_path () 
{ 
if ! eval test -z "\"\${$1##*:$2:*}\"" -o -z "\"\${$1%%*:$2}\"" -o -z 
"\"\${$1##$2:*}\"" -o -z "\"\${$1##$2}\""; then
eval "$1=$2:\$$1";
fi
}

Additionally, here are a couple of the files in /sw/local/etc/mono/


config
Description: Binary data


machine.config
Description: Binary data


Re: [Mono-list] mod_mono package available soon

2004-08-24 Thread Jim Erwin
And the thunderous applause could be heard planet-wide!

Thanks Duncan, the mod_mono team, and the ENTIRE mono team. I just
wanted to take a moment to publicly thank you all for all of your
efforts.

regards,

Jim Erwin

On Tue, 2004-08-24 at 13:52, Duncan Mak wrote:
> Hello all,
> 
> Since everyone is bring up the fact that mod_mono is not packaged, I
> think this is the perfect time to announce that we finally got mod_mono
> packaged. Depending on time, I may release mod_mono package before the
> next release, but if not, it'll definitely be included in the next
> release.
> 
> Duncan.
> ___
> 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] SqlConnection in Mac OS X

2004-08-24 Thread Jonel Rienton
Thanks Andy, btw, the System.Data namespace works great with the beta
2 of MS SQL 2005 :-), just to let you guys know...

regards,
--j

On Tue, 24 Aug 2004 15:05:08 -0400, Andy Satori <[EMAIL PROTECTED]> wrote:
> There is, as well as a proposed patch to Mono.Tds (which underlies
> this).  There is a ByteOrder problem with the SqlConnection.
> 
> Andy
> 
> bugzilla bugid= 62948
> -
> [EMAIL PROTECTED] - druware software designs
> http://www.druware.com
> 
> 
> On Aug 24, 2004, at 2:50 PM, Jonel Rienton wrote:
> 
> > hi guys, I was doing some testing in the System.Data namespace in my
> > mac and I got stuck to something. whenever i call the Open method of a
> > SqlConnection object, the cpu goes up high and the application just
> > sits there with no messages.
> >
> > the same code compiled in my linux box works beautifully (thanks!)
> >
> > mac box: Mac OS X Panther in a PowerBook
> > linux box: RedHat 9 in an AMD 350 box
> >
> > Is there any bug open about this?
> >
> > regards,
> > --j
> > ___
> > 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 1.0.1 release releted

2004-08-24 Thread Duncan Mak
On Tue, 2004-08-24 at 14:51, Zakaria Lodi wrote:
> I have mono 1.0 running in my all Linux servers ( Redhat 9 ). Today I
> loaded 1.0.1 in one of the servers and having trouble installing
> following packages:
> 
> [EMAIL PROTECTED] ver_1.0.1]# rpm -ihv mono-web-forms-1.0.1-1.ximian.6.1.i386.rpm
> error: Failed dependencies:
> mono-remoting is needed by mono-web-forms-1.0.1-1.ximian.6.1
> [EMAIL PROTECTED] ver_1.0.1]# rpm -ihv mono-remoting-1.0.1-1.ximian.6.1.i386.rpm
> error: Failed dependencies:
> mono(System.Web) >= 1.0.5000.0 is needed by
> mono-remoting-1.0.1-1.ximian.6.1
> [EMAIL PROTECTED] ver_1.0.1]# rpm -ihv xsp-1.0.1-1.ximian.6.0.i386.rpm
> error: Failed dependencies:
> mono(System.Web) >= 1.0.5000.0 is needed by xsp-1.0.1-1.ximian.6.0
> mono(System.Web.Services) >= 1.0.5000.0 is needed by
> xsp-1.0.1-1.ximian.6.0

Installing all of them at the same time. The dependencies are cyclical.

Duncan.


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SqlConnection in Mac OS X

2004-08-24 Thread Andy Satori
There is, as well as a proposed patch to Mono.Tds (which underlies 
this).  There is a ByteOrder problem with the SqlConnection.

Andy
bugzilla bugid= 62948
-
[EMAIL PROTECTED] - druware software designs
http://www.druware.com
On Aug 24, 2004, at 2:50 PM, Jonel Rienton wrote:
hi guys, I was doing some testing in the System.Data namespace in my
mac and I got stuck to something. whenever i call the Open method of a
SqlConnection object, the cpu goes up high and the application just
sits there with no messages.
the same code compiled in my linux box works beautifully (thanks!)
mac box: Mac OS X Panther in a PowerBook
linux box: RedHat 9 in an AMD 350 box
Is there any bug open about this?
regards,
--j
___
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 package available soon

2004-08-24 Thread Duncan Mak
Hello all,

Since everyone is bring up the fact that mod_mono is not packaged, I
think this is the perfect time to announce that we finally got mod_mono
packaged. Depending on time, I may release mod_mono package before the
next release, but if not, it'll definitely be included in the next
release.

Duncan.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mono 1.0.1 release releted

2004-08-24 Thread Zakaria Lodi
I have mono 1.0 running in my all Linux servers ( Redhat 9 ). Today I
loaded 1.0.1 in one of the servers and having trouble installing
following packages:

[EMAIL PROTECTED] ver_1.0.1]# rpm -ihv mono-web-forms-1.0.1-1.ximian.6.1.i386.rpm
error: Failed dependencies:
mono-remoting is needed by mono-web-forms-1.0.1-1.ximian.6.1
[EMAIL PROTECTED] ver_1.0.1]# rpm -ihv mono-remoting-1.0.1-1.ximian.6.1.i386.rpm
error: Failed dependencies:
mono(System.Web) >= 1.0.5000.0 is needed by
mono-remoting-1.0.1-1.ximian.6.1
[EMAIL PROTECTED] ver_1.0.1]# rpm -ihv xsp-1.0.1-1.ximian.6.0.i386.rpm
error: Failed dependencies:
mono(System.Web) >= 1.0.5000.0 is needed by xsp-1.0.1-1.ximian.6.0
mono(System.Web.Services) >= 1.0.5000.0 is needed by
xsp-1.0.1-1.ximian.6.0

--x---

Any suggestion will be appreciated. How can I resolve this "System.Web" issue.

Thanks,

Zakaria
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] SqlConnection in Mac OS X

2004-08-24 Thread Jonel Rienton
hi guys, I was doing some testing in the System.Data namespace in my
mac and I got stuck to something. whenever i call the Open method of a
SqlConnection object, the cpu goes up high and the application just
sits there with no messages.

the same code compiled in my linux box works beautifully (thanks!)

mac box: Mac OS X Panther in a PowerBook
linux box: RedHat 9 in an AMD 350 box

Is there any bug open about this? 

regards,
--j
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Xsp error

2004-08-24 Thread Gonzalo Paniagua Javier
On Tue, 2004-08-24 at 11:38, Reeve, Matthew wrote:
> If this is shown to be a bug, I will happily raise a report in bugzilla, but
> I think it is more likely that I have a problem with configuration. I am
> installing mono on a SPARC running solaris 8. The version being installed is
> the full set downloaded as mono reached version 1. I have got round a number
> of problems so far, including the lack of aintl, the lack of /dev/random and
> various other niggles. I have a working "Hello World" running from the
> command line. XSP is compiled and installed, and starts up without any
> visible problems. On startup, the following is seen in the console :-
> 
> 
> bash-2.03# mono /usr/bin/xsp.exe --root
> /export/home/cdimages/mono_1/xsp-1.0/test/
> Adding applications '/:.'...
> Registering application:
> Host:  any
> Port:  any
> Virtual path:  /
> Physical path: /export/home/cdimages/mono_1/xsp-1.0/test
> Listening on port: 8080
> Listening on address: 0.0.0.0
> Root directory: /export/home/cdimages/mono_1/xsp-1.0/test
> Hit Return to stop the server.
> 
> On the first request of a web page, the following error is received at the
> browser, with no change made to the console window :-
> 
> Server error in '/' application
> 
> Description: Error processing request. 
> 
> Error Message: HTTP 500. 
> 
> Stack Trace: 
>  System.TypeInitializationException: An exception was thrown by the type
> initializer for System.Web.Caching.Cache ---> System.OverflowException:
> Resulting timespan is too big.
>  in <0x00470> System.TimeSpan:From (double,long)
>  in <0x00038> System.TimeSpan:FromDays (double)
>  in <0x0009c> System.Web.Caching.Cache:.cctor ()
>  --- End of inner exception stack trace ---
> 
>  in (unmanaged) System.Web.Caching.Cache:.ctor ()
>  in <0x00034> System.Web.HttpRuntime:Init ()

That looks like a bug in the runtime on Solaris. It looks the same as
other problem that happened under MacOS.

-Gonzalo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] File(s) not found?

2004-08-24 Thread Gonzalo Paniagua Javier
On Tue, 2004-08-24 at 11:03, David P. Donahue wrote:
> I have Apache 1.3.31 running the latest mono module and I'm finding some
> strange behavior.  When the module is not loaded. Apache behaves as
> expected.  However, when I restart httpd with the following in
> httpd.conf:
> 
> #
> LoadModule mono_module libexec/apache/libmod_mono.so 
> AddModule mod_mono.c
> MonoApplications "/:/home/www/.www"
> MonoApplications "/test/eastgate:/home/www/.www/test/eastgate"
> 
> SetHandler mono
> 
> DirectoryIndex index.aspx default.aspx index.html default.html
> index.htm default.htm
> 
> 
> #
> 
> then the server gives me a 404 error for every document I attept to
> load.  I can get directory listings showing me the files, but any file
> requested by the browser (tested so far with .html, .aspx, .jpg, .txt)
> results in a 404 error.  Am I missing something?  Has anyone seen this
> before?  I'd really appreciate any help I can get, thank you.

Check the permissions of the files.

-Gonzalo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How hard is it to install Mono?

2004-08-24 Thread Duncan Mak
Hey,

Thanks for the all the replies! Unless there's some particular reason,
please reply to the list as well. I'd like to keep all the feedback in a
public archive.

Duncan.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: [Mono-devel-list] How hard is it to install Mono?

2004-08-24 Thread Tizio Incognito
Duncan Mak said the following on 24/08/2004 19.58:
Hello all,
 

Hello Duncan,
Is Mono too difficult to install for people new to Linux? For people
with Linux experience?
 

I'm new to Linux and, yes, it is hard. It was hard installing a clean 
SuSE box, it's still hard work with the new environment (I come, 
obviously, from Win) for a thousand reasons and, finally, it is hard to 
install and configure Mono. I feel myself a skilled user, as a 
programmer but under Linux I find myseld kinda lost :!

I believe the hardest thing about Mono is correctly configure mod_mono, 
apache & co.

As you said, many developers are trying to move to Mono and so, to 
Linux. Probably good tutes about the prerequisites would help (eg: I 
didn't know nothing about "make + make install" before swimming around 
the Net, and that's like breath for a normal Linux user).. don't know, 
something like driving directions for the first weeks :) .. or just "for 
Windows users FAQ", where a Win user can find how to work with basic 
settings (also an environment variable could cost us half a day trying 
to understand).

I don't know the technical reasons, but probably if Red Carpet installs 
also mod_mono that could help a lot.

--
TI
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How hard is it to install Mono?

2004-08-24 Thread Joshua Tauberer
The existing packaging system with dozens of RPMs may be complicated but not
difficult. I like it a lot.

> How do you install Mono right now? What do you do to upgrade?

Yum

> Is Mono too difficult to install for people new to Linux? For people
> with Linux experience?

Not if they use yum.

> Do you think switching back to a two package setup is a good idea?

No.  Maybe you can provide a second set of RPMs (not "meta" RPMs) that have
everything.




___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How hard is it to install Mono?

2004-08-24 Thread Weiqi Gao
Duncan Mak wrote:
How do you install Mono right now? What do you do to upgrade?
 

I use the yum repositories for Fedora Core 1 and Fedora Core 2.
Is Mono too difficult to install for people new to Linux? For people
with Linux experience?
 

When everything works, the yum repositories approach is very easy.  (How 
hard could it be to type "yum install mono"?)  My problems with the 
install are all related to broken/unsatisfied/missing dependencies.

Do you think switching back to a two package setup is a good idea?
 

If it cuts down on the dependency related issues, sure!  But I still 
prefer the yum repositories mainly because I install my other software 
using it.  Since I install everything anyway, it really doesn't make any 
difference to me if two packages or thirty packages are installed.  
Though I have to admit that it is way cooler to watch thirty packages 
scroll by in yum.

--
Weiqi Gao
[EMAIL PROTECTED]
http://www.weiqigao.com/blog
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] How hard is it to install Mono?

2004-08-24 Thread Duncan Mak
Hello all,

We are in the process of re-evaluating the way we package Mono, in doing
so, I'd like to get some feedback from you all.

When we entered the 1.0 beta cycle, we split the previous setup of two
packages (mono, mono-devel) into smaller packages, believing that it
will provide greater flexibility for users, who may wish to selectively
install only certain parts of the whole release.

We received a lot of feedback from this change: some said that it was a
bad decision, as it made the installation process more complicated;
others said it worked great for them for it fit their use case more
closely.

During the 1.0 beta cycle, the package dependency listing was hand
written and buggy. That was the source of a lot of broken, incomplete
installations reported [1]; later in the beta cycle, we switched to
using a script that calculates dependencies based on assembly
references. With that, our current set of packages is a lot less buggy
now [2].

To further facilitate end-users, two meta packages were created:
'mono-complete' and 'mono-complete-devel'. Installing these packages
requires installing every package we ship. Effectively, this mimics the
old 'mono' and 'mono-devel' package.

We made available 'mono-all' zip files on the download page, containing
all the packages we ship for that particular release.

On top of downloading packages from the download page, there are two
additional ways of installing Mono: either through the 'mono' channel on
Red Carpet, or with our YUM repository for Fedora users. Both mechanisms
will resolve dependencies problems for you.

Some questions:

How do you install Mono right now? What do you do to upgrade?

Is Mono too difficult to install for people new to Linux? For people
with Linux experience?

Do you think switching back to a two package setup is a good idea?


A lot of Mono users are new to Linux, and it is evident that the
installation procedure for Windows (Paco's excellent installer) and Mac
OS X (the dmg image from Adam) is far simpler than the various
mechanisms available on Linux. We like to make the installation
experience on Linux as simple as the others as well.

Thanks so much!

Duncan.

[1] e.g. mono-web-services requires mono-web-forms, but the dependency
was not encoded in the RPM.

[2] Frequently the mono-preview package gets installed in place of other
packages, resulting in broken installations. This has been fixed in CVS
and will be rolled out in the next release.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: SPAM: RE: [Mono-list] Mod_Mono Help

2004-08-24 Thread Antonio Santana
What I meant is maybe Robert can paste the lines that he added to his 
httpd.conf file from his mono-server-hosts.conf file into this list so we 
can see what he has.  Then we can compare what we have with what he has and 
see if it works for us.

Thanks!
Antonio

From: "Brown, Robert" <[EMAIL PROTECTED]>
To: André Ricardo <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: SPAM: RE: [Mono-list] Mod_Mono Help
Date: Fri, 20 Aug 2004 13:46:47 -0400
To get it to work I had to copy the contents of the 
/etc/mono-server/mono-server-hosts.conf file into my /etc/apache/httpd.conf 
file.  I was told that you shouldn't have to do this, since it should 
automatically be included.  This has worked for me so far...

-=Robert
-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of André Ricardo
Sent: Friday, August 20, 2004 9:39 AM
To: [EMAIL PROTECTED]
Subject: SPAM: RE: [Mono-list] Mod_Mono Help


>From: "Antonio Santana" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [Mono-list] Mod_Mono Help
>Date: Fri, 20 Aug 2004 08:06:36 -0500
>
>I have success with installing mod_mono and I have it tied into Apache.
>I have an Alias /demo pointing to the xsp/test folder that came with
>mono.  I go to my browser and try accessing my alias by doing the 
following:
>http://127.0.0.1/demo/index.aspx The index.aspx page is returned, but
>is displayed in code form and not Rendered HTML.  I'm sure I am missing
>some sort of setting in the httpd.conf.  I hope someone can help.
>
>Thanks!
>
>Antonio
>

Hello everybody,
I also have this same problem. someone can help us?
Many Thanks
André Ricardo
_
MSN Messenger: converse com os seus amigos online.
http://messenger.msn.com.br
___
Mono-list maillist  -  [EMAIL PROTECTED] 
http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Xsp error

2004-08-24 Thread Reeve, Matthew

If this is shown to be a bug, I will happily raise a report in bugzilla, but
I think it is more likely that I have a problem with configuration. I am
installing mono on a SPARC running solaris 8. The version being installed is
the full set downloaded as mono reached version 1. I have got round a number
of problems so far, including the lack of aintl, the lack of /dev/random and
various other niggles. I have a working "Hello World" running from the
command line. XSP is compiled and installed, and starts up without any
visible problems. On startup, the following is seen in the console :-


bash-2.03# mono /usr/bin/xsp.exe --root
/export/home/cdimages/mono_1/xsp-1.0/test/
Adding applications '/:.'...
Registering application:
Host:  any
Port:  any
Virtual path:  /
Physical path: /export/home/cdimages/mono_1/xsp-1.0/test
Listening on port: 8080
Listening on address: 0.0.0.0
Root directory: /export/home/cdimages/mono_1/xsp-1.0/test
Hit Return to stop the server.

On the first request of a web page, the following error is received at the
browser, with no change made to the console window :-

Server error in '/' application

Description: Error processing request. 

Error Message: HTTP 500. 

Stack Trace: 
 System.TypeInitializationException: An exception was thrown by the type
initializer for System.Web.Caching.Cache ---> System.OverflowException:
Resulting timespan is too big.
 in <0x00470> System.TimeSpan:From (double,long)
 in <0x00038> System.TimeSpan:FromDays (double)
 in <0x0009c> System.Web.Caching.Cache:.cctor ()
 --- End of inner exception stack trace ---

 in (unmanaged) System.Web.Caching.Cache:.ctor ()
 in <0x00034> System.Web.HttpRuntime:Init ()


If the webpage is requested a second time, the browser sees :-

Server error

Your client sent a request that was not understood by this server. 

And the console sees :-

System.NullReferenceException: Object reference not set to an instance of an
object

Server stack trace: 
in <0x00094> System.Web.HttpRuntime:ProcessRequest
(System.Web.HttpWorkerRequest)
in <0x8> Mono.ASPNET.MonoWorkerRequest:ProcessRequest ()
in <0x00074> Mono.ASPNET.BaseApplicationHost:ProcessRequest
(Mono.ASPNET.MonoWorkerRequest)
in <0x00094> (wrapper remoting-invoke-with-check)
Mono.ASPNET.BaseApplicationHost:ProcessRequest
(Mono.ASPNET.MonoWorkerRequest)
in <0x002a4> Mono.ASPNET.XSPApplicationHost:ProcessRequest
(int,string,int,string,int,string,string,string,string,string,byte[],string)
in (unmanaged) (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:InternalExecute
(System.Reflection.MonoMethod,object,object[],object[]&)
in <0x4> (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:InternalExecute
(System.Reflection.MonoMethod,object,object[],object[]&)
in <0x001f8> System.Runtime.Remoting.RemotingServices:InternalExecuteMessage
(System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMess
age)


Exception rethrown at [0]: 

in <0x00a2c> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging
.IMessage,System.Exception&,object[]&)


The code of the page being requested in this example is pure html, no asp,
although the same error is received for more complex pages :-


Some words here to show that xsp is able to interpret a static html page




If anyone is able to help out, I would be extremely grateful. I have
searched google and the archives, but to no avail as yet. If there is any
other information I can provide, please ask.

Matthew Reeve

AMS
Unit D1
Marabout Industrial estate
Dorchester
Dorset DT1 1YA
UK

Tel:  +44 1305 217645
Fax: +44 1305 251515

e-mail: [EMAIL PROTECTED] 


This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] File(s) not found?

2004-08-24 Thread David P. Donahue
I have Apache 1.3.31 running the latest mono module and I'm finding some
strange behavior.  When the module is not loaded. Apache behaves as
expected.  However, when I restart httpd with the following in
httpd.conf:

#
LoadModule mono_module libexec/apache/libmod_mono.so 
AddModule mod_mono.c
MonoApplications "/:/home/www/.www"
MonoApplications "/test/eastgate:/home/www/.www/test/eastgate"

SetHandler mono

DirectoryIndex index.aspx default.aspx index.html default.html
index.htm default.htm


#

then the server gives me a 404 error for every document I attept to
load.  I can get directory listings showing me the files, but any file
requested by the browser (tested so far with .html, .aspx, .jpg, .txt)
results in a 404 error.  Am I missing something?  Has anyone seen this
before?  I'd really appreciate any help I can get, thank you.


David P. Donahue
[EMAIL PROTECTED]

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: SPAM: RE: [Mono-list] Mod_Mono Help

2004-08-24 Thread Antonio Santana
I can't seem to find this file anywhere.  Can you paste the lines that this 
file should include in the .conf?

Antonio

From: "Brown, Robert" <[EMAIL PROTECTED]>
To: André Ricardo <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: SPAM: RE: [Mono-list] Mod_Mono Help
Date: Fri, 20 Aug 2004 13:46:47 -0400
To get it to work I had to copy the contents of the 
/etc/mono-server/mono-server-hosts.conf file into my /etc/apache/httpd.conf 
file.  I was told that you shouldn't have to do this, since it should 
automatically be included.  This has worked for me so far...

-=Robert
-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of André Ricardo
Sent: Friday, August 20, 2004 9:39 AM
To: [EMAIL PROTECTED]
Subject: SPAM: RE: [Mono-list] Mod_Mono Help


>From: "Antonio Santana" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [Mono-list] Mod_Mono Help
>Date: Fri, 20 Aug 2004 08:06:36 -0500
>
>I have success with installing mod_mono and I have it tied into Apache.
>I have an Alias /demo pointing to the xsp/test folder that came with
>mono.  I go to my browser and try accessing my alias by doing the 
following:
>http://127.0.0.1/demo/index.aspx The index.aspx page is returned, but
>is displayed in code form and not Rendered HTML.  I'm sure I am missing
>some sort of setting in the httpd.conf.  I hope someone can help.
>
>Thanks!
>
>Antonio
>

Hello everybody,
I also have this same problem. someone can help us?
Many Thanks
André Ricardo
_
MSN Messenger: converse com os seus amigos online.
http://messenger.msn.com.br
___
Mono-list maillist  -  [EMAIL PROTECTED] 
http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mirrors...

2004-08-24 Thread Stephan Eberle
Btw...
I could provide a FTP mirror for (at least the official) mono files in 
germany.
At no cost. :)

Oh wait... What's the expected transfer volume? *g* I have a 100GB/month 
and one 500GB/month server available.

Regards,
Stevie
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] go-mono.org/com down again?

2004-08-24 Thread Stephan Eberle
Hi.
Again, it's not possible to reach the FC2 repository on go-mono.com !
Does anybody of you have the same problem?
Regards,
Stevie
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Beginner C# Book

2004-08-24 Thread Kenneth Benson
Title: RE: [Mono-list] Beginner C# Book





You should also take a look at www.deitel.com, they have a lot of good books.
Not just on C#, but also on Perl, Python, C++, Visual Basic... even good old C.


> -Original Message-
> From: Tom McLaughlin [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 22, 2004 6:39 PM
> To: [EMAIL PROTECTED]
> Subject: [Mono-list] Beginner C# Book
> 
> 
> Hi all,
> 
> I'm looking for a good beginner C# book.  Preferably one that does not
> assume a certain amount of familiarity with C++, Java, or OOP in
> general.  I picked up "Mono: A Developers Notebook" from O'Reilly
> figuring that some of the C++ I saw in school would come back to me.
> What I saw in school was nearly five years ago and it's definitely not
> coming back.
> 
> I really need a book that will not only go over the syntax 
> and structure
> of the language but the underlying fundamentals of the 
> language.  (Like
> not just how to create a vector but what each part of the declaration
> means and how it all works.)  Right now I maintain the 
> FreeBSD port for
> Muine and I am looking at creating ports of other 
> applications.  I would
> like to have enough familiarity with the language to fix bugs,
> especially FreeBSD specific bugs in programs.
> 
> If someone could recommend a book they found to give a good
> comprehensive understanding of the language to a beginner 
> that would be
> great.  Thanks.
> 
> Tom
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
> 





Re: [Mono-list] Problem with a web serivce method.

2004-08-24 Thread Jonathan Stowe
On Tue, 2004-08-24 at 08:28, [EMAIL PROTECTED] wrote:
> Sorry...
> 
> This is a c# example: TdMio.cs.
> It works well:
> 
> [EMAIL PROTECTED] Desktop]# mcs ProvaTD.cs -r:System.Data.dll
> Compilation succeeded
> [EMAIL PROTECTED] Desktop]# mono ProvaTD.exe
> esiste una sessione attiva
> CodiceSessione  Problema Stato  NomeUtente
> 12 1 Attiva  Null  U1
> 

The fact that it works from the command line and not as a webservice
would indicate that you probably have ODBC setup as user DSN rather than
a system one - you need to create the DSN in the /etc/odbc.ini (or
wherever that is on your system) rather than in ~/.odbc.ini .  If you
have already done this then it could be that the user your apache runs
as cannot read the /etc/odbc.ini

/J\
> 
> 
> 
> 
> >Scrive Jonathan Stowe <[EMAIL PROTECTED]>:
> 
> > On Mon, 2004-08-23 at 15:08, [EMAIL PROTECTED] wrote:
> > > Isql is an utility of unixODBC
> > > 
> > 
> > Er yes, but I meant a c# example that run at the console and not a
> > webservice.
> > 
> > It will probably be enough to do just:
> > 
> > using System;
> > using System.Data;
> > 
> > class Foo
> > {
> > public static void Main()
> > {
> > OdbcConnection conn = new 
> >
> OdbcConnection("DRIVER=MySQL;SERVER=localhost;DATABASE=tdmio;UID=root;PASSWORD=rootpwd;");
> > 
> > conn.Open();
> >  }
> > }
> > 
> > 
> > 
> 
> 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with asp.net OdbcDataAdapter or DataSet.

2004-08-24 Thread Sanjay Gupta
Hi There,
Can you send the schema of the data table for which you are not
getting
proper information returned.

Thanx,
Sanjay

>>> <[EMAIL PROTECTED]> 8/24/2004 2:31:51 PM >>>
Hi,

I've an asp.net web application that shows, through an odbc connection
to a
mysql database, the content of the table chosen from a DropDownList.
The code go well on windows but on linux with mono 1.01 not all the
tables are
shown correctly.

I've also tried to run a c# example that makes the same thing and it
works
wellso I think that is not a problem of mysql or odbc connection,
but
rather it may be a problem of odbcDataAdapter or Data set

Is it true?
Could anybody help me?

asp.net web application: WebForm1VisuaTabelle.aspx,
WebForm1VisuaTabelle.aspx.cs
c# example: ProvaVisuaTabella.cs

Thanks a lot,

Valentina.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Problem with asp.net OdbcDataAdapter or DataSet.

2004-08-24 Thread beniniva
Hi,

I've an asp.net web application that shows, through an odbc connection to a
mysql database, the content of the table chosen from a DropDownList.
The code go well on windows but on linux with mono 1.01 not all the tables are
shown correctly.

I've also tried to run a c# example that makes the same thing and it works
wellso I think that is not a problem of mysql or odbc connection, but
rather it may be a problem of odbcDataAdapter or Data set

Is it true?
Could anybody help me?

asp.net web application: WebForm1VisuaTabelle.aspx,
WebForm1VisuaTabelle.aspx.cs
c# example: ProvaVisuaTabella.cs

Thanks a lot,

Valentina.


WebForm1VisuaTabelle.aspx
Description: Binary data
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.Odbc;

namespace VisuaTabelle
{
	/// 
	/// Summary description for WebForm1.
	/// 
	public class WebForm1 : System.Web.UI.Page
	{
		private void Page_Load(object sender, System.EventArgs e)
		{
			// Put user code to initialize the page here
			Tabella = DropDownList1.SelectedItem.Text;
		}

		protected System.Web.UI.WebControls.Button ButtonRicerca;
		protected System.Web.UI.WebControls.DataGrid DataGrid1;
		protected System.Web.UI.WebControls.Label Label1;
		protected System.Web.UI.WebControls.Label Label2;
		protected System.Web.UI.WebControls.DropDownList DropDownList1;
		protected System.Web.UI.WebControls.Button Button1;

		string Tabella = null;
		#region Web Form Designer generated code
		override protected void OnInit(EventArgs e)
		{
			//
			// CODEGEN: This call is required by the ASP.NET Web Form Designer.
			//
			InitializeComponent();
			base.OnInit(e);
		}
		
		/// 
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// 
		private void InitializeComponent()
		{
			this.ButtonRicerca.Click += new System.EventHandler(this.ButtonRicerca_Click);
			this.Load += new System.EventHandler(this.Page_Load);

		}
		#endregion

		private void ButtonRicerca_Click(object sender, System.EventArgs e)
		{
			Label2.Text = "Tabella "+ Tabella;
			//OdbcConnection conn = new OdbcConnection("DRIVER={MySQL ODBC 3.51 Driver};"+"SERVER=localhost;"+"DATABASE=tdmio;"+"UID=root;"+"PASSWORD=rootpwd;");
			OdbcConnection conn = new OdbcConnection ("DRIVER=MySQL;SERVER=localhost;DATABASE=tdmio;UID=root;PASSWORD=rootpwd;");
			OdbcDataAdapter daTabella = new OdbcDataAdapter("select * from " +Tabella + "", conn);
			DataSet Ds = new DataSet();
			conn.Open();
			daTabella.Fill(Ds, Tabella);
			conn.Close();
			DataGrid1.DataSource= Ds;
			DataGrid1.DataBind();
		}
	}
}
using System;
using System.Data.Odbc;

namespace ProvaVisuaTabelle
{
	/// 
	/// Summary description for Class1.
	/// 
	class Class1
	{
		/// 
		/// The main entry point for the application.
		/// 
		[STAThread]
		static void Main(string[] args)
		{
			Console.WriteLine("Inserisci il nome della tabella: ");
			string nome = Console.ReadLine();
			//OdbcConnection conn = new OdbcConnection("DRIVER={MySQL ODBC 3.51 Driver};"+"SERVER=localhost;"+"DATABASE=tdmio;"+"UID=root;"+"PASSWORD=rootpwd;");
			OdbcConnection conn = new OdbcConnection ("DRIVER=MySQL;SERVER=localhost;DATABASE=tdmio;UID=root;PASSWORD=rootpwd");
			conn.Open();
			OdbcCommand com = new OdbcCommand();
			com = conn.CreateCommand();
			com.CommandText="Select * from " +nome+ "";
			OdbcDataReader dbReader =null;
			dbReader = com.ExecuteReader();
			Console.WriteLine();
			for (int i=0; i

[Mono-list] wsdl file containg a schemalocation

2004-08-24 Thread Biju Arjunan
Hi,

Does anybody know how to compile a wsdl file which
is having a schema location reference.

eg : 



http://schemas.xmlsoap.org/rp/"; 
schemaLocation="http://abc.com/ws-r.xsd"/>
http://abc.com/xns/Core.xsd"/>



Thanks,
Biju A
-- 
___
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: Problem using p/invoke on mono 1.0.1

2004-08-24 Thread DI Mag. Rainer Burgstaller

> The work-around for this is to have your method return an 
> IntPtr and then 
> convert the IntPtr to a string manually. For example, use the 
> following in 
> the place of your WriteLine() statement:
> 
>   string encrypted = Marshal.PtrToStringAnsi(UnixCrypt(arg,arg));
>   Console.WriteLine("UnixEncrypting {0} : {1}",arg,encrypted);

Thanks a lot!!! That worked.


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] threads and Async Socket methods

2004-08-24 Thread Scott Manley
So has there been any progress on this issue? I'm running mono on Fedora 
core (2.6.x kernel) and I find that after 25 or more connections that my 
BeginRecieve calls occupy all the threads in the pool and the server 
grinds to a halt (although, I've found out that sending random ping 
messages does help to lubricate the recievers.).

It works fine on .Net of course, 200+ connections and no blocking, but 
on mono we're outta luck.

I'll probably just write an alternative code path for mono - at least 
for the moment.

Scott Manley

El vie, 07-05-2004 a las 20:59, P Oscar Boykin escribió:
/ Thanks for pointing out this article.
/>/ 
/>/ This appears to be my problem:
/>/ 
/>/ When I have enough sockets waiting on a BeginReceive, I cannot do
/>/ any other Async method.  I guess the worker queue gets filled with the
/>/ BeginReceive calls, and then BeginSend calls cannot get through.
/>/ 
/>/ For our work, the limit of 25 ThreadPool threads waiting on tcp sockets
/>/ is just not going to work.
/>/ 
/>/ It seems like there are two options here:
/>/ 
/>/ 1) Avoid Async socket operations for systems that need to scale to large
/>/ numbers.  Prefer Select I guess.
/>/ 
/>/ 2) Reimplement the Async sockets to make sure they always use native
/>/ operating system asynchronous facilities.
/>/ 
/>/ I think you already said that in the 2.6 kernel, the Async Sockets use
/>/ the posix aio interface.
/>/ 
/>/ It seems like in linux 2.4 there is a means to get the kernel to send
/>/ signals a socket is ready for IO:
/>/ 
/>/ http://www.kegel.com/c10k.html#nb.sigio
/>/ 
/>/ What would be the issues with doing a 2.4 implementation using the
/>/ signals mechanism?
/
The native AIO interface support, apart from having some weird bugs and
being disabled now, cannot be used always. Why? aio_read/write do not
support passing extra sockets options.

I tested it under 2.4 and 2.6 kernel and it works (apart from the weird
bugs) fine.
I will reenable it once the bug is fixed.
Anyway, I suggest to use Select when you have such a big number of
sockets doing asynchronous operations.
-Gonzalo
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list