Re: [Mono-dev] Interactive C# shell for server monitoring

2009-11-11 Thread Jb Evain
Hey Pablo,

On 11/11/09, pablosantosl...@terra.es pablosantosl...@terra.es wrote:
  Any experience anyone using Interactive C# shell
  (http://www.mono-project.com/CsharpRepl) embedded into a server process
  for monitoring purposes (accessible through a socket maybe?)

It's doable using the attach functionality of Mono:

http://tirania.org/blog/archive/2008/Sep-29.html

-- 
Jb Evain  j...@nurv.fr
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Interactive C# shell for server monitoring

2009-11-11 Thread Miguel de Icaza
Hello,

 Sure, I've seen that.

 My question is if anyone already played with it, introducing it into  
 an
 app and giving a network access to it.

The problem today with CSharp and attach is that it is not integrated  
with the main loop of an application, so it is inherently unsafe.

For Gtk# based applications, since we know that there is a main loop,  
we plug naturally into the main loop, so it is not an issue, but with  
server applications it is anyone's guess what kind of event processing  
exists.

In those cases, it would be best if the specific server application  
provides an explicit interface to get C# source and evaluate it.

Miguel.

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


Re: [Mono-dev] Interactive C# shell for server monitoring

2009-11-11 Thread pablosantosl...@terra.es
Sure, I've seen that.

My question is if anyone already played with it, introducing it into an
app and giving a network access to it.

Jb Evain wrote:
 Hey Pablo,
 
 On 11/11/09, pablosantosl...@terra.es pablosantosl...@terra.es wrote:
  Any experience anyone using Interactive C# shell
  (http://www.mono-project.com/CsharpRepl) embedded into a server process
  for monitoring purposes (accessible through a socket maybe?)
 
 It's doable using the attach functionality of Mono:
 
 http://tirania.org/blog/archive/2008/Sep-29.html
 
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Interactive C# shell for server monitoring

2009-11-11 Thread pablosantosl...@terra.es
Ok, thanks Miguel.

Miguel de Icaza wrote:
 Hello,
 
 Sure, I've seen that.

 My question is if anyone already played with it, introducing it into an
 app and giving a network access to it.
 
 The problem today with CSharp and attach is that it is not integrated
 with the main loop of an application, so it is inherently unsafe.
 
 For Gtk# based applications, since we know that there is a main loop, we
 plug naturally into the main loop, so it is not an issue, but with
 server applications it is anyone's guess what kind of event processing
 exists.
 
 In those cases, it would be best if the specific server application
 provides an explicit interface to get C# source and evaluate it.
 
 Miguel.
 
 
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Interactive C# shell for server monitoring

2009-11-10 Thread pablosantosl...@terra.es
Hi,

Any experience anyone using Interactive C# shell
(http://www.mono-project.com/CsharpRepl) embedded into a server process
for monitoring purposes (accessible through a socket maybe?)

Thanks,

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