Re: [Mono-dev] Garbage Collection Issue?

2010-05-14 Thread Maciej Paszta
On Thu, May 13, 2010 at 7:07 PM, Matt Dargavel m...@shout-telecoms.comwrote:

  Hi there,



 We have an application written in Mono that appears to be
 leaking memory.  I’ve tried using the profiler and mprof-heap-viewer to
 identify any objects that are being left around, but I couldn’t see anything
 significant.  The application doesn’t seem to leak on .NET, so I was
 starting to wonder about the Boehm GC.  Will using the heap snapshots show
 any objects that are no longer being referenced, but have not been Garbage
 Collected?  Also, is there a way to enable the heap profiler but only for
 heap snapshots using the telnet interface- i.e. without the allocations info
 as these generate huge amounts of data in a soak test.  Finally, does anyone
 have any other suggestions on where else I should look / other diagnostics
 to try?



I have experienced similar behavior. When app was running under .NET the
memory was freed, but switching  to Mono caused memory to climb up. I did
some investigation but I couldn't find anything wrong with the code - I had
tried all profilers available for mono. The I gave my app a little time and
memory was eventually freed but after a longer period of time - maybe it's
the same situation?


-- 
Maciej Paszta
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Garbage Collection Issue?

2010-05-14 Thread Stifu

This happened to me too, but I found the cause. It was a disposable object
that I replaced with another one without disposing of it first.

In my case, I found out doing the following gave the best results as far as
memory is concerned:

myobj.Dispose();
myobj = null;
myobj = newobj;

Without setting the object to null, memory is fred later.
After that, Mono and .NET both used as much memory.

Personally, every time I've had memory leaks, it was due to objects that
implement IDisposable that weren't disposed. So far, I didn't really need to
use a profiler, as I could find out exactly when memory wasn't released by
simply using my application and watching memory usage.


Maciej Paszta wrote:
 
 On Thu, May 13, 2010 at 7:07 PM, Matt Dargavel
 m...@shout-telecoms.comwrote:
 
  Hi there,



 We have an application written in Mono that appears to be
 leaking memory.  I’ve tried using the profiler and mprof-heap-viewer to
 identify any objects that are being left around, but I couldn’t see
 anything
 significant.  The application doesn’t seem to leak on .NET, so I was
 starting to wonder about the Boehm GC.  Will using the heap snapshots
 show
 any objects that are no longer being referenced, but have not been
 Garbage
 Collected?  Also, is there a way to enable the heap profiler but only for
 heap snapshots using the telnet interface- i.e. without the allocations
 info
 as these generate huge amounts of data in a soak test.  Finally, does
 anyone
 have any other suggestions on where else I should look / other
 diagnostics
 to try?



 I have experienced similar behavior. When app was running under .NET the
 memory was freed, but switching  to Mono caused memory to climb up. I did
 some investigation but I couldn't find anything wrong with the code - I
 had
 tried all profilers available for mono. The I gave my app a little time
 and
 memory was eventually freed but after a longer period of time - maybe it's
 the same situation?
 
 
 -- 
 Maciej Paszta
 
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list
 
 

-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Garbage-Collection-Issue-tp2197862p2216258.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono crashes Firefox when clicking on view video link

2010-05-14 Thread tpkyteroo luebeck
Helo, Can't make a bug report because its over my head. Sorry! But, when I
try to watch video here,
http://www.countrychannel.tv/player.php?channel=countrylivingprogram=254874
I click on a link and THEN firefox crashes completely, and shuts down. I did
disable almost all of my add-ons to be sure that wasn't the issue, as I do
have 1 beta add-on. I need my Sister available to help me with the bug test
stuff, so skipping it. She won't be available until Sunday. I hope this
works and someone can get the same bug so you know whats going on.


Using Ubuntu 10.04
Firefox 3.5
Installed from the web, and install the codecs that way too. (meaning, no
operator install errors possible)
Don't know what else to tell you.
Thanks!

-- 
TPKyteroo jaunting off to the Galactic Trig...

225 x 225 Sudoku Game (PDF. Online version missing JS file yet.)
http://www.globalwritersclub.com/gaming/2/puzzlers/sudoku/uber/225x225.html

http://www.globalwritersclub.com (under construction, but some things up.)
http://www.tpgames.net
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono crashes Firefox when clicking on view video link

2010-05-14 Thread tpkyteroo luebeck
On 14 May 2010 04:36, tpkyteroo luebeck tp.gam...@gmail.com wrote:

 Helo, Can't make a bug report because its over my head. Sorry! But, when I
 try to watch video here,

 http://www.countrychannel.tv/player.php?channel=countrylivingprogram=254874
 I click on a link and THEN firefox crashes completely, and shuts down.


Sorry! I finally found the Moonlight list, so am sending this there instead,
as it was moonlight that I had installed, with MS codes.

-- 
TPKyteroo jaunting off to the Galactic Trig...
(deleted most of signature)
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] [PATCHES] Bug 480178 - System.Globalization.CharUnicodeInfo.GetUnicodeCategory() does not handle surrogate characters appropriately.

2010-05-14 Thread Damien Diederen

Hi,

I just uploaded an updated series of patches addressing bug 480178:

  https://bugzilla.novell.com/show_bug.cgi?id=480178#c27

This is ready to be committed as far as I am concerned, but comments are
of course welcome.  Note that I do *not* have commit privileges, so
somebody else will have to take care of it even in case of green light.

From the “cover letter”:

 Should apply cleanly on top of mono/mcs r157360.
 
 This version uses the same technique as v2, as suggested by Paolo
 (cf. comment #18), but supports two sets of tables: one compatible
 with v2.0.50727...v3.5.21022 of Microsoft's framework, and one
 matching v4.0.30319 (which incorporates substantial changes).  The
 appropriate set is automatically chosen based on the 'corlib' profile.
 
 The mechanism can be extended to an arbitrary number of versions, and
 has also been tested with v1.1.4322, but these additional tables have
 been left out not to bloat the Mono binaries as recent 'mcs' link to
 the 'net_2_0' profile anyway.
 
 Please cf. the individual ChangeLog entries for more details about the
 compatibility and performance implications.  The first patch is for
 'mono'; the six others for 'mcs'.

Cheers,
Damien

-- 
http://crosstwine.com
tel:  +49 21 89 29 39
cell: +49 174 34 89 428

“Strong Opinions, Weakly Held”
 — Bob Johansen
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono on MIPS32

2010-05-14 Thread Lorenz Cuno Klopfenstein
Hello all,
I am currently trying to get Mono to run on a little endian MIPS32
based board, but without much success.
In fact, compiling Mono - using the same toolchain that worked for
other apps - produces a whopping 8.5 megabytes mono executable.
Attempting to run it (even launching mono --version or anything)
returns a segmentation fault.
It appears that the compilation produces a flawed executable, even if
it succeeds.

Does anybody have some suggestions on building Mono on a MIPS board?
Thank you in advance for any help.

-- 
Lorenz Cuno Klopfenstein
l...@klopfenstein.net
http://lorenz.klopfenstein.net
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Array.Copy and float[,]

2010-05-14 Thread Casey Marshall
So, on Mono 2.6.3 it looks like System.Array.Copy does not go the fast route 
if the arrays are of type float[,], that is, it copies the arrays 
value-by-value, which is very slow. Using a fast version (e.g., memcpy, or 
whatever is under the hood) for multi-dimensional arrays looks like low-hanging 
fruit to me, so I'm curious why it isn't supported?
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Array.Copy and float[,]

2010-05-14 Thread Rodrigo Kumpera
Laziness and nobody to care about about it ;)


On Fri, May 14, 2010 at 7:45 PM, Casey Marshall
casey.s.marsh...@gmail.comwrote:

 So, on Mono 2.6.3 it looks like System.Array.Copy does not go the fast
 route if the arrays are of type float[,], that is, it copies the arrays
 value-by-value, which is very slow. Using a fast version (e.g., memcpy, or
 whatever is under the hood) for multi-dimensional arrays looks like
 low-hanging fruit to me, so I'm curious why it isn't supported?
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono on MIPS32

2010-05-14 Thread Zoltan Varga
Hi,

  I think the mips port is either not finished, or regressed.

   Zoltan

On Sat, May 15, 2010 at 12:37 AM, Lorenz Cuno Klopfenstein 
l...@klopfenstein.net wrote:

 Hello all,
 I am currently trying to get Mono to run on a little endian MIPS32
 based board, but without much success.
 In fact, compiling Mono - using the same toolchain that worked for
 other apps - produces a whopping 8.5 megabytes mono executable.
 Attempting to run it (even launching mono --version or anything)
 returns a segmentation fault.
 It appears that the compilation produces a flawed executable, even if
 it succeeds.

 Does anybody have some suggestions on building Mono on a MIPS board?
 Thank you in advance for any help.

 --
 Lorenz Cuno Klopfenstein
 l...@klopfenstein.net
 http://lorenz.klopfenstein.net
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread Steve Ricketts

I need to use VLC in a Mono application.  I've been to the VLC forums and
can't find how to actually do it in Mono.  There seem to be a number of
competing approaches (videolan.interop, libvlcnet, c# wrapper) but most of
these projects seem to be abandoned.  I would like to ask if anyone has used
VLC in a Mono application and if so, how was it done... sample code would be
even better!  ;-)

Any advice or direction would be greatly appreciated.

sr
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2216492.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread thenextman

Does it have to be VLC? We are working on a cross platform media player in
Mono; and decided to go with MPlayer. It is easily embeddable in
Mono/WinForms...
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2216539.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread Steve Ricketts

If MPlayer can play files (.wmv/.flv) and streams that would be fine!  Have
any examples?  I know nothing about MPlayer.

Thanks!

sr
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2216582.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread thenextman

Yes, it can do both.

You need to use the Process object in System.Diagnostics to kick off an
instance of MPlayer. Launch it with the -slave argument, and pass in the
handle to your window/control that you want MPlayer to draw in with the -wid
argument.

You will need to redirect the stdin/out/err to control MPlayer and get
feedback from it.

The docs on slave mode are here:
http://www.mplayerhq.hu/DOCS/tech/slave.txt. There are lots of useful
arguments, like -idle which will prevent MPlayer from exiting if it doesn't
have anything to play.

There is a decent tutorial here:
http://beradrian.wordpress.com/2008/01/30/jmplayer. It's in Java but it was
enough to get me going...
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2216598.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread Christopher David Howie
On 05/14/2010 08:20 AM, Steve Ricketts wrote:
 I need to use VLC in a Mono application.  I've been to the VLC forums and
 can't find how to actually do it in Mono.  There seem to be a number of
 competing approaches (videolan.interop, libvlcnet, c# wrapper) but most of
 these projects seem to be abandoned.  I would like to ask if anyone has used
 VLC in a Mono application and if so, how was it done... sample code would be
 even better!  ;-)
 
 Any advice or direction would be greatly appreciated.

If the target platform is Linux then you should consider using GStreamer
instead.  It is pretty much the de-facto standard media library for
Linux these days and is incredibly powerful, beyond just playing media
(though it can do that as well).

Unfortunately, there are no usable managed bindings to it yet.  You can
write a C glue library to do what you need though.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

PGP key:

pub   2048R/CF8338F5 2010-04-14
  Fingerprint: 2B7A B280 8B12 21CC 260A  DF65 6FCE 505A CF83 38F5
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread Steve Ricketts

Downloaded mplayer and the w32codecs.  Ran mplayer from terminal in slave
mode... think that makes good sense.  Looked at the Java program and got
lost...  I understand what you intend using the process object for mplayer
so you can pass and receive commands to/from it, but the bit about how to
redirect standard input and output looses me.  I hate to be a pest but do
you have any C# code that shows how to do that?  Many thanks!

sr
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2216644.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread Steve Ricketts

Interesting thought.  Actually, I hired a programmer to develop an audio
library that uses GStreamer for some special audio format conversions.  I'll
ask him what it would take to build the video capabilities as well.  I'm
going to need to be able to play, pause, position, mute audio, change video
size (full screen or pseudo full screen), and get state change events.  Is
that all possible with GStreamer?   I was thinking VLC (or now MPlayer)
would have those capabilities already built in, but I had no idea it would
be this hard to incorporate them into C#/Mono.
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2216661.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread Daniel Morgan
Personally, I think the banshee project should release their C# bindings to 
gstreamer and other media systems so others could use it in their projects.

--- On Fri, 5/14/10, Steve Ricketts veloce...@hotmail.com wrote:

 From: Steve Ricketts veloce...@hotmail.com
 Subject: Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?
 To: mono-list@lists.ximian.com
 Date: Friday, May 14, 2010, 10:27 AM
 
 Interesting thought.  Actually, I hired a programmer
 to develop an audio
 library that uses GStreamer for some special audio format
 conversions.  I'll
 ask him what it would take to build the video capabilities
 as well.  I'm
 going to need to be able to play, pause, position, mute
 audio, change video
 size (full screen or pseudo full screen), and get state
 change events.  Is
 that all possible with GStreamer?   I was
 thinking VLC (or now MPlayer)
 would have those capabilities already built in, but I had
 no idea it would
 be this hard to incorporate them into C#/Mono.
 -- 
 View this message in context: 
 http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2216661.html
 Sent from the Mono - General mailing list archive at
 Nabble.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] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread Christopher David Howie
On 05/14/2010 10:34 AM, Daniel Morgan wrote:
 Personally, I think the banshee project should release their C# 
 bindings to gstreamer and other media systems so others could use it
 in their projects.

The Banshee binding to GStreamer is highly Banshee-specific.  It *could*
theoretically be made more generic, but right now it's not very
practical to re-use them in other projects.

But hey, if you want to take a stab at doing so, check out the C#
backend
http://gitorious.org/banshee/mainline/trees/master/src/Backends/Banshee.GStreamer/Banshee.GStreamer
and the corresponding C glue library
http://gitorious.org/banshee/mainline/trees/master/libbanshee.  Good luck!

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

PGP key:

pub   2048R/CF8338F5 2010-04-14
  Fingerprint: 2B7A B280 8B12 21CC 260A  DF65 6FCE 505A CF83 38F5
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Main never runs, nor does FinishedLaunching

2010-05-14 Thread Ed Scott

This is my first HelloiPhone app.
I did like the instructions and it runs in the simulator but the main and
FinishedLaunching.

What can I check to try to find out why?

Ed,
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Main-never-runs-nor-does-FinishedLaunching-tp2216716p2216716.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread Steve Ricketts

Ah... as I'm busily trying to write a program that incorporates MPlayer, I
checked with the folks that we're building this for and one of the streams
I'm going to need to be able to play is rtmp.  They are also currently using
VNC as their player so I'm guess I'm back to my original question...

How do I go about getting VLC in a Mono application?
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2216922.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Newbie question on basic configuration

2010-05-14 Thread Michael Hutchinson
On Thu, May 13, 2010 at 12:57 PM, Rogers Hellman rog...@semrsys.com wrote:
 That is a good point and I'm not sure of the answer  (too many late night
 hours working on this).

 I have assumed that since when I try to display the bioplugin.axsm page and
 apache then triggers an attempt to run mod-mono-server2, that the apache
 module is doing what it is supposed to.  But,  I'm a newbie and could be
 wrong.

Does the mod-mono-server2 file it's trying to run exist on windows? I
though the windows launch scripts ended with .bat. Maybe setting
MonoServerPath would help.

[Disclaimer: I know ~nothing about mono-mono]

-- 
Michael Hutchinson
http://mjhutchinson.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] ASP.Net MVC 2

2010-05-14 Thread Abe Gillespie
Hey guys,

Just curious when MVC 2 is expected to be supported.  If I create a
project with VS.Net and then copy it and the System.Web.Mvc.dll (v2.0)
to my Mono system (2.6.4) I get the yellow screen of death with:

HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure
that it is spelled correctly.

Thanks.
-Abe
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] WCF client -- unexpected timeout

2010-05-14 Thread jacek

Hi All,

Using wcf client app with mono I experience unexpected timeouts after it
calls a service. It looks like the app does not take into account timeout
settings from the .exe.config file. The same app with the same .exe.config
works fine under Windows.

Here is the exception I get:
--
Exception in async operation: System.TimeoutException: The operation has
timed-out.
  at
System.ServiceModel.Channels.HttpRequestChannel+HttpChannelRequestAsyncResult.WaitEnd
() [0x0] in filename unknown:0
  at System.ServiceModel.Channels.HttpRequestChannel.EndRequest
(IAsyncResult result) [0x0] in filename unknown:0   at
System.ServiceModel.Channels.HttpRequestChannel.Request
(System.ServiceModel.Channels.Message message, TimeSpan timeout) [0x0]
in filename unknown:0
  at System.ServiceModel.ClientRuntimeChannel.Request
(System.ServiceModel.Channels.Message msg, TimeSpan timeout) [0x0] in
filename unknown:0
  at System.ServiceModel.ClientRuntimeChannel.Request
(System.ServiceModel.Description.OperationDescription od, System.Object[]
parameters) [0x0] in filename unknown:0
  at System.ServiceModel.ClientRuntimeChannel.DoProcess
(System.Reflection.MethodBase method, System.String operationName,
System.Object[] parameters) [0x0] in filename unknown:0
  at System.ServiceModel.ClientRuntimeChannel.Process
(System.Reflection.MethodBase method, System.String operationName,
System.Object[] parameters) [0x0] in filename unknown:0
--

And this is excerpt from the config file:
--
  basicHttpBinding
 binding name=BasicHttpBinding_IAgent closeTimeout=00:01:00
 openTimeout=00:01:00 receiveTimeout=00:10:00
sendTimeout=00:10:00
 allowCookies=false bypassProxyOnLocal=false
hostNameComparisonMode=StrongWildcard
 maxBufferSize=65536 maxBufferPoolSize=524288
maxReceivedMessageSize=65536
 messageEncoding=Text textEncoding=utf-8 transferMode=Buffered
 useDefaultWebProxy=true
 readerQuotas maxDepth=32 maxStringContentLength=8192
maxArrayLength=16384
 maxBytesPerRead=4096 maxNameTableCharCount=16384 /
 security mode=None
 transport clientCredentialType=None
proxyCredentialType=None
 realm= /
 message clientCredentialType=UserName
algorithmSuite=Default /
 /security
 /binding
 /basicHttpBinding
--

I use the latest mono 2.6.4.

Any help appreciated.

  Regards,
  Jacek
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/WCF-client-unexpected-timeout-tp2217370p2217370.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] WCF client -- unexpected timeout

2010-05-14 Thread jacek

Hi again,

Just to add that setting 

serviceReference.InnerChannel.OperationTimeout = TimeSpan.FromMinutes(1);

in the code does not help, too.

-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/WCF-client-unexpected-timeout-tp2217370p2217375.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.Net MVC 2

2010-05-14 Thread jmalcolm

MVC2 works with trunk (the next major version after 2.6).  In fact, it is
included.

I have used it for some small projects and it worked well.

One thing to be aware of though is that it is built against the 3.5
libraries and not the 4.0 ones.  This can cause a few hassles.  For example,
using %: something instead of %= HtmlEncode(something) only works when
using the 4.0 profile on Mono but System.Web.Mvc.dll is 3.5.

You can of course edit the Mono code to eliminate the #ifdef that makes
%: 4.0 only.  I did that for one project.   Of course that means that the
app is tied to this custom build of Mono.  Running it under real .NET or
vanilla Mono would break.
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/ASP-Net-MVC-2-tp2217366p2217380.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Newbie question on basic configuration

2010-05-14 Thread Rogers Hellman
Michael:

I like your disclaimer...   I'm in the same boat.
I tracked the executable and ran it under windows, but it had Linux binaries
embedded in it.  (even though it was a .exe file).   I came to the
conclusion that mono wasn't what I thought it was and have found another
solution.

Rogers

On Fri, May 14, 2010 at 7:04 PM, Michael Hutchinson 
m.j.hutchin...@gmail.com wrote:

 On Thu, May 13, 2010 at 12:57 PM, Rogers Hellman rog...@semrsys.com
 wrote:
  That is a good point and I'm not sure of the answer  (too many late night
  hours working on this).
 
  I have assumed that since when I try to display the bioplugin.axsm page
 and
  apache then triggers an attempt to run mod-mono-server2, that the apache
  module is doing what it is supposed to.  But,  I'm a newbie and could be
  wrong.

 Does the mod-mono-server2 file it's trying to run exist on windows? I
 though the windows launch scripts ended with .bat. Maybe setting
 MonoServerPath would help.

 [Disclaimer: I know ~nothing about mono-mono]

 --
 Michael Hutchinson
 http://mjhutchinson.com
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




-- 
Rogers Hellman
Four Corners Medical Software, LLC
www.semrsys.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] WCF client -- unexpected timeout

2010-05-14 Thread Atsushi Eno
Hello,

You wouldn't get solid answer without verifiable code to run, but you
should be able to try trunk version or daily builds instead.

I have added a couple of improvements on the configuration stack after 2.6.

Atsushi Eno

(2010年05月15日 08:21), jacek wrote:
 Hi All,

 Using wcf client app with mono I experience unexpected timeouts after it
 calls a service. It looks like the app does not take into account timeout
 settings from the .exe.config file. The same app with the same .exe.config
 works fine under Windows.

 Here is the exception I get:
 --
 Exception in async operation: System.TimeoutException: The operation has
 timed-out.
   at
 System.ServiceModel.Channels.HttpRequestChannel+HttpChannelRequestAsyncResult.WaitEnd
 () [0x0] in filename unknown:0
   at System.ServiceModel.Channels.HttpRequestChannel.EndRequest
 (IAsyncResult result) [0x0] in filename unknown:0   at
 System.ServiceModel.Channels.HttpRequestChannel.Request
 (System.ServiceModel.Channels.Message message, TimeSpan timeout) [0x0]
 in filename unknown:0
   at System.ServiceModel.ClientRuntimeChannel.Request
 (System.ServiceModel.Channels.Message msg, TimeSpan timeout) [0x0] in
 filename unknown:0
   at System.ServiceModel.ClientRuntimeChannel.Request
 (System.ServiceModel.Description.OperationDescription od, System.Object[]
 parameters) [0x0] in filename unknown:0
   at System.ServiceModel.ClientRuntimeChannel.DoProcess
 (System.Reflection.MethodBase method, System.String operationName,
 System.Object[] parameters) [0x0] in filename unknown:0
   at System.ServiceModel.ClientRuntimeChannel.Process
 (System.Reflection.MethodBase method, System.String operationName,
 System.Object[] parameters) [0x0] in filename unknown:0
 --

 And this is excerpt from the config file:
 --
   basicHttpBinding
  binding name=BasicHttpBinding_IAgent closeTimeout=00:01:00
  openTimeout=00:01:00 receiveTimeout=00:10:00
 sendTimeout=00:10:00
  allowCookies=false bypassProxyOnLocal=false
 hostNameComparisonMode=StrongWildcard
  maxBufferSize=65536 maxBufferPoolSize=524288
 maxReceivedMessageSize=65536
  messageEncoding=Text textEncoding=utf-8 transferMode=Buffered
  useDefaultWebProxy=true
  readerQuotas maxDepth=32 maxStringContentLength=8192
 maxArrayLength=16384
  maxBytesPerRead=4096 maxNameTableCharCount=16384 /
  security mode=None
  transport clientCredentialType=None
 proxyCredentialType=None
  realm= /
  message clientCredentialType=UserName
 algorithmSuite=Default /
  /security
  /binding
  /basicHttpBinding
 --

 I use the latest mono 2.6.4.

 Any help appreciated.

   Regards,
   Jacek
   

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list